MediaWiki
1.32.5
|
This class has been replaced by the PreferencesFactory service. More...
Static Public Member Functions | |
static | cleanSignature ( $signature, $alldata, $form) |
static | datetimePreferences ( $user, IContextSource $context, &$defaultPreferences) |
static | editingPreferences ( $user, IContextSource $context, &$defaultPreferences) |
static | filesPreferences ( $user, IContextSource $context, &$defaultPreferences) |
static | filterIntval ( $value, $alldata) |
static | filterTimezoneInput ( $tz, $alldata) |
static | generateSkinOptions ( $user, IContextSource $context) |
static | getDateOptions (IContextSource $context) |
static | getFormObject ( $user, IContextSource $context, $formClass=PreferencesFormLegacy::class, array $remove=[]) |
static | getImageSizes (IContextSource $context) |
static | getOptionFromUser ( $name, $info, $user) |
Pull option from a user account. More... | |
static | getPreferences ( $user, IContextSource $context) |
static | getSaveBlacklist () |
static | getThumbSizes (IContextSource $context) |
static | getTimeZoneList (Language $language) |
Get a list of all time zones. More... | |
static | getTimezoneOptions (IContextSource $context) |
static | loadPreferenceValues ( $user, $context, &$defaultPreferences) |
Loads existing values for a given array of preferences. More... | |
static | miscPreferences ( $user, IContextSource $context, &$defaultPreferences) |
Dummy, kept for backwards-compatibility. More... | |
static | profilePreferences ( $user, IContextSource $context, &$defaultPreferences) |
static | rcPreferences ( $user, IContextSource $context, &$defaultPreferences) |
static | renderingPreferences ( $user, IContextSource $context, &$defaultPreferences) |
static | searchPreferences ( $user, IContextSource $context, &$defaultPreferences) |
static | skinPreferences ( $user, IContextSource $context, &$defaultPreferences) |
static | validateSignature ( $signature, $alldata, $form) |
static | watchlistPreferences ( $user, IContextSource $context, &$defaultPreferences) |
Static Protected Member Functions | |
static | getDefaultPreferencesFactory () |
A shim to maintain backwards-compatibility of this class, basically replicating the default behaviour of the PreferencesFactory service but not permitting overriding. More... | |
This class has been replaced by the PreferencesFactory service.
Definition at line 30 of file Preferences.php.
|
static |
string | $signature | |
array | $alldata | |
HTMLForm | $form |
Definition at line 258 of file Preferences.php.
|
static |
User | $user | |
IContextSource | $context | |
array | &$defaultPreferences |
Definition at line 133 of file Preferences.php.
References $context, $user, getPreferences(), and wfDeprecated().
|
static |
User | $user | |
IContextSource | $context | |
array | &$defaultPreferences |
Definition at line 157 of file Preferences.php.
References $context, $user, getPreferences(), and wfDeprecated().
|
static |
User | $user | |
IContextSource | $context | |
array | &$defaultPreferences |
Definition at line 120 of file Preferences.php.
References $context, $user, getPreferences(), and wfDeprecated().
|
static |
|
static |
|
static |
User | $user | |
IContextSource | $context |
Definition at line 213 of file Preferences.php.
References $context, $user, getPreferences(), and wfDeprecated().
|
static |
|
staticprotected |
A shim to maintain backwards-compatibility of this class, basically replicating the default behaviour of the PreferencesFactory service but not permitting overriding.
Definition at line 37 of file Preferences.php.
References $linkRenderer, and $services.
Referenced by getFormObject(), and getPreferences().
|
static |
User | $user | |
IContextSource | $context | |
string | $formClass | |
array | $remove | Array of items to remove |
Definition at line 269 of file Preferences.php.
References $context, $user, and getDefaultPreferencesFactory().
|
static |
|
static |
Pull option from a user account.
Handles stuff like array-type preferences.
string | $name | |
array | $info | |
User | $user |
Definition at line 87 of file Preferences.php.
|
static |
MWException |
User | $user | |
IContextSource | $context |
Definition at line 62 of file Preferences.php.
References $context, $user, and getDefaultPreferencesFactory().
Referenced by datetimePreferences(), editingPreferences(), filesPreferences(), generateSkinOptions(), PreferencesTest\prefsFor(), profilePreferences(), rcPreferences(), renderingPreferences(), searchPreferences(), skinPreferences(), and watchlistPreferences().
|
static |
Definition at line 52 of file Preferences.php.
|
static |
|
static |
Get a list of all time zones.
Definition at line 313 of file Preferences.php.
|
static |
|
static |
Loads existing values for a given array of preferences.
MWException |
User | $user | |
IContextSource | $context | |
array | &$defaultPreferences | Array to load values for |
Definition at line 75 of file Preferences.php.
|
static |
Dummy, kept for backwards-compatibility.
User | $user | |
IContextSource | $context | |
array | &$defaultPreferences |
Definition at line 204 of file Preferences.php.
References wfDeprecated().
|
static |
User | $user | |
IContextSource | $context | |
array | &$defaultPreferences |
Definition at line 97 of file Preferences.php.
References $context, $user, getPreferences(), and wfDeprecated().
|
static |
User | $user | |
IContextSource | $context | |
array | &$defaultPreferences |
Definition at line 169 of file Preferences.php.
References $context, $user, getPreferences(), and wfDeprecated().
|
static |
User | $user | |
IContextSource | $context | |
array | &$defaultPreferences |
Definition at line 145 of file Preferences.php.
References $context, $user, getPreferences(), and wfDeprecated().
|
static |
User | $user | |
IContextSource | $context | |
array | &$defaultPreferences |
Definition at line 191 of file Preferences.php.
References $context, $user, getPreferences(), and wfDeprecated().
|
static |
User | $user | |
IContextSource | $context | |
array | &$defaultPreferences |
Definition at line 110 of file Preferences.php.
References $context, $user, getPreferences(), and wfDeprecated().
|
static |
string | $signature | |
array | $alldata | |
HTMLForm | $form |
Definition at line 248 of file Preferences.php.
|
static |
User | $user | |
IContextSource | $context | |
array | &$defaultPreferences |
Definition at line 179 of file Preferences.php.
References $context, $user, getPreferences(), and wfDeprecated().