You are here: TWiki> TWiki Web>TWikiVariables>VarREVINFO2 (2007-08-01, 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 - 2007-08-01 - 21:21:41 - KwangErnLiew
 

TWiki

share: Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon
Twiki, Inc.
This site is powered by the TWiki collaboration platform
Ideas, requests, problems regarding TWiki? Send feedback
Copyright © 1999-2010 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.