Jump to content

Manual:InitUserPreference.php/zh

From mediawiki.org
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
在MediaWiki 1.39.15 及更早版本中,您必须通过php maintenance/脚本名称.php调用维护脚本,而不是php maintenance/run.php 脚本名称

参阅