[Mediawiki-l] using XML page export to upgrade

Rob Church robchur at gmail.com
Fri Sep 7 14:50:55 UTC 2007


On 07/09/2007, Alex Le Bek <alex at alexlebek.com> wrote:
> I am moving a wiki from one server to another and would like to upgrade at
> the same time (from mediawiki-1.9.3 to mediawiki-1.10.1). Can this be done
> by using the special page Export to XML of the old site and then using the
> special page Import facility on 1.10.1 or will there be problems with the
> XML tagging? (Would the HTML markup be fully preserved also?)

Don't use an XML dump to back stuff up and assume it's a done deal;
it's not. An XML dump includes *only* the page content, without site
configuration, users, preferences, watchlists, recent change lists,
other goodies, etc.

Read http://www.mediawiki.org/wiki/Manual:Moving_a_wiki for
instructions on migrating a wiki, then perform the upgrade procedure
documented at http://www.mediawiki.org/wiki/Manual:Upgrading_to_1.10;
the upgrader will notice that certain tables, etc. are missing and
will upgrade the database.

For future reference; when making a backup of a wiki, take a full
database dump (or back up the database using another tool), and then
back up the configuration files, any uploaded images, skin
customisations, etc. See
http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki for more
information.


Rob Church



More information about the MediaWiki-l mailing list