Well, you have to follow the instructions in /usr/share/doc/mediawiki1.7/README.Debian.gz
Here are the steps:
Upgrading from 1.5 to 1.7 package:
The upgrade path is really easy compared to 1.4 -> 1.5 upgrade.
.
A rapid sketch of what you need to do is as follow:
1) Dump your database to a text file. mysqldump --add-drop-table -u <user> -p <my-database> > /path/to/file.sql
2) Copy the configuration files from /etc/mediawiki1.5 to /var/lib/mediawiki1.7 and make the
m writable for
your webserver user -- usualy www-data.
cp /etc/mediawiki/LocalSettings.php /var/lib/mediawiki1.7
cp /etc/mediawiki/AdminSettings.php /var/lib/mediawiki1.7 (if exists)
3) change your working path to /var/lib/mediawiki1.5:
cd /var/lib/mediawiki1.7
4) Execute the update script:
php maintenance/update.php
This shall need a proper php5 binary, as provided in php5-cli
5) Execute the rebuildall script:
php maintenance/rebuildall.php
6) Copy the old upload directory:
cp -rf /var/lib/mediawiki1.5/upload/* /var/lib/mediawiki1.7/upload/
You are done !
See configuration section of /etc/mediawiki1.7.confile-location for details about
the place where configuration files may be placed.
Well, you have to follow the instructions in /usr/share/ doc/mediawiki1. 7/README. Debian. gz
Here are the steps:
Upgrading from 1.5 to 1.7 package:
mysqldump --add-drop-table -u <user> -p <my-database> > /path/to/file.sql mediawiki1. 7 and make the LocalSettings. php /var/lib/ mediawiki1. 7 AdminSettings. php /var/lib/ mediawiki1. 7 (if exists) mediawiki1. 5: mediawiki1. 7 update. php rebuildall. php mediawiki1. 5/upload/ * /var/lib/ mediawiki1. 7/upload/ .7.confile- location for details about
The upgrade path is really easy compared to 1.4 -> 1.5 upgrade.
.
A rapid sketch of what you need to do is as follow:
1) Dump your database to a text file.
2) Copy the configuration files from /etc/mediawiki1.5 to /var/lib/
m writable for
your webserver user -- usualy www-data.
cp /etc/mediawiki/
cp /etc/mediawiki/
3) change your working path to /var/lib/
cd /var/lib/
4) Execute the update script:
php maintenance/
This shall need a proper php5 binary, as provided in php5-cli
5) Execute the rebuildall script:
php maintenance/
6) Copy the old upload directory:
cp -rf /var/lib/
You are done !
See configuration section of /etc/mediawiki1
the place where configuration files may be placed.