Manual:$wgUpgradeKey

Details
When overridden in LocalSettings.php, this setting allows to run upgrades from web interface. This variable's value serves as password protecting the upgrade script.