We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> TWiki Web>TWikiVariables>VarREVINFO2 (01 Aug 2007, KwangErnLiew)
Tags:
create new tag
, view all tags

REVINFO{"format"} -- formatted revision information of topic

  • Syntax: %REVINFO{"format"}%
  • Supported parameters:
Parameter: Description: Default:
"format" Format of revision information, see supported variables below "r1.$rev - $date - $wikiusername"
web="..." Name of web Current web
topic="..." Topic name Current topic
rev="1.5" Specific revison number Latest revision
  • Supported variables in format:
Variable: Unit: Example
$web Name of web Current web
$topic Topic name Current topic
$rev Revison number. Prefix r1. to get the usual r1.5 format 5
$date Revision date 11 Jul 2004
$time Revision time 23:24:25
$comment Comment Unknown
$username Login username of revision jsmith
$wikiname WikiName of revision JohnSmith
$wikiusername WikiName with Main web prefix Main.JohnSmith
  • Additional fine grain variables to replace $time and $date are $sec, $min, $hou, $day, $wday, $dow, $week, $mo, $ye, $epoch, $tz
  • Example: %REVINFO{"$date - $wikiusername" rev="1.1"}% returns revision info of first revision
  • Related: REVINFO
Topic revision: r1 - 01 Aug 2007 - 21:21:41 - KwangErnLiew
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback