Manual:initUserPreference.php

This page is a translated version of the page Manual:InitUserPreference.php and the translation is 89% 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 必須
--source Name of the user preference to take the value from 必須

使用法

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!

関連項目