| User accounts, authentication: $wgHiddenPrefs | |
|---|---|
| Disable certain user preferences. | |
| Introduced in version: | 1.16.0 (r50782) | 
| Removed in version: | still in use | 
| Allowed values: | (array) | 
| Default value: | Unspecified | 
| Other settings: Alphabetical | By function | |
Details
$wgHiddenPrefs is an array to disable certain user preferences (preferences system was rewritten in 1.16).
This obsoletes $wgAllowRealName = false; with the following code:
$wgHiddenPrefs[] = 'realname';
For a list of preference names and what they do, see Manual:$wgDefaultUserOptions#Available_preferences.
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.