[pmwiki-users] ImportText and $DiffKeepDays

Patrick R. Michaud pmichaud at pobox.com
Thu Jun 28 08:54:20 CDT 2007


On Thu, Jun 28, 2007 at 09:33:55AM +0200, Christophe David wrote:
> When pages are imported using the ImportText recipe (
> http://www.pmwiki.org/wiki/Cookbook/ImportText ), PmWiki does not
> appear to take in account the $DiffKeepDays variable (
> http://www.pmwiki.org/wiki/PmWiki/EditVariables#DiffKeepDays ): all
> previous revisions are kept in the page, even if older that
> $DiffKeepDays.
> 
> This is annoying as the imported pages keep growing, eating up disk
> space and possibly slowing down further processing.
> 
> Would it be possible to let ImportText behave as a manual edit in this 
> context ?

ImportText uses the exact same code for posting pages as a manual edit,
so it should be honoring $DiffKeepDays already.  

Are you perhaps setting $DiffKeepDays in a per-group or per-page
customization file?  If so, then it may be that importing text is
being triggered from pages that don't have lower settings for $DiffKeepDays.

Pm



More information about the pmwiki-users mailing list