Mediawiki

From James's Wiki
Revision as of 15:10, 7 January 2018 by Ractive (talk | contribs)

Upgrade Mediawiki

cd /path/to/your/new/installation/
wget https://releases.wikimedia.org/mediawiki/1.30/mediawiki-1.30.0.tar.gz
tar -xvzf mediawiki-1.30.0.tar.gz
rm mediawiki-1.30.0.tar.gz


Backing up the mysql database

sudo mysqldump --user=xxxxxxxx --password=xxxxxxx my_wiki > file.sql
sudo mysqldump --user=xxxxxxxx --password=xxxxxxx my_wiki --xml > file.xml


References

https://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki https://www.mediawiki.org/wiki/Manual:Upgrading