[pmwiki-users] PmWiki 2.2.24 released

Petko Yotov 5ko at 5ko.fr
Tue Feb 15 06:19:39 CST 2011

Hello. PmWiki version 2.2.24 was published today, and is available at :


This version reverts the way existing PageVariables are processed, like 
version 2.2.21 or earlier, but it adds a special variable $authpage which can 
be used in PageVar definitions. $authpage is the same as the $page array, but 
it exists only if the visitor has read permissions. For example, an 
administrator can set to config.php:

  # use protected '@$authpage["csum"]' instead of '@$page["csum"]'
  $FmtPV['$LastModifiedSummary'] = '@$authpage["csum"]'; 

Then, the edit summary metadata will only be available if the user has read 

A pseudo-variable {$$PageTrailDepth} is now available for pagelists based on 
wiki-trails. For example, here are the "depths" (or "levels") of the pages in 
the following trail:

* Page with depth=1
** Page with depth=2
*** Page with depth=3
*** Page with depth=3
** Page with depth=2
*** Page with depth=3
* Page with depth=1

This variable was internally available to the trail functions, but not to the 
pagelist templates, now it is.

Change log     :  http://www.pmwiki.org/wiki/PmWiki/ChangeLog
Release notes  :  http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes
If you upgrade :  http://www.pmwiki.org/wiki/PmWiki/Upgrades

More information about the pmwiki-users mailing list