On Tue, 2010-05-04 at 14:38 +1000, Tim Starling wrote:
Toshi Esumi wrote:
Thanks Benjamin for the link. Based on what I understood from this manual page, it is assumed the upgrade procedure happens on the server that the existing Mediawiki+database reside. Is this implying there is no way to set up a new version of Mediawiki on a new server machine and, somehow, convert the existing, or backed-up, database (including imagefiles) to fits into the new environment off-line and inject it into the new machine/environment?
In other words, in our case, we need to install V1.6 and all database (or duplicate the current environment) into the new server first, then from there, we can upgrade Mediawiki based on the procedure written in the manual page. Am I right, or misunderstanding something?
You don't need to install the source code from MediaWiki 1.6 before you upgrade. You only need to move the database across to the new machine. The data needs to be loaded into a MySQL instance, you can't upgrade an SQL dump.
Unpack the MediaWiki 1.15 tarball on the new machine, then copy the images and LocalSettings.php from the old server across to the new 1.15 directory tree. Then run update.php or the web installer to upgrade the database.
-- Tim Starling
We need to unstaill 1.15 then. Coping the data first, and re-installing the 1.15 to let it grab all tree structure including the all images under "images" folder based on what's in the LocalSettings.php.
Toshi