Kzinser517
Joined 5 October 2009
Latest comment: 15 years ago by Chzz in topic Cleanup help
Cleanup help
editIs there a way to create one of those "This page needs to be Cleaned up" things? I know that there is a specific code for wikipedia, but I am working with wikimedia, a site that makes a wikipedia like website. How can I make a clean up this page box and code?
- You can see the code used by {{cleanup}} in template:cleanup. Unfortunately, it does use other templates, so just copying it to another Wiki would not work. The gist of it is this;
<table class="plainlinks ombox ombox-style" style=""> <tr> <td class="mbox-image"> [[Image:Imbox style.png | 40x40px ]]</td> <td class="mbox-text" style=""> This article '''may require [[Wikipedia:cleanup|cleanup]] to meet Wikipedia's [[Wikipedia:Manual of Style|quality standards]].''' Please [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{#if:{{NAMESPACE}}|{{NAMESPACE}} page|article}}}}}] if you can. </td> </tr> </table>
- The above code should work on pretty much any wiki - although the CSS might not have the classes "ombox" and/or "mbox", so it might need tweaking there. Of course, you'd need image:Imbox style.png too - which is OK, it's a GFDL picture. And of course you'll need to link to appropriate pages, instead of to Wikipedia:cleanup and Wikipedia:Manual of Style.
- I just pasted that code into the page User:Chzz/test-cleanup, and consequently, if I put here, below,
{{User:Chzz/test-cleanup}}
, it'll look like this;
This article may require cleanup to meet Wikipedia's quality standards. Please improve this User talk page if you can. |
- I've removed the complicated stuff from that, such as e.g. putting it into a category, and the stuff that makes it complain if it's not used in mainspace (ie on an article).
- Hopefully this will point you in the right direction; if you put code like that into the template space of another wiki, as template:cleanup, and then on that wiki just put {{cleanup}}, it should do the trick.
- To be honest, the question goes somewhat beyond the scope of 'help with editing the English Wikipedia' - but I hope this helps. Cheers, Chzz ► 17:59, 27 October 2009 (UTC)