mediawiki-extensions-MsInsert

Github mirror of MediaWiki extension MsInsert - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing

Stars
3

MsInsert

The MsInsert extension adds a dropdown menu to the edit toolbar, that allows you to insert into the textarea the content of any wiki page listed in the dropdown menu.

Installation

To install MsInsert, add the following to your LocalSettings.php:

wfLoadExtension( 'MsInsert' );

Configuration

To add a page to the dropdown menu, add it to the $wgTemplates array in your LocalSettings.php, like so:

$wgTemplates = [ 'Template:Test', 'Main Page', 'Talk:Main Page' ];

If the page does not exist yet, then it will not be added to the dropdown menu, even if it's listed in the $wgTemplates array. By default, the array is empty.

Credits

Related Projects