Manual:$wgAllowSchemaUpdates/pt

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<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>(boolean)
<translate> Default value:</translate>true

Details

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).

Ver também