Jump to content

Manual:initUserPreference.php

From mediawiki.org

Details

[edit]

initUserPreference.php is a maintenance script that initializes a user preference based on the value of another preference.

Options

[edit]
Option Description Required
--target Name of the user preference to initialize Required
--source Name of the user preference to take the value from Required

Usage

[edit]
php maintenance/run.php initUserPreference target source
Terminal
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

[edit]