User:Barre/MediaWiki/Extensions: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(kw_site_map doc)
m (add extension doc)
Line 4: Line 4:


* <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>
* <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>
* <tt>[[User:Barre/Extensions/kw_site_map|kw_site_map]]</tt><br><kw_include_file>url=http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/scripts/media-wiki-extensions/kwSiteMap.php?content-type=text%2Fplain&root=kwGridWeb|pre=0|collapse_par=1|preg_match=/\/\*\s*=*Description=*\s*(.*?)\n\n/sm</kw_include_file>
* <tt>[[User:Barre/Extensions/kw_site_map|kw_site_map]]</tt><br><kw_include_file>url=http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/scripts/media-wiki-extensions/kwSiteMap.php?content-type=text%2Fplain&root=kwGridWeb|pre=0|collapse_par=1|preg_match=/\/\*\s*=*Description=*\s*(.*?)\n\n/sm</kw_include_file>
* <tt>[[User:Barre/Extensions/kw_article_time_stamp|kw_article_time_stamp]]</tt><br><kw_include_file>url=http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/scripts/media-wiki-extensions/kwArticleTimeStamp.php?content-type=text%2Fplain&root=kwGridWeb|pre=0|collapse_par=1|preg_match=/\/\*\s*=*Description=*\s*(.*?)\n\n/sm</kw_include_file>


===Resources===
===Resources===
Line 13: Line 13:
* [http://wise-nano.org/w/Programming_notes Programming notes] (Chris Phoenix, CRN)
* [http://wise-nano.org/w/Programming_notes Programming notes] (Chris Phoenix, CRN)
* [http://mail.wikimedia.org/ Wikimedia mailing lists]
* [http://mail.wikimedia.org/ Wikimedia mailing lists]
<!--
===<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:
<pre>
* [[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>
</pre>
...is rendered as:
* [[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>
-->

Revision as of 23:03, 18 February 2005