From: "andrew cooke" <andrew@...>
Date: Sun, 13 Jul 2008 17:39:18 -0400 (CLT)
This was rather painful. I can't given an exact walkthrough because it was one of the messy iterative "push this on the stack of alternatives" problems, but the basic idea is: - Copy your 8.2 data directory somewhere else - Install 8.3 - Point 8.3 at you old data and do a dump of the Wiki database - Install Mediawiki 1.12 (this has fixes for Postgres 8.3) - Create a new database using Mediawiki 1.12 and Postgres 8.3 - Dump the (new, empty) 8.3 database - By hand, edit the 8.3 database dump so that it includes the data from the 8.2 database dump (except for the revision table and the the tables related to the old text search stuff) - Delete the 8.3 database and import from the (hand-merged) dump In other words, for the tables that are in the 8.3 database, use the data from the 8.2 database. I did try the various methods described on blogs, and using various scripts in the maintenance directory. But only the above worked. Given the poos support for Postgres with Mediawiki it's probably worth moving to MySQL (although last time I tried the XML dump didn't work with Postgres, so I'm not sure how) Andrew
Maybe too Negative?
From: "andrew cooke" <andrew@...>
Date: Tue, 15 Jul 2008 07:22:03 -0400 (CLT)
Perhaps I was too negative above. In general Mediawiki works perfectly (absolutely no previous problems) with Postgres. However, in changing from 8.2 to 8.3 Postgres changed how they handle text searches, which are critical for Mediaiwik and so meant "significant" changes to the database. So hopefully this was an exception. Andrew