Mediawiki: Difference between revisions

From James's Wiki
No edit summary
No edit summary
Line 24: Line 24:


  sudo mysqldump --user=xxxxxxxx --password=xxxxxxx my_wiki --xml > file.xml
  sudo mysqldump --user=xxxxxxxx --password=xxxxxxx my_wiki --xml > file.xml
==Extention: MobileFrontEnd==
https://www.mediawiki.org/wiki/Extension:MobileFrontend





Revision as of 20:39, 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

copy Localsettings.php from the old version

copy extentions

copy images (and preserve permissions)

create new symlink in your www folder

  • change permissions on the new mediawiki folder

test things out

delete old version

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

Extention: MobileFrontEnd

https://www.mediawiki.org/wiki/Extension:MobileFrontend


References

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