手册:$wgUpgradeKey

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgUpgradeKey and the translation is 38% complete.

Other languages:
Deutsch • ‎English • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎العربية • ‎ไทย • ‎中文 • ‎日本語 • ‎한국어
维护脚本设置: $wgUpgradeKey
Password that controls access to web-based updater.
引进版本:1.17.0 (r75392)
移除版本:仍在使用
允许的值:(字符串)
默认值:false
其他设置: 按首字母排序 | 按功能排序

详情

When overridden in LocalSettings.php , this setting allows you to run upgrades from the web interface. The value of this variable serves as a password protecting the upgrade script.

The installer in 1.17+ adds this variable to LocalSettings.php and fills it with a random 16-character password. If it is not set in LocalSettings.php, the upgrader will tell you what to set it to in order to authorize the upgrade process.

For security, do not set this to a guessable string. Instead, use a secure value, e.g. the one supplied by the install/upgrade process. To cause the upgrader to generate a new key, delete the old key from LocalSettings.php.

参见