Last modified: 2009-01-03 12:30:19 UTC
This would be primarily helpful to projects looking for easier way to perform housekeeping on old and outdated images, without using the maintenance script to delete everything, when there are certain or specific images that have old revisions that are kept for historical or comparison purposes.
Note there's not currently a revision count kept in the image table; a join/group/count() on oldimage could add this, but might not be super efficient. Since file revisions tend not to be too many it might be too awful, though.
(In reply to comment #1) > Note there's not currently a revision count kept in the image table; a > join/group/count() on oldimage could add this, but might not be super > efficient. Since file revisions tend not to be too many it might be too awful, > though. Last I checked, the image page shows all revisions, no matter how many. At worst, this would be a constant factor times as bad as viewing the actual image page, so it should be fine.
Done in r45364