Search

User login

Poll

What is your favorite DB Server ?:
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
1 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

My YM

Author Information

sentono
Offline
Last seen: 2 days 14 hours ago
Joined: 09/21/2007

Alexa Rank

Who's online

There are currently 0 users and 17 guests online.
Home
  • warning: Invalid argument supplied for foreach() in /usr/home/wowtutorial/public_html/sites/all/modules/adsense_injector/adsense_injector.module on line 352.
  • warning: Invalid argument supplied for foreach() in /usr/home/wowtutorial/public_html/sites/all/modules/adsense_injector/adsense_injector.module on line 35.

How To Upgrade Mediawiki to Latest Version 1.14.0

This is the fastest way to upgrade/update Mediawiki old version to the Latest Version 1.14.0

I've mediawiki installed on the server with 1.6.x version so i just want to upgrade it to the latest version.

First We need to backup mediawiki files and DB.
You need to change the server path to your server own path.
Login into the server.

Backup mediawiki web files

[code]#cd /home/mediawiki/
#tar -cf mediawiki.tar public_html
#cp mediawiki.tar /root[/code]

Backup mediawiki MySQL DB

[code]#cd /root
#mysqldump -uwiki wikidb > mediawiki.sql -p[/code]

You will see a mediawiki.sql file in /root

Download Latest mediawiki stable version

[code]#cd /root
#wget [url="http://download.wikimedia.org/mediawiki/1.14/mediawiki-1.14.0.tar.gz"]http://download.wikimedia.org/mediawiki/1....i-1.14.0.tar.gz[/url][/code]

Unpack mediawiki

[code]#tar xvfz mediawiki-1.14.0.tar.gz
#cp -R mediawiki-1.14.0/* /home/mediawiki/public_html[/code]

Run Update Script

[code]#cd /home/mediawiki/public_html/maintenance
#php update.php --aconf ../AdminSettings.php[/code]

wait... until finished.
You're done !!

Troubleshooting "No superuser credentials" error

[code]#cd /home/mediawiki/public_html
#cp AdminSettings.sample AdminSettings.php 
#pico AdminSettings.php 

#### Edit below lines to match your DB user and password ####
$wgDBadminuser      = 'wiki';
$wgDBadminpassword  = 'wikipassword';[/code]

After edit the AdminSettings.php.
You need to reapply update

[code]#cd /home/mediawiki/public_html/maintenance
#php update.php --aconf ../AdminSettings.php[/code]

wait... until finished.
You're done !!

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Recent comments

Facebook Fans

Sponsors

Online Store

Tag Cloud