TWiki
>
TWiki Web
>
TWikiVariables
>
VarREVINFO2
(2010-12-29,
TWikiContributor
)
(raw view)
E
dit
A
ttach
#VarREVINFO2 ---+++ REVINFO{"format"} -- formatted revision information of topic * Syntax: =%<nop>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="5"= | Specific revison number. Old RCS format ="1.5"= is also supported. | Latest revision | * Supported variables in format: | *Variable:* | *Unit:* | *Example* | | =$web= | Name of web | Current web | | =$topic= | Topic name | Current topic | | =$rev= | Revison number. Add prefix =r= to get the usual =r5= format | =5= | | =$username= | Login username of revision | =jsmith= | | =$wikiname= | WikiName of revision | =JohnSmith= | | =$wikiusername= | <nop>WikiName with %USERSWEB% web prefix | =%USERSWEB%.JohnSmith= | | =$date= | Revision date. Actual date format defined as {DefaultDateFormat} in [[%SCRIPTURLPATH{"configure"}%][configure]], default =$year-$mo-$day= | =2010-12-31= | | =$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 [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarGMTIME2][GMTIME{"format"}]] | | * Example: =%<nop>REVINFO{"$date - $wikiusername" rev="1.1"}%= returns revision info of first revision * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarGMTIME2][GMTIME{"format"}]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarREVINFO][REVINFO]]
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r5
<
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r5 - 2010-12-29
-
TWikiContributor
TWiki
Log In
TWiki Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
IVOA
PDL1RFC
PhotDM1
Spectral2
SpectralDM2
Know
Main
Sandbox
TWiki
Copyright © 1999-2025 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
.