Extension:CharInsert

CharInsert is an extension that enables the creation of JavaScript links which, when clicked, insert predefined text into the text box.

These links are usually used in MediaWiki:Edittools system message (for an example, see Wikipedia:MediaWiki:Edittools).

Syntax
Use  tags with a space-separated list of characters or tags for which you wish to allow insertion.

You can use + sign inside a tag to define a place to:
 * insert selected text or
 * place cursor if no text was selected.

You have to enclose templates and spaces inside :

Sample output
Note that clicking the links will have no effect since there is no text box.

Installation

 * Download CharInsert.php from the SVN repository and put it into the  directory of your MediaWiki project.
 * Put the following line near the end of your LocalSettings.php file: