Update MediWiki

How to update MediaWiki

Put wiki into readonly mode by editing the LocalSettings.php file and adding the line:

Backup the SQL database, e.g. mysqldump -h host -u wiki -p wiki > wiki.sql

Backup the entire wiki folder:

Download latest version of MediaWiki from www.mediawiki.org/wiki/Download e.g.

Unpack the file over the existing installation:

Now run the update:

Don’t forget to take it out of readonly mode by removing or commenting out the $wgReadOnly line in LocalSettings.php