Manual:InitUserPreference.php/zh

This page is a translated version of the page Manual:InitUserPreference.php and the translation is 67% complete.
Other languages:

详情

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

选项

选项 说明 必需
--target Name of the user preference to initialize Required
--source Name of the user preference to take the value from Required

Usage

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!

参见