Extension:Boilerplatefactory

The Boilerplatefactory extension allows to select different pages as a boilerplate. You can choose from specified categories in an extra Special pages bevor editing new pages.

Im using
 * API categorymembers to get the categorymembers
 * Manual:Hooks/EditFormPreloadText to handle them to the new page
 * but not as full text, only via Template {{subst:

liability

 * using not the API to get the categorymembers (but I don't find a useful Hook)
 * using POST instead of GET
 * Headerencoding &lt;boilerplatefactory&gt;

Nice to have

 * parser tag,  like in Extension:Preloader
 * not writing all categories into LocalSettings.php, better using one category (eg default ) including all other categories.
 * sorting categories

Requirements
The Preloader extension requires MediaWiki 1.7.0 or later.

Installation

 * 1) Download all extension files from  and place them in a Boilerplatefactory directory within your MediaWiki extensions directory
 * 2) Edit LocalSettings.php and add the line

Installation can be verified through the Special:Version page.

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

For instance,

dictates that these categories are selectable as boilerplate text for pages.

Provides 'optionally a default Pagename:



Skin
You can use css  (dammed, need some regex to remove :)