[Mediawiki-l] Using export/import instead of upgrading

Brion Vibber brion at wikimedia.org
Sun Oct 26 02:04:59 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jan Steinman wrote:
> Anyone have any good strategies going from 1.3 to current? I'm  
> planning on making a complete copy, accessed from a new URL, and  
> trying the upgrade on that. But I'm doubtful that such an upgrade will  
> be fruitful.

1) Back up your database

2) Grab the current code and put it in place of your old code

3) Follow the upgrade instructions.


The updater should update the database automatically from any MediaWiki
installation version 1.2 or later. The one serious exception to this is
that installations from prior to 1.5 which used Latin-1 encoding instead
of UTF-8 may require a separate character set conversion first. (To add
a little to the confusion, this issue is dependent on the $wgUseLatin1
config variable in your LocalSettings.php, _not_ the "character set"
setting on MySQL.)

Otherwise, there are no *known* problems that should prevent you from
upgrading directly from 1.3 to 1.13, as long as your PHP, MySQL etc are
current.

If you actually do encounter an error while following the standard
upgrade procedure, we want to find out about it so we can fix it! Please
save the *exact output* from the updater *at the time you first ran it*,
which should show any error conditions encountered during the update.

And don't forget to back everything up first. ;)

- -- brion vibber (brion @ wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkD0EoACgkQwRnhpk1wk46tuwCdFsTHSAXulgaIYX9MmI612muG
NqUAnRhbSW/3BFsgV9vkXvfVw3hhnMRZ
=opHP
-----END PGP SIGNATURE-----



More information about the MediaWiki-l mailing list