Jump to content

Austrian Economics Wiki:Upgrading

From The Austrian Economics Wiki, the global repository of classical-liberal thought

Mises Wiki generally upgrades its MediaWiki installation whenever a new version comes out.

Procedure

  • Make a backup of the database and file system by following instructions at MisesWiki:Backups.
  • Go to https://www.mediawiki.org/wiki/Download and get the URL for the newest download.
  • wget that URL.
  • tar xvzf mediawiki-1.xx.x.tar.gz -C /home/web/public_html/wiki
  • The following must be recursively copied into the new directory (/home/web/public_html/wiki/mediawiki-1.xx.x) from the old directory:
  • images folder
  • extensions folder
  • LocalSettings.php
  • The custom Mises Wiki skin (Vector.php, Vector.printable.php) and any dependencies (e.g. the Mises Wiki shield image); for the dependencies, you may as well just use cp -r /home/web/public_html/wiki/mediawiki/skins/misesskin /home/web/public_html/wiki/mediawiki-1.xx.x/skins
  • favicon.png
  • In addition, chgrp and/or chown should be run recursively on the images folder to make those directories writeable by users in the "web" group. I guess that would be chgrp -R web /home/web/public_html/wiki/mediawiki/images/* and chown -R web /home/web/public_html/wiki/mediawiki/images/*
  • Also upgrade the extensions:

See also