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?)
If the move+upgrade can't be done like this I assume I have to upgrade the 1.9.3 wiki version first, then mysqldump it before importing into the new database.
Thanks Alex
Alex Le Bek 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?)
If the move+upgrade can't be done like this I assume I have to upgrade the 1.9.3 wiki version first, then mysqldump it before importing into the new database.
Thanks Alex
You can happily import pages exported on previous versions. But keep in mind that Special:Export doesn't export *everything*. Notably the users, logs, deleted pages... and other information which can be recreated (page links, categories...). You're better upgrading and moving dbs. If you still want to go that way, instead of the Special pages, use the scripts on maintenance to do the same (using mwdumper instead of the import script is much faster, but you'll need to populate the links at another stop).
Thanks - but not quite sure what you mean about other information in the cases of 'page links, categories'... as these are inherent in the markup embedded in the XML <text></text> and so surely will still hold after import? Can you give me an example? Thanks
Alex
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Platonides Sent: 07 September 2007 13:22 To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] using XML page export to upgrade
Alex Le Bek 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?)
If the move+upgrade can't be done like this I assume I have to upgrade the 1.9.3 wiki version first, then mysqldump it before importing into the new database.
Thanks Alex
You can happily import pages exported on previous versions. But keep in mind that Special:Export doesn't export *everything*. Notably the users, logs, deleted pages... and other information which can be recreated (page links, categories...). You're better upgrading and moving dbs. If you still want to go that way, instead of the Special pages, use the scripts on maintenance to do the same (using mwdumper instead of the import script is much faster, but you'll need to populate the links at another stop).
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Alex Le Bek wrote:
Thanks - but not quite sure what you mean about other information in the cases of 'page links, categories'... as these are inherent in the markup embedded in the XML <text></text> and so surely will still hold after import? Can you give me an example? Thanks
Alex
That's why i said that those are recreable. Protections (on old mediawiki installs) or watchlists are not.
Please stop sending me emails you have the wrong address
-----Original Message----- From: Platonides Platonides@gmail.com To: mediawiki-l@lists.wikimedia.org Sent: Fri, 7 Sep 2007 8:06 am Subject: Re: [Mediawiki-l] using XML page export to upgrade
Alex Le Bek wrote:
Thanks - but not quite sure what you mean about other information in the cases of 'page links, categories'... as these are inherent in the markup embedded in the XML <text></text> and so surely will still hold after import? Can you give me an example? Thanks
Alex
That's why i said that those are recreable. Protections (on old mediawiki installs) or watchlists are not.
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
________________________________________________________________________ Email and AIM finally together. You've gotta check out free AOL Mail! - http://mail.aol.com
larson191@aol.com wrote:
Please stop sending me emails you have the wrong address
-----Original Message----- From: Platonides Platonides@gmail.com To: mediawiki-l@lists.wikimedia.org Sent: Fri, 7 Sep 2007 8:06 am Subject: Re: [Mediawiki-l] using XML page export to upgrade
Alex Le Bek wrote:
Thanks - but not quite sure what you mean about other information in the cases of 'page links, categories'... as these are inherent in the markup embedded in the XML <text></text> and so surely will still hold after import? Can you give me an example? Thanks
Alex
That's why i said that those are recreable. Protections (on old mediawiki installs) or watchlists are not.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
*I* am not sending *you* emails. I send them to the mediawiki-l mailing list, at which you subscribed or otherwise agreed to be in. To unsuscribe go to http://lists.wikimedia.org/mailman/listinfo/mediawiki-l (at the bottom).
On 07/09/2007, Alex Le Bek alex@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
mediawiki-l@lists.wikimedia.org