Extension:TemplateWizard - MediaWiki
Jump to content
From mediawiki.org
Translate this page
Languages:
Bahasa Indonesia
Bahasa Melayu
Türkçe
magyar
polski
português
suomi
čeština
русский
فارسی
ਪੰਜਾਬੀ
ไทย
中文
MediaWiki extensions manual
TemplateWizard
Release status:
stable
Implementation
User interface
Description
Adds a popup dialog box for adding template code to wikitext.
Author(s)
samwilson
talk
Latest version
0.1.0
Compatibility policy
Snapshots releases along with MediaWiki. Master is not backward compatible.
Database changes
No
Hooks used
EditPage::showEditForm:initial
ResourceLoaderGetConfigVars
Licence
MIT License
Download extension
Git
Browse repository
GitHub
Gerrit code review
Git commit log
Download source tarball
README
Help
Help:Extension:TemplateWizard
Example
Available on Wikimedia wikis (including this one).
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
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
Add the following code at the bottom of your
LocalSettings.php
file:
wfLoadExtension
'TemplateWizard'
);
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
Help:Extension:TemplateWizard
– end-user help for this extension.
Extension:TemplateData
– the extension that provides the information about templates.
Extension:WikiEditor
– the extension that provides the editing toolbar.
This extension is being used on one or more
Wikimedia projects
. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's
CommonSettings.php
and
InitialiseSettings.php
configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's
Special:Version
page.
This extension is included in the following wiki farms/hosts and/or packages:
Canasta
Miraheze
MyWikis
ProWiki
Telepedia
Retrieved from "
Categories
Stable extensions
User interface extensions
EditPage::showEditForm:initial extensions
ResourceLoaderGetConfigVars extensions
MIT licensed extensions
Extensions in Wikimedia version control
All extensions
Extensions used on Wikimedia
Extensions included in Canasta
Extensions included in Miraheze
Extensions included in MyWikis
Extensions included in ProWiki
Extensions included in Telepedia
Template extensions
Hidden category:
Extensions with release branches compatibility policy
Extension
TemplateWizard
Add topic
US