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">&lt;<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>&gt;</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">&gt; &gt; On Fri, 15 Jan 2010 20:00:04 +1300, Simon &lt;<a href="mailto:nzskiwi@gmail.com">nzskiwi@gmail.com</a>&gt; wrote:<br>
&gt; &gt; &gt; By keeping diffs by number rather than age, it is easy for the record of<br>
&gt; &gt; &gt; a change to be deliberately lost by simply saving a page the requisite<br>
&gt; &gt; &gt; number of times.<br>
&gt; &gt;<br>
&gt; &gt; Agreed. Conversely, keeping by date means infrequently changed pages<br>
&gt; &gt; loose their history as well.<br>
&gt; &gt;<br>
</div><div class="im">&gt; Well by implication then what we need is a combination of both,<br>
&gt; ie keep changes for at least n days, and keep at least m changes.<br>
<br>
</div>Added. From 2.2.9 we&#39;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>