Extension:MultiBoilerplate

The MultiBoilerplate extension allows a boilerplate to be selected from a dropdown box located above the edit form. By default this shows only on creation of new pages. When loading a boilerplate, it will completely replace whatever text is already in the edit form. See for more details.

The latest version is 2.1.0, released 2015-05-24. . This version uses the new Extension Registration that comes with MediaWiki 1.25 and so breaks compatibility with older version. No functionality was added.

Bugs and feature requests should be added to the extension's project page on Phabricator.

Main configuration
The main configuration is of the available boilerplates; this is done in one of two ways:   through  in , by filling the $wgMultiBoilerplateOptions array with a list of boilerplate names that correspond to templates, like so: 

 Through system message MediaWiki:Multiboilerplate, which uses the following format:

You can also create headers inside the dropdown in order to separate boilerplates, by adding level 2 headers. For example:  

Additional configuration options

 * : false by default. if set to true, will add to the wiki a page named Special:MultiBoilerplates that shows the currently configured boilerplates. This must be specified before the inclusion of the extension in.
 * : false by default. If true, shows the boilerplates dropdown even on pre-existing pages. The selected boilerplate will completed overwrite the current contents.

MediaWiki compatibility

 * Version 2.1.0 only works MediaWiki 1.25+
 * Version 2.0.0 should work with MediaWiki 1.24+
 * Use 1.8.0 for MW <= 1.22