[Pmwiki-users] Version Cleaner

Jonathan Scott Duff duff
Thu Feb 5 07:26:49 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? Perhaps the function WritePage could check
> the number of version against a setting variable maxversions and against
> another variable maxage. If countversions is greater than maxversions
> and the versions are older than maxage (both must be true) the versions
> will be deleted. Another possibility is an cron job that is doing the
> same after the backup job.

There's a variable called $DiffKeepDays that you can set in your
local.php to control this.

-Scott
-- 
Jonathan Scott Duff
duff at pobox.com



More information about the pmwiki-users mailing list