You are viewing Revision 1 of Discuss_Version_0.30_DevTrack

This page is registered as a special page, however you are viewing a previous revision of the page. As such, the special page function will not be triggered.

One thing I've changed is in DoMaintPurgeOldRevs(). Previously we relied on stat to get the file modification time, and use that to determine when to remove the old revision based on $PurgeArchives. However, along the way it was changed to check the internal ts variable instead. This is all well and good, however, it presents a unique problem. If you have a page that has been unmodified for a year, and a spammer comes along and spams it, assuming your $PurgeArchives was set to 2 weeks, the last good copy of the page will be purged immediately, leaving only the spammed version. By checking the file modification time instead, it will guarantee that you have a previously known good copy for at least $PurgeArchives time, regardless of how old that good copy was.

-- AaronGraves Wed Jul 31 16:29:38 UTC 2013 (69.4.28.21)