%REVINFO{"format"}%
Parameter: | Description: | Default: |
---|---|---|
"format" | Format of revision information, see supported variables below | "r$rev - $date - $time - $wikiusername" |
web="..." | Name of web | Current web |
topic="..." | Topic name | Current topic |
rev="5" | Specific revison number. Old RCS format "1.5" is also supported. | Latest revision |
Variable: | Unit: | Example |
---|---|---|
$iso | Revision date in ISO date format | 2006-09-22T06:24:25Z |
$date | Revision date. Actual date format defined as {DefaultDateFormat} in configure, default $year-$mo-$day | 2010-12-31 |
$time | Revision time | 23:24:25 |
$rev | Revison number. Add prefix r to get the usual r5 format | 5 |
$topic | Topic name | Current topic |
$web | Name of web | Current web |
$wikiname | WikiName of revision | JohnSmith |
$username | Login username of revision | jsmith |
$wikiusername | WikiName with Main web prefix | Main.JohnSmith |
$min , $sec , etc. | Same date format qualifiers as GMTIME{"format"} |
%REVINFO{"$date - $wikiusername" rev="1.1"}%
returns revision info of first revision