[Pmwiki-users] Version Cleaner

Patrick R. Michaud pmichaud
Thu Feb 5 11:37:22 CST 2004


On Thu, Feb 05, 2004 at 03:20:09PM +0100, Christian Koch wrote:
> Hello,
> 
> Some PmWiki pages in our Wiki System are having up to 100 versions after
> 2 month of work. Is there any function where we can reduce the number of
> versions in a PmWiki page? 

You can set the variable $DiffKeepDays to be the maximum number of days
to hold revisions.  For example, setting $DiffKeepDays=15 in local.php
will cause all page revisions older than 15 days to be discarded when
a page is edited.

You can also take a look at 
   http://www.pmichaud.com/wiki/Cookbook/ExpireDiff
which provides a way to remove all of the page history from a page.

Pm




More information about the pmwiki-users mailing list