Update Mediawiki

Admin

=Backup the Installation=

rcapache stop
 * Stop Apache


 * Stop MySQL-Server

rcmysql stop


 * Backup the Mysql folder

rsync -a /var/lib/mysql/ /backup/folder/


 * Copy all files from the wiki to a new folder

mkdir /directory/to/new/folder rsync -a /directory/to/old/folder /directory/to/new/folder =Update Mediawiki=


 * Download the newest Version of Mediawiki

wget http://download.wikimedia.org/mediawiki/1.23/mediawiki-1.23.5.tar.gz


 * Extract colab to your new wiki folder

tar xvfz mediawiki-1.23.5.tar.gz -C /directory/to/new/folder/ --strip-components=1


 * Start Mysql

rcmysql start


 * Create from AdminSettings.sample a AdminSettings.php and edit the DB settings

cd /directory/to/new/folder/maintenance cp AdminSettings.sample AdminSettings.php vi AdminSettings.php

php update.php --aconf ../AdminSettings.php
 * Run the update script


 * Start Apache and Wikimedia should run in the new version

rcapache start

=Update Extentions=

On http://www.mediawiki.org/wiki/ you should check the version of installed extention.

All extentions have a discription to install it.