[pmwiki-users] How to get the rev number from the wiki.d pages ?

Petko Yotov 5ko at 5ko.fr
Sun Feb 22 15:33:45 CST 2009

On Sunday 22 February 2009 20:01:08 ABClf wrote:
> I would like too see every page activity ; then my question is, How to get
> the rev number written in every wiki.d page ?

You could display the total number of revisions of any page by adding a custom 
PageVariable in config.php:

  $FmtPV['$RevCount'] = '$page["rev"]';

and then use in any page {$RevCount} or {OtherPage$RevCount}, or in a pagelist 
template {=$RevCount}.


More information about the pmwiki-users mailing list