Manual:CleanupPreferences.php/fr

From mediawiki.org
This page is a translated version of the page Manual:CleanupPreferences.php and the translation is 31% complete.
Version de MediaWiki :
1.20

Détails

cleanupPreferences.php file is a maintenance script to delete user preference values which are hidden by $wgHiddenPrefs , or those that are unknown (e.g. were added by a since-uninstalled extension).

It contains the DeleteUnknownPreferences hook.

Options et arguments

Option Description Required?
--dry-run Print debug info instead of actually deleting optionnel
--hidden Drop hidden preferences ($wgHiddenPrefs) optionnel
--unknown Drop unknown preferences (not in $wgDefaultUserOptions or prefixed with "userjs-") optionnel

Utilisation

php maintenance/cleanupPreferences.php [ --dry-run| --hidden| --unknown ]
Terminal

Voir aussi