Huib Laurens wrote:
that will hide them, not delete it...
That type of deletion would be enough for most cases.
You can always run maintenance/deleteArchivedRevisions.php after that if
you want.
Or directly use the more radical maintenance/deleteOldRevisions.php