Project:PD help/mirroring

Currently the process of has not been implemented. In the interim it's useful to mirror the Help: namespace located at MediaWiki.org. This gives you a functional Help: namespace, but without all the bells and whistles of the full export/import process.

Currently, the help content is incomplete, and the import/export mechanism is still a ways off. However, the English content, at least, covers the basics pretty well. Although there is no special framework for exporting it, it can be copied between wikis by a bot.

Mirroring with
e:

Currently, this script does the folo


 * 1) ;PD header:A generic header; lists where the page was from and supresses the edit section links.
 * 2) ;Languages: A generic footer; created empty, but can be filled in as desired.
 * 3) ;Meta: used to link to pages on meta.
 * 4) Scans through the Help: namespace, copying pages as it goes.  However, some pages are skipped:
 * 5) *redirects
 * 6) *pages with a / in the name (non-English pages)
 * 7) Parses each help page, and copies any templates and images that are used.
 * 8) *This parse is not recursive; it doesn't copy templates or images used by the templates, to prevent generating too much content.

Safely updating pages
The script adds help to each page it imports, and checks it on pages it replaces, as a safety mechanism. It won't overwrite existing pages that are missing this text, to prevent clobbering preexisting pages. This also allows editors to fork that page, simply by removing that category.

The bot will currently refuse to overwrite semi-protected pages, and will not replace existing images. It can be rerun later, to update to newer content.

Limitations
This is an experimental process that copies incomplete content. It isn't perfect or completely automatic. Here are a few known issues:


 * Soft redirects aren't standardized on mediawiki, so the script can't avoid them. There may be a few weird pages because of this.
 * The Admin tip template is broken. Most sites can probably just blank this, so as not to confuse beginners with administrivia (that's a pretty nice feature, IMHO); others may want to manually copy the image and fix the template.

I'd recommend trying this out on a test wiki before using it in production, so you know what to expect before using it in production. You may also want to use a dedicated bot account for this. Although you will get a few red links, you will get a generally useful help namespace.

External link

 * Current