MediaWiki extensions manual
OOjs UI icon advanced.svg
Release status: experimental
Implementation Tag , API
Description Defines a tag, <templateinfo>, that templates can use to provide an XML description of themselves
Author(s) Yaron Koren, Roan Kattouw
Latest version 0.3.1 (July 2010)
MediaWiki 1.16+
License GPL
Example Demo page for extension
Translate the TemplateInfo extension if it is available at translatewiki.net
Check usage and version matrix.

TemplateInfo is an extension to MediaWiki that defines a tag, <templateinfo>, that templates can use to provide an XML description of themselves. This extension was developed in 2010 as part of the Wikipedia Usability Initiative, with the intention of using TemplateInfo in order to provide forms to edit template calls within pages. You can read more about the overall project here.

TemplateInfo was created to support a user interface in which each template call within an edit pages is replaced by a small image which, when clicked on, brings up a popup form in which users can edit the template call's rows. Unfortunately, usability testing showed that this interface was confusing to users who wanted to edit that template-based data. Therefore, for the time being the overall project, and the TemplateInfo extension, have been abandoned. However, there's no reason why TemplateInfo can't be used for future template-editing projects.


The extension can be retrieved directly from Git [?]:

  • Browse code
  • Some extensions have tags for stable releases.
  • Each branch is associated with a past MediaWiki release. There is also a "master" branch containing the latest alpha version (might require an alpha version of MediaWiki).

Extract the snapshot and place it in the extensions/TemplateInfo/ directory of your MediaWiki installation.

If you are familiar with git and have shell access to your server, you can also obtain the extension as follows:

cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateInfo.git


  • Download and place the file(s) in a directory called TemplateInfo in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/TemplateInfo/TemplateInfo.php";
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


  <group id="main">
    <param id="author">
        <msg language="en">Author</msg>
        <msg language="en">The creator of this image; preferably a link to a user page</msg>
    <param id="license">
        <msg language="en">License</msg>
        <msg language="en">The license under which this image will be published</msg>
        <option name="CC-by">
          <msg language="en">Creative Commons Attribution</msg>
        <option name="CC-by-sa">
          <msg language="en">Creative Commons Attribution-Share Alike</msg>


TemplateInfo was written by Yaron Koren and Roan Kattouw, and based on planning work also done by Trevor Parscal and Nimish Gautam.

Contributing to the projectEdit

Bugs and feature requestsEdit

Send any bug reports and requests to Yaron Koren, at yaron57 -at- gmail.com.

Contributing patches to the projectEdit

If you found some bug and fixed it, or if you wrote code for a new feature, please create a patch by going to the "TemplateInfo" directory, and typing:

svn diff > descriptivename.patch

Then send this patch, with a description, to Yaron Koren.