Translations:Manual:CleanupTitles.php/8/en

Note that $namespaceDupes is often a preferable option, if the goal is to move pages into their proper namespace.