Brilliant, and thanks. It will help here on PmWiki, and on my websites.<div>Simon<br><br><div class="gmail_quote">2010/1/17 Petko Yotov <span dir="ltr"><<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Saturday 16 January 2010 07:16:45, Simon wrote :<br>
<div class="im">> > On Fri, 15 Jan 2010 20:00:04 +1300, Simon <<a href="mailto:nzskiwi@gmail.com">nzskiwi@gmail.com</a>> wrote:<br>
> > > By keeping diffs by number rather than age, it is easy for the record of<br>
> > > a change to be deliberately lost by simply saving a page the requisite<br>
> > > number of times.<br>
> ><br>
> > Agreed. Conversely, keeping by date means infrequently changed pages<br>
> > loose their history as well.<br>
> ><br>
</div><div class="im">> Well by implication then what we need is a combination of both,<br>
> ie keep changes for at least n days, and keep at least m changes.<br>
<br>
</div>Added. From 2.2.9 we'll have the $DiffKeepNum variable which defaults to 20<br>
revisions kept, even if some of them are older than the age limit.<br>
<br>
Note that this is not exactly what Gilles requested (keep max 25 revisions,<br>
even if some are younger than the age limit), but it can emulate this by<br>
setting $DiffKeepNum to 25 and a small number like 2 for $DiffKeepDays.<br>
<br>
Thanks,<br>
<font color="#888888">Petko<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a><br>
</div>