Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文
Users: $wgHiddenPrefs
Disable certain user preferences.
Introduced in version: 1.16.0 (r50782)
Removed in version: still in use
Allowed values: (array)
Default value:
Other settings: Alphabetical | By function


$wgHiddenPrefs is an array to disable certain user preferences (preferences system was rewritten in 1.16).

This obsoletes $wgAllowRealNameManual:$wgAllowRealName = false; with the following code:

$wgHiddenPrefs[] = 'realname';

Note Note: For a list of preference names and what they do, see Manual:$wgDefaultUserOptions#Available_preferences.