Manual:$wgAllowSchemaUpdates

From Linux Web Expert

Revision as of 14:37, 7 January 2024 by imported>Clump (Reverted edits by Sarvesh Bhallavi 750 (talk) to last version by Clump)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

See also