Translations:Manual:DeleteOldRevisions.php/4/en

The script deletes all old, non-deleted revisions from the revision table and then invoces $purgeOldText to purge the text records which no revision links to.