Translations:Manual:PurgeOldText.php/13/en

It will remove from the $text table any records which are not linked to any existing or archived revision.