Manual:$wgHiddenPrefs/de-formal

From Linux Web Expert

Revision as of 07:16, 17 August 2022 by imported>ThisCarthing (Created page with "== Details ==")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> User accounts, authentication</translate>: $wgHiddenPrefs
Disable certain user preferences.
<translate> Introduced in version:</translate>1.16.0 (r50782)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(array)
<translate> Default value:</translate><translate> Unspecified</translate>

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.