---+ REVINFO -- revision information of current topic =%<nop>REVINFO%= is equivalent to =%<nop>REVINFO{format="r1.$rev - $date - $wikiusername"}%= ---++ Examples * =%<nop>REVINFO%= expands to =%REVINFO%= * =%<nop>REVINFO{"$n * $topic: $date"}%= expands to %REVINFO{"$n * $topic: $date"}% ---++ Parameters %TABLE{sort="off"}% | *Parameter* | *Description* | *Default* | | ="format"= | Format of revision information, see supported formatting tokens below | ="r$rev - $date - $time - $wikiusername"= | | =web= | Name of web | Current web | | =topic= | Topic name | Current topic | | =rev= | Specific revision number | Latest revision | Supported formatting tokens: %TABLE{sort="off"}% | *Token* | *Unit* | | =$web= | Name of web | | =$topic= | Topic name | | =$rev= | Revision number | | =$username= | Login username of revision | | =$wikiname= | WikiName of revision | | =$wikiusername= | <nop>WikiName with %USERSWEB% web prefix | | =$date= | Revision date. Actual date format defined as {DefaultDateFormat} in [[%SCRIPTURLPATH{"configure"}%][configure]] | | =$time= | Revision time | | =$iso= | Revision date in ISO date format | | =$min=, =$sec=, etc. | Same date format qualifiers as [[VarGMTIME][GMTIME{"format"}]] | ---++ Examples * <verbatim class="tml">%REVINFO{"$date - $wikiusername" rev="43"}%</verbatim> * To get the latest revision, even when looking at an older revision: <verbatim class="tml">%REVINFO{"$rev" rev="-1"}%</verbatim> %STOPINCLUDE% ---++ Related [[VarREVARG][REVARG]],[[VarREVTITLE][REVTITLE]]
This topic: System
>
Category
>
UserDocumentationCategory
>
Macros
>
VarREVINFO
Topic revision:
15 Mar 2026,
UnknownUser
(raw view)
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback