Translations:Manual:CleanupEmptyCategories.php/27/en

The script is perfectly safe to run on large, live wikis, and running it multiple times is harmless.