Extension:TemplateInfo
From MediaWiki.org
|
Release status: experimental |
|
|---|---|
| Implementation | Tag |
| Description | Defines a tag, <templateinfo>, that templates can use to provide an XML description of themselves |
| Author(s) | Yaron Koren <yaron57@gmail.com> |
| Last Version | 0.1 (November 2009) |
| MediaWiki | 1.16.* or greater |
| License | GPL |
| Download | See here |
| Example | Demo page for extension |
|
check usage (experimental) |
|
Contents |
[edit] Description
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 as part of the Wikipedia Usability Initiative, with the intention of using TemplateInfo in order to provide forms to edit template calls within pages. This extension, and the capability of editing template calls with forms, are still at an experimental stage, and liable to change. You can read more about the overall project here.
[edit] 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:
svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/TemplateInfo/
To view the code online, including version history for each file, you can go here.
[edit] 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:
include_once("$IP/extensions/TemplateInfo/TemplateInfo.php");
[edit] Author
TemplateInfo was written by Yaron Koren, reachable at yaron57 -at- gmail.com.
[edit] Version
TemplateInfo is currently at version 0.1.
[edit] Contributing to the project
[edit] Bugs and feature requests
Send any bug reports and requests to Yaron Koren, at yaron57 -at- gmail.com.
[edit] 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.