[pmwiki-users] Is there a way to display the number of revisions for a page?

Noel Llopis nll_pub at convexhull.com
Sun Jan 30 10:18:46 CST 2005


On Sunday 30 January 2005 02:29, Patrick R. Michaud wrote:
>
> Markup('{$Rev}', '{$var}',
>   '/\\{\\$Rev\\}/e',
>   "\$GLOBALS['PCache'][\$pagename]['rev']+0");
>
> I just changed the markup's name and its position to be consistent
> with the other {$var} substitutions.

I'll be happy to add it to the Cookbook, but it's not working for me. If I 
add the Markup as described there to config.php, and then I just place 
{$Rev} in my template, I just get {$Rev}, not the number of revisions.

Any idea what I might be doing wrong?
Thanks.


--Noel
Games from Within
http://www.gamesfromwithin.com



More information about the pmwiki-users mailing list