手册:$wgAllowSchemaUpdates

From mediawiki.org
This page is a translated version of the page Manual:$wgAllowSchemaUpdates and the translation is 30% complete.
性能修改和限制: $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