Podręcznik:$wgAllowPrefChange

This page is a translated version of the page Manual:$wgAllowPrefChange and the translation is 25% complete.
Identyfikacja: $wgAllowPrefChange
Policies for how each preference is allowed to be changed, in the presence of external authentication.
Wprowadzono w wersji:1.16.0 (r53497)
Usunięto w wersji:1.22.0 (Gerrit change 54900; git #36cade5f)
Dozwolone wartości:(tablica)
Domyślna wartość:array()

Szczegóły

Policies for how each preference is allowed to be changed, in the presence of external authentication. The keys are preference keys, e.g., 'password' or 'emailaddress' (see Preferences.php et al.). The value can be one of the following:

  • local - Allow changes to this pref through the wiki interface but only apply them locally (default).
  • semiglobal - Allow changes through the wiki interface and try to apply them to the foreign database, but continue on anyway if that fails.
  • global - Allow changes through the wiki interface, but only let them go through if they successfully update the foreign database.
  • message - Allow no local changes for linked accounts. Replace the change form with a message provided by the auth plugin, telling the user how to change the setting externally (maybe providing a link, etc.). If the auth plugin provides no message for this preference, hide it entirely.

Uwaga

Accounts that are not linked to an external account are never affected by this setting. You may want to look at $wgHiddenPrefs instead. $wgHiddenPrefs supersedes this option.