Mediawiki: Difference between revisions

From James's Wiki
No edit summary
No edit summary
Line 1: Line 1:
==Upgrade Mediawiki==
==Upgrade Mediawiki==


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





Revision as of 15:10, 7 January 2018

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