Extension:TemplateInfo

TemplateInfo is an extension to MediaWiki that defines a tag,, 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.

Code and download
You can download the code via SVN from the MediaWiki source code repository, at http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/TemplateInfo/. From a command line, you can call the following:

To view the code online, including version history for each file, you can go here.

Installation
After you've obtained a 'TemplateInfo' directory, place this directory within the main MediaWiki 'extensions' directory. Then, in the file 'LocalSettings.php' in the main MediaWiki directory, add the following line:

Author
TemplateInfo was written by Yaron Koren and Roan Kattouw, and based on planning work also done by Trevor Parscal and Nimish Gautam. For any questions or comments, please contact Yaron, at yaron57@gmail.com.

Version
TemplateInfo is currently at version 0.3.1.

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.