A partial archive of https://discourse-mediawiki.wmflabs.org as of Saturday May 21, 2022.

How to upgrade the $wgUpgradeKey?

giby

Hi,

I decided to upgrade my mediawiki install from 1.28 to 1.30.
I had a Localsettings.php which include a $wgUpgradeKey. I declared it for upgrade… but… I just wonder… now that I upgrade, this $wgUpgradeKey should be changed, in order to fit the actual version, but it hasn’t… how to get the key fitting current install?

Thanks in advance

Tgr

The easy way to upgrade is just running maintenance/update.php from the command line.

$wgUpgradeKey is just a random secret to prove that you are the site operator and prevent any random person from triggering an upgrade.