Manual:InitUserPreference.php/de
MediaWiki-Datei: initUserPreference.php | |
---|---|
Speicherort: | maintenance/ |
Quellcode: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Klassen: | InitUserPreference |
Details
initUserPreference.php is a maintenance script that initializes a user preference based on the value of another preference.
Optionen
Option | Beschreibung | Notwendig |
---|---|---|
--target | Name of the user preference to initialize | Notwendig |
--source | Name of the user preference to take the value from | Notwendig |
Verwendung
php maintenance/initUserPreference.php target source
Terminal
$ php maintenance/initUserPreference.php --target visualeditor-hidebetawelcome --source rcfilters-rc-collapsed Initializing 'visualeditor-hidebetawelcome' based on the value of 'rcfilters-rc-collapsed' Processed 7 user(s) Finished!