Hi there, in my first Wiki i have translate all the MediaWiki Messages - so that they fits perfectly for my Wiki.
Now, i have to setup a second Wiki at work. Every Mediawiki Message is - of course - at default. Now - i am lazy - i want to take all the Mediawiki Messages from the first mySQL Database and put them in the new Database. Of course i must be care full with all the IDs and so.
My Problem: When i do SELECT * FROM `cur` WHERE `cur_namespace` =8 i cant find the current message, but the old!
Where are the current MediaWiki Messages?
My first Wiki was set up more than one year ago and is currently at version 1.5.0.
Mfg Campino
On 12/11/05, Campino campi@daocpedia.de wrote:
My Problem: When i do SELECT * FROM `cur` WHERE `cur_namespace` =8 i cant find the current message, but the old!
[...]
My first Wiki was set up more than one year ago and is currently at version 1.5.0.
Well, 1.5.x doesn't use the 'cur' table any more (the schema changed; I'm surprised the obsolete bits weren't dropped), so what you should be looking in is the 'text' table, although you'll need to cross-reference with 'page' and maybe 'revision' to find the right entries.
Alternatively, you could go to your Special:Allmessages page, click the "PHP" link, [temporarily] save that over the appropriate file in the 'languages' sub-directory, and run 'maintenance/rebuildMessages.php'
Or, indeed, you could try using the Special:Export and Special:Import pages, although I can't remember whether the latter actually works yet.
-- Rowan Collins BSc [IMSoP]
I believe importing and exporting now works, but I can't for the life of me remember a minimum version for importing.
Rob Church
On 14/11/05, Rowan Collins rowan.collins@gmail.com wrote:
On 12/11/05, Campino campi@daocpedia.de wrote:
My Problem: When i do SELECT * FROM `cur` WHERE `cur_namespace` =8 i cant find the current message, but the old!
[...]
My first Wiki was set up more than one year ago and is currently at version 1.5.0.
Well, 1.5.x doesn't use the 'cur' table any more (the schema changed; I'm surprised the obsolete bits weren't dropped), so what you should be looking in is the 'text' table, although you'll need to cross-reference with 'page' and maybe 'revision' to find the right entries.
Alternatively, you could go to your Special:Allmessages page, click the "PHP" link, [temporarily] save that over the appropriate file in the 'languages' sub-directory, and run 'maintenance/rebuildMessages.php'
Or, indeed, you could try using the Special:Export and Special:Import pages, although I can't remember whether the latter actually works yet.
-- Rowan Collins BSc [IMSoP] _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org