Manual:$wgHiddenPrefs

This page is a translated version of the page Manual:$wgHiddenPrefs and the translation is 29% complete.
User accounts, authentication: $wgHiddenPrefs
Disable certain user preferences.
Introducido en la versión:1.16.0 (r50782)
Eliminado en la versión:aún se usa
Valores permitidos:(array)
Valor predeterminado:no especificado

Detalles

$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.