Manuale:$wgHiddenPrefs

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgHiddenPrefs and the translation is 29% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎magyar • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文 • ‎日本語
Utenti: $wgHiddenPrefs
Disable certain user preferences.
Introdotto nella versione:1.16.0 (r50782)
Rimosso nella versione:still in use
Valori concessi:(array)
Valore predefinito:Non specificato
Impostazioni: Alfabetiche | Per funzione

Dettagli

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