Manual:InitUserPreference.php/zh

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

详情

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/run.php initUserPreference target source
Terminal
In MediaWiki version 1.39.11 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

參見