Difference: VarREVINFO2 (1 vs. 3)

Revision 322 Sep 2006 - Main.TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"
Deleted:
<
<
 

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

  • Syntax: %REVINFO{"format"}%
  • Supported parameters:
Line: 17 to 16
 
$rev Revison number. Prefix r1. to get the usual r1.5 format 5
$username Login username of revision jsmith
$wikiname WikiName of revision JohnSmith
Changed:
<
<
$wikiusername WikiName with Main web prefix Main.JohnSmith
$date Revision date 21 Sep 2006
>
>
$wikiusername WikiName with Main web prefix Main.JohnSmith
$date Revision date. Actual date format defined as {DefaultDateFormat} in configure 21 Sep 2006
 
$time Revision time 23:24:25
$iso Revision date in ISO date format 2006-09-22T06:24:25Z
Changed:
<
<
$min, $sec, etc. Same date format qualifiers as GMTIME{"format"}  
>
>
$min, $sec, etc. Same date format qualifiers as GMTIME{"format"}  
 
  • Example: %REVINFO{"$date - $wikiusername" rev="1.1"}% returns revision info of first revision
Changed:
<
<
>
>

Revision 222 Sep 2006 - Main.TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"
Line: 15 to 15
 
$web Name of web Current web
$topic Topic name Current topic
$rev Revison number. Prefix r1. to get the usual r1.5 format 5
Deleted:
<
<
$date Revision date 11 Jul 2004
$time Revision time 23:24:25
 
$username Login username of revision jsmith
$wikiname WikiName of revision JohnSmith
$wikiusername WikiName with Main web prefix Main.JohnSmith
Added:
>
>
$date Revision date 21 Sep 2006
$time Revision time 23:24:25
$iso Revision date in ISO date format 2006-09-22T06:24:25Z
$min, $sec, etc. Same date format qualifiers as GMTIME{"format"}  
 
  • Example: %REVINFO{"$date - $wikiusername" rev="1.1"}% returns revision info of first revision
Changed:
<
<
>
>

Revision 127 Mar 2005 - Main.TWikiContributor

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="TWikiVariables"

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

  • Syntax: %REVINFO{"format"}%
  • Supported parameters:
    Parameter:
    <-- -->
    Sorted ascending
    Description: Default:
    "format" Format of revision information, see supported variables below "r1.$rev - $date - $wikiusername"
    rev="1.5" Specific revison number Latest revision
    topic="..." Topic name Current topic
    web="..." Name of web Current web
  • 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
    $username Login username of revision jsmith
    $wikiname WikiName of revision JohnSmith
    $wikiusername WikiName with Main web prefix Main.JohnSmith
  • Example: %REVINFO{"$date - $wikiusername" rev="1.1"}% returns revision info of first revision
  • Related: REVINFO
 
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
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.VarREVINFO2