Manual:$wgAllowSchemaUpdates/zh

From Linux Web Expert

<translate> Performance hacks and limits</translate>: $wgAllowSchemaUpdates
Allow database schema updates to be executed with update.php script.
<translate> Introduced in version:</translate>1.18.1 (r101867)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(布尔值)
<translate> Default value:</translate>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