手册:$wgAllowSchemaUpdates
性能修改和限制: $wgAllowSchemaUpdates | |
---|---|
Allow database schema updates to be executed with update.php script. |
|
引进版本: | 1.18.1 (r101867) |
移除版本: | 仍在使用 |
允许的值: | (布尔值) |
默认值: | true |
其他设置: 按首字母排序 | 按功能排序 |
详情
Enable/disable upgrading via update.php.
If this is set to false, the script must be run with --force
to execute schema updates.
On very large wikis with multiple database servers, updates can cause downtime if done incorrectly and are usually done manually with special processes. This setting is used to prevent people accidentally using the script on wikis where it is not an appropriate way to update MediaWiki (such as Wikipedia).
See also
- phabricator:T31558 - related technical discussion