This extension was superseded by Extension:TemplateData
Release status: experimental
|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)|
|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.
- Browse tags
- Select the tag
- Click "snapshot"
- 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).
- Browse branches
- Select a branch name
- Click "Continue"
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
- Download and place the file(s) in a directory called
- Add the following code at the bottom of your LocalSettings.php:
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
<templateinfo> <group id="main"> <param id="author"> <label> <msg language="en">Author</msg> ... </label> <description> <msg language="en">The creator of this image; preferably a link to a user page</msg> ... </description> </param> <param id="license"> <label> <msg language="en">License</msg> ... </label> <description> <msg language="en">The license under which this image will be published</msg> ... </description> <options> <option name="CC-by"> <msg language="en">Creative Commons Attribution</msg> ... </option> <option name="CC-by-sa"> <msg language="en">Creative Commons Attribution-Share Alike</msg> ... </option> </options> </param> </group> </templateinfo>
Contributing to the project
Bugs and feature requests
Send any bug reports and requests to Yaron Koren, at yaron57 -at- gmail.com.
Contributing patches to the project
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.