User:Barre/MediaWiki/Extensions/kw article time stamp: Difference between revisions
From KitwarePublic
< User:Barre | MediaWiki | Extensions
Jump to navigationJump to search
(add extension doc) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{User:Barre/Template/Header}} | |||
<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|wiki_markup=1|collapse_par=1|preg_match=/.*\/\*\s*(==.*?)^\*\//sm</kw_include_file> | <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|wiki_markup=1|collapse_par=1|preg_match=/.*\/\*\s*(==.*?)^\*\//sm</kw_include_file> | ||
Line 5: | Line 6: | ||
The following example includes the time stamp of the current page and the [[Main_Page|Main]] page: | The following example includes the time stamp of the current page and the [[Main_Page|Main]] page: | ||
<pre> | <pre> | ||
* [[User:Barre/Extensions/kw_article_time_stamp]]: <kw_article_time_stamp>title=User:Barre/Extensions/kw_article_time_stamp</kw_article_time_stamp> | * [[User:Barre/MediaWiki/Extensions/kw_article_time_stamp]]: <kw_article_time_stamp>title=User:Barre/MediaWiki/Extensions/kw_article_time_stamp</kw_article_time_stamp> | ||
* [[Main_Page]]: <kw_article_time_stamp>title=Main_Page</kw_article_time_stamp> | * [[Main_Page]]: <kw_article_time_stamp>title=Main_Page</kw_article_time_stamp> | ||
</pre> | </pre> | ||
...is rendered as: | ...is rendered as: | ||
* [[User:Barre/Extensions/kw_article_time_stamp]]: <kw_article_time_stamp>title=User:Barre/Extensions/kw_article_time_stamp</kw_article_time_stamp> | * [[User:Barre/MediaWiki/Extensions/kw_article_time_stamp]]: <kw_article_time_stamp>title=User:Barre/MediaWiki/Extensions/kw_article_time_stamp</kw_article_time_stamp> | ||
* [[Main_Page]]: <kw_article_time_stamp>title=Main_Page</kw_article_time_stamp> | * [[Main_Page]]: <kw_article_time_stamp>title=Main_Page</kw_article_time_stamp> |
Latest revision as of 18:26, 9 March 2005
<kw_bread_crumbs>prefix=» |small=1|bgcolor=F9F9F9|trim_prefix=User:|on_top_hack=1</kw_bread_crumbs> <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%7Cpre=0%7Cwiki_markup=1%7Ccollapse_par=1%7Cpreg_match=/.*\/\*\s*(==.*?)^\*\//sm</kw_include_file>
Examples
The following example includes the time stamp of the current page and the Main page:
* [[User:Barre/MediaWiki/Extensions/kw_article_time_stamp]]: <kw_article_time_stamp>title=User:Barre/MediaWiki/Extensions/kw_article_time_stamp</kw_article_time_stamp> * [[Main_Page]]: <kw_article_time_stamp>title=Main_Page</kw_article_time_stamp>
...is rendered as:
- User:Barre/MediaWiki/Extensions/kw_article_time_stamp: <kw_article_time_stamp>title=User:Barre/MediaWiki/Extensions/kw_article_time_stamp</kw_article_time_stamp>
- Main_Page: <kw_article_time_stamp>title=Main_Page</kw_article_time_stamp>