Hi,
I'm finding myself in the position of updating a very old installation of MediaWiki, even if I'm far from a specialist in that sort of things.
It's a 2007's 1.9.2 MediaWiki, on a MySQL 4.0 version. The only serious extension was Semantic, but not overly used. The content is mostly French, with a sprinkle of Polish. I need to update it to the last MediaWiki and a somewhat recent MySQL & PHP version.
I was wondering if the list experts had any tips, traps to look for, well any advices on how to approach such a task?
Do you need to keep the user accounts or is the data all that you need?
On Monday, October 12, 2015, Dorem - Jérémie Bouillon jeremie@dorem.info wrote:
Hi,
I'm finding myself in the position of updating a very old installation of MediaWiki, even if I'm far from a specialist in that sort of things.
It's a 2007's 1.9.2 MediaWiki, on a MySQL 4.0 version. The only serious extension was Semantic, but not overly used. The content is mostly French, with a sprinkle of Polish. I need to update it to the last MediaWiki and a somewhat recent MySQL & PHP version.
I was wondering if the list experts had any tips, traps to look for, well any advices on how to approach such a task?
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MySQL has to be 5.0 to use the latest mediawiki versions now. including php 5.3.3.
On Monday, 12 October 2015, 15:52, John phoenixoverride@gmail.com wrote:
Do you need to keep the user accounts or is the data all that you need?
On Monday, October 12, 2015, Dorem - Jérémie Bouillon jeremie@dorem.info wrote:
Hi,
I'm finding myself in the position of updating a very old installation of MediaWiki, even if I'm far from a specialist in that sort of things.
It's a 2007's 1.9.2 MediaWiki, on a MySQL 4.0 version. The only serious extension was Semantic, but not overly used. The content is mostly French, with a sprinkle of Polish. I need to update it to the last MediaWiki and a somewhat recent MySQL & PHP version.
I was wondering if the list experts had any tips, traps to look for, well any advices on how to approach such a task?
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 2015-10-12 13:53, Dorem - Jérémie Bouillon wrote:
It's a 2007's 1.9.2 MediaWiki, on a MySQL 4.0 version. The only serious extension was Semantic, but not overly used. The content is mostly French, with a sprinkle of Polish. I need to update it to the last MediaWiki and a somewhat recent MySQL & PHP version.
MediaWiki is at least theoretically able to upgrade its database schema from any old version to current one for your chosen version, by running the maintenance/update.php script. (Not sure how well Semantic extensions handle that, but probably also well enough.) As long as you manage to upgrade MySQL and PHP to a compatible version, that is :) https://www.mediawiki.org/wiki/Compatibility#Software_required_to_run_MediaW...
Hey,
Not sure how well Semantic extensions handle that, but probably also well
enough.
I don't know, though this does not seem to be very important. You can just disable SMW while you upgrade and then install it again once you are done (perhaps nuke the old tables first). It's all secondary data anyway, so it can easily be rebuild.
Cheers
-- Jeroen De Dauw - http://www.bn2vs.com Software craftsmanship advocate Developer at Wikimedia Germany ~=[,,_,,]:3
Indeed, that should be the way to go but there will be quiet some work on the wiki itself since I figure that a pre 1.0 version of SMW is being used.
Cheers Karsten
Am 17.10.2015 um 18:06 schrieb Jeroen De Dauw:
Hey,
Not sure how well Semantic extensions handle that, but probably also well
enough.
I don't know, though this does not seem to be very important. You can just disable SMW while you upgrade and then install it again once you are done (perhaps nuke the old tables first). It's all secondary data anyway, so it can easily be rebuild.
Cheers
-- Jeroen De Dauw - http://www.bn2vs.com Software craftsmanship advocate Developer at Wikimedia Germany ~=[,,_,,]:3 _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Le 17/10/2015 17:51, Bartosz Dziewoński a écrit :
MediaWiki is at least theoretically able to upgrade its database schema from any old version to current one for your chosen version, by running the maintenance/update.php script.
The issue is that any recent Mediawiki requires MySQL5+. But MySQL5+ can't read a dump from the old wiki, even with some edit of deprecated commands (like TYPE to ENGINE), handling of too long keys, there's always another error, always something more.
So it's seems to be a vicious circle. I can't upgrade MW because of MySQL, and I can't upgrade MySQL because the database scheme updates are in MW.
Any way around that, without being a sql guru? Should an intermediary upgrade to MW 1.8 resolves this?
mediawiki-l@lists.wikimedia.org