Manual:DeleteOrphanedRevisions.php/en

Details
deleteOrphanedRevisions.php is a maintenance script to delete revisions which refer to a nonexisting page.