On Mon, Jul 26, 2010 at 3:07 PM, Jim Hu jimhu@tamu.edu wrote:
We would like to both cut down on the space used by the revisions table, and change the way we count user participation by compressing revision histories when users do multiple consecutive saves within a single short time.
In maintenance, I see that there are scripts to just delete specific revisions by id from the revisions table. So, we're thinking that we would run a script to delete revisions based on some criteria, and also make an extension that hooks at ArticleSave or ArticleSaveComplete to delete prior revisions by the same user if they are within a specified time period.
Before trying this, I thought I'd ask to see if
- anyone sees potential problems.
- its been done already
http://www.mediawiki.org/wiki/Manual:CompressOld.php http://www.mediawiki.org/wiki/Manual:$wgCompressRevisions