-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item11383: Document REVARG and REVTITLE
Also fix up documentation for REVINFO - had cut/paste errors from GMTIME macro. git-svn-id: http://svn.foswiki.org/trunk@14233 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
- Loading branch information
GeorgeClark
authored and
GeorgeClark
committed
Mar 7, 2012
1 parent
f7748da
commit b4aaf0d
Showing
4 changed files
with
24 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1331139711" format="1.1" version="1"}% | ||
%META:TOPICPARENT{name="Macros"}% | ||
#VarREVARG | ||
---+++ REVARG -- =&rev=n= URL revision parameter of current topic | ||
* Syntax: =%<nop>REVARG%= | ||
* =%<nop>REVARG%= If a topic revision is requested in the URL, it returns the revision of the current topic suitable for concatenation to the view query parameters. Otherwise returns an empty string. | ||
* Expands to: _(simulated)_ =&rev=3= _(actual)_ <code>%REVARG%</code> | ||
* Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarREVINFO][REVINFO]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarREVTITLE][REVTITLE]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1331139711" format="1.1" version="1"}% | ||
%META:TOPICPARENT{name="Macros"}% | ||
#VarREVTITLE | ||
---+++ REVTITLE -- =(r1)= The requested revision as displayed in topic breadcrumbs | ||
* Syntax: =%<nop>REVTITLE%= | ||
* =%<nop>REVTITLE%= If a topic revision is requested in the URL, it returns the printable revision of the current topic revision. Otherwise returns an empty string. | ||
* Expands to: _(simulated)_ =(r3)= _(actual)_ <code>%REVTITLE%</code> | ||
* Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarREVINFO][REVINFO]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarREVARG][REVARG]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters