User:Barre/MediaWiki/Extensions: Difference between revisions
From KitwarePublic
< User:Barre | MediaWiki
Jump to navigationJump to search
(Extensions stuff) |
(Extract the doc straight from the source) |
||
Line 5: | Line 5: | ||
So here it goes... | So here it goes... | ||
* <tt>[[User:Barre/Extensions/kw_include_file|kw_include_file]]</tt><br><kw_include_file>url=http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/scripts/media-wiki-extensions/kwIncludeFile.php?content-type=text%2Fplain&root=kwGridWeb|pre=0|collapse_par=1|preg_match=/\/\*\s*=*Description=*\s*(.*?)\n\n/sm</kw_include_file> | |||
===Resources=== | |||
<kw_include_file>http:// | * [http://wikipedia.sourceforge.net/docs/html MediaWiki generated documentation] | ||
* [http://meta.wikimedia.org/wiki/Help:Contents#For_MediaWiki_hackers Help For Mediawiki Hackers] | |||
.. | * [http://meta.wikimedia.org/wiki/Database_layout Database Layout] and [http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/docs/schema.doc?view=markup Schema] | ||
* [http://wise-nano.org/w/Programming_notes Programming notes] (Chris Phoenix, CRN) | |||
* [http://mail.wikimedia.org/ Wikimedia mailing lists] | |||
<!-- | |||
===<tt>kw_article_time_stamp</tt>=== | ===<tt>kw_article_time_stamp</tt>=== | ||
This extension allows you to dynamically include the time stamp of a Wiki article, i.e. its last modification date. Note that the built-in page-caching feature may lead to incorrect results (so I've heard). The source code can be browsed [http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/scripts/media-wiki-extensions/kwArticleTimeStamp.php?content-type=text%2Fplain&root=kwGridWeb here]. The following example includes the time stamp of the current page and the [[kwGrid:Welcome|Welcome]] page: | This extension allows you to dynamically include the time stamp of a Wiki article, i.e. its last modification date. Note that the built-in page-caching feature may lead to incorrect results (so I've heard). The source code can be browsed [http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/scripts/media-wiki-extensions/kwArticleTimeStamp.php?content-type=text%2Fplain&root=kwGridWeb here]. The following example includes the time stamp of the current page and the [[kwGrid:Welcome|Welcome]] page: | ||
Line 22: | Line 24: | ||
* [[kwGrid:Editing_Help]]: <kw_article_time_stamp>kwGrid:Editing Help</kw_article_time_stamp> | * [[kwGrid:Editing_Help]]: <kw_article_time_stamp>kwGrid:Editing Help</kw_article_time_stamp> | ||
* [[kwGrid:Welcome]]: <kw_article_time_stamp>kwGrid:Welcome</kw_article_time_stamp> | * [[kwGrid:Welcome]]: <kw_article_time_stamp>kwGrid:Welcome</kw_article_time_stamp> | ||
--> | |||
Revision as of 19:30, 18 February 2005
Extensions
MediaWiki, the software that runs this Wiki site, allows developers to write their own extensions to the Wiki markup. An extension defines an HTML/XML-style tag which can be used in the Wiki editor like any other markup. If you want to write your own extensions, check those resources.
So here it goes...
- kw_include_file
<kw_include_file>url=http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/scripts/media-wiki-extensions/kwIncludeFile.php?content-type=text%2Fplain&root=kwGridWeb%7Cpre=0%7Ccollapse_par=1%7Cpreg_match=/\/\*\s*=*Description=*\s*(.*?)\n\n/sm</kw_include_file>
Resources
- MediaWiki generated documentation
- Help For Mediawiki Hackers
- Database Layout and Schema
- Programming notes (Chris Phoenix, CRN)
- Wikimedia mailing lists