MediaWiki master
|
Maintenance script that initializes a user preference based on the value of another preference. More...
Inherits Maintenance.
Public Member Functions | |
__construct () | |
execute () | |
Maintenance script that initializes a user preference based on the value of another preference.
This is done by copying any non-empty (i.e. excluding 0 or null) value for a given source preference to be the value of the target preference. Only users with the value set will have the target preference set.
Definition at line 17 of file initUserPreference.php.
InitUserPreference::__construct | ( | ) |
Definition at line 18 of file initUserPreference.php.
InitUserPreference::execute | ( | ) |
Definition at line 37 of file initUserPreference.php.
References $source.