Mediawiki: Difference between revisions
From James's Wiki
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Upgrade Mediawiki== | ==Upgrade Mediawiki== | ||
cd /path/to/your/new/installation/ | cd /path/to/your/new/installation/ | ||
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 | ||
tar -xvzf mediawiki-1.30.0.tar.gz | tar -xvzf mediawiki-1.30.0.tar.gz | ||
rm 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== | ==Backing up the mysql database== | ||
Line 12: | Line 25: | ||
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 | |||
*not working for some reason using responsive skin vector instead | |||
==References== | ==References== | ||
https://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki | https://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki | ||
https://www.mediawiki.org/wiki/Manual:Upgrading | https://www.mediawiki.org/wiki/Manual:Upgrading |
Latest revision as of 21:18, 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
- not working for some reason using responsive skin vector instead
References
https://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki https://www.mediawiki.org/wiki/Manual:Upgrading