How to Update
1. Run all three backup scrips located in ~/backup/bin
These are named:
wikiFilebackup.sh wikiXMLbackup.sh wikisqlbackup.sh
2. Make a temp directors in the root
cd ~ mkdir mwtemp cd mwtemp
3. wget the latest tar.gz from media wiki, for example for 1.20.1
wget http://download.wikimedia.org/mediawiki/1.20/mediawiki-1.20.1.tar.gz
3. gunzip and tar -xf the tar ball
tar -zxvf mediawiki-1.20.1.tar.gz
4. cp -r [DIRECTORY WITH FILES] [PUBLIC HTML DIRECTORY], for example
cp -r ~/mwtemp/mediawiki-1.20.1/* [PUBLIC HTML DIR]
5. run [PUBLIC HTML DIRECTORY]/maintenance/update.php
using
/usr/local/php53/bin/php update.php
6. Check Special:Version to make sure things worked.
Upgrade