Manual:CleanupPreferences.php

cleanupPreferences.php is a maintenance script located in the maintenance directory that can be used to remove hidden user preferences from the database.

Usage
php cleanupPreferences.php