Manual talk:PurgeOldText.php

Equivalent SQL
As the code looks currently, this script is pretty simple and I'm fairly confident that it is equivalent to running this SQL query. This may be handy for anyone without SSH access to a server:

Note that this can run very slowly and hang your website for a time if you're using it to purge a lot of spam.

Interestingly there's a generic function PurgeRedundantText in Maintenance.php which seems to be a duplicate of the logic in this class. Someone should fix that so it just calls it.

Another alternative for people stuck with no SSH access might be Extension:Maintenance or Extension:MaintenanceShell

-- Harry Wood (talk) 01:28, 8 October 2012 (UTC)