Extension:Preloader

This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored.

If you are interested in taking on the task of developing and maintaining this extension, you can request repository ownership. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{extension}} infobox.

The Preloader extension allows the creation of boilerplate text which will be inserted into the edit form when creating new pages. Different boilerplate text can be specified for different namespaces.

In addition, a new parser tag, <nopreload> is introduced, which is used to denote sections which should not be preloaded, ever; useful for instructions and advice on the boilerplate pages. This tag has no effect during a regular parse operation.

YDone - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

Configuration of the boilerplate sources is done via the $wgPreloaderSource configuration variable, which takes the following format:

$wgPreloaderSource[NAMESPACE]=PAGETITLE;

For instance,

$wgPreloaderSource[NS_MAIN]='Template:Boilerplate';

$wgPreloaderSource[NS_HELP]='Template:Boilerplate help';

dictates that the boilerplate text for pages in the main namespace should be loaded from Template:Boilerplate, while pages in the Help namespace will be preloaded from Template:Boilerplate_help. Other namespaces have no boilerplate configured.