Am 15.01.2012 11:04, schrieb Leonard Wallentin:
Hello, I have a wiki where bots are uploading new versions of local file once in a while, slowly making the file archive bigger and bigger. Has anyone seen a maintenance script (or is there a simple way) to remove all old verisons of files? The old versions are of no use to the end users, and there are no licenses that require me to keep them (normal users use files from Commons), so they are really just a waste of space. (Here is what it might look like: http://xn--ssongsmat-v2a.nu/ssm/Fil:Export,_Pumpkins,_squash_and_gourds,_200... ) Regards,Leo Wallentin Leonard Wallentin leo_wallentin@hotmail.com +46 (0)735-933 543http://s%C3%A4songsmat.nu
I used successfully https://www.mediawiki.org/wiki/Extension:SpecialDeleteOldRevisions2 for many years with MediaWiki 1.15.1
Thank you, but as far as I can understand SpecialDeleteOldRevisions2 does *not* delete archived files, but old page revisions? (I have used it for that purpose myself once or twice.) Removing old revisions of a file page still leaves the old file versions in $IP/images/archive ./Leo