REVINFO -- revision information of current topic
- Syntax:
%REVINFO% -
%REVINFO%is equivalent to%REVINFO{format="r1.$rev - $date - $wikiusername"}%- Expands to:
r1 - 26 Jun 2011 - 21:39:52 - ProjectContributor
- Expands to:
- Related: REVARG,REVTITLE
REVINFO{"format"} -- formatted revision information of topic
- Syntax:
%REVINFO{"format"}% -
%REVINFO%is equivalent to%REVINFO{format="r$rev - $date - $wikiusername"}%- Expands to:
r1 - 26 Jun 2011 - 21:39:52 - ProjectContributor
- Expands to:
- Supported parameters:
Parameter: Description: Default: "format"Format of revision information, see supported formatting tokens below "r1.$rev - $date - $wikiusername"web="..."Name of web Current web topic="..."Topic name Current topic rev="1.5"Specific revision number Latest revision - Supported formatting tokens:
Token: Unit: Example $webName of web Current web $topicTopic name Current topic $revRevision number. Prefix r1.to get the usualr1.5format5$usernameLogin username of revision jsmith$wikinameWikiName of revision JohnSmith$wikiusernameWikiName with Main web prefix Main.JohnSmith$dateRevision date. Actual date format defined as {DefaultDateFormat} in configure 21 Sep 2006$timeRevision time 23:24:25$isoRevision date in ISO date format 2006-09-22T06:24:25Z$min,$sec, etc.Same date format qualifiers as GMTIME{"format"} - Example, returns revision info of first revision:
%REVINFO{"$date - $wikiusername" rev="1.1"}% - To get the latest revision, even when looking at an older revision:
%REVINFO{"$rev" rev="-1"}% - Related: REVARG,REVTITLE