Jump to content

Extension:TemplateWizard

From mediawiki.org
MediaWiki extensions manual
TemplateWizard
Release status: stable
Implementation User interface
Description Adds a popup dialog box for adding template code to wikitext.
Author(s) samwilsontalk
Latest version 0.1.0
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki >= 1.43
Database changes No
License MIT License
Download
README
Help Help:Extension:TemplateWizard/en
Example Available on Wikimedia wikis (including this one).
Quarterly downloads 126 (Ranked 47th)
Public wikis using 907 (Ranked 293rd)
Translate the TemplateWizard extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The TemplateWizard extension adds a popup dialog box for adding template code to wikitext. End-user help for this extension is located at Help:Extension:TemplateWizard .

Installation

  • First install the TemplateData and WikiEditor extensions, and optionally CirrusSearch .
  • Download and move the extracted TemplateWizard folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateWizard
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'TemplateWizard' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage notes

TemplateWizard provides a visual dialog that helps editors insert templates in a guided manner. In order to do that, it uses the TemplateData information that can be provided with templates. It does work with templates that do not have TemplateData, but provides a much better experience if TemplateData is used. For this reason, it's a good idea to make sure your templates provide TemplateData. For more information on how to add TemplateData to your templates, please see this guide.

If the Extension:CirrusSearch is installed, then the template search form will display improved search results. Without that extension, template search is done as an exact prefix search on the template title.

See also