[pmwiki-users] what about "purge" actions ?

Christophe David pmwiki at christophedavid.org
Mon May 28 14:42:42 CDT 2007


Typical PmWiki wiki.d directories tend to become full of "deleted"
pages, especially when expirediff is used to do some cleanup.

Wouldn't it be useful to provide "maintenance actions" like

action=PurgeDeletedPages
action=PurgeHTMLcache
action=PurgePageListscache

restricted by default to administrators.

As the pages are marked with a timestamp indicating when their status
changed, "minimal lifetime" variables could be provided too, like

$PurgeDeletedPagesMinimumDays
$PurgeHTMLcacheMinimumDays
$PurgePageListscacheMinimumDays

to specify how old the files must be to be deleted.

Furthermore, these actions could be triggered automatically after some
configurable time so that PmWiki directories would be automatically
cleaned-up up after some time.

Any thoughts ?

Christophe



More information about the pmwiki-users mailing list