[pmwiki-users] Question and probably request : limit page history by number better than by age

ABClf languefrancaise at gmail.com
Sun Jan 17 04:13:58 CST 2010


Cool indeed ! This is fine.
Thank you Petko :)

2010/1/17 Simon <nzskiwi at gmail.com>

> Brilliant, and thanks. It will help here on PmWiki, and on my websites.
> Simon
>
> 2010/1/17 Petko Yotov <5ko at 5ko.fr>
>
> On Saturday 16 January 2010 07:16:45, Simon wrote :
>> > > On Fri, 15 Jan 2010 20:00:04 +1300, Simon <nzskiwi at gmail.com> wrote:
>> > > > By keeping diffs by number rather than age, it is easy for the
>> record of
>> > > > a change to be deliberately lost by simply saving a page the
>> requisite
>> > > > number of times.
>> > >
>> > > Agreed. Conversely, keeping by date means infrequently changed pages
>> > > loose their history as well.
>> > >
>> > Well by implication then what we need is a combination of both,
>> > ie keep changes for at least n days, and keep at least m changes.
>>
>> Added. From 2.2.9 we'll have the $DiffKeepNum variable which defaults to
>> 20
>> revisions kept, even if some of them are older than the age limit.
>>
>> Note that this is not exactly what Gilles requested (keep max 25
>> revisions,
>> even if some are younger than the age limit), but it can emulate this by
>> setting $DiffKeepNum to 25 and a small number like 2 for $DiffKeepDays.
>>
>> Thanks,
>> Petko
>>
>
>
>
> --
> ____
> http://kiwiwiki.co.nz
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>


-- 
---------------------------------------
| A | de la langue française
| B | http://www.languefrancaise.net/
| C | languefrancaise at gmail.com
---------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20100117/3d89c338/attachment.html 


More information about the pmwiki-users mailing list