Manual:cleanupPreferences.php

From MediaWiki.org
Jump to navigation Jump to search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎català • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎日本語

Details[edit]

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

It contains the DeleteUnknownPreferences hook.

Usage[edit]

php cleanupPreferences.php