xiang wang wrote:
I have download the "Database backup dumps" of chinese Edition. There are files with XML and sql format. I want to have data all in database like MySQL. Can I get this data (especially the XML format) to MySQL database without using MediaWiki? How to do this if possible?
I would use mwdumper to do that http://www.mediawiki.org/wiki/Manual:MWDumper Other options are listed in http://www.mediawiki.org/wiki/Manual:Importing_XML_dumps
Where can I get the format details of each dump? Because I have read contents in "zhwiki-20101014-pages-articles.xml" , but chiness have two eddition: "Simplified Chinese" and “Traditional Chinese”. Both format exits raffertily In file "zhwiki-20101014-pages-articles.xml" . I don't known how to get rid it.
Thanks!
That file is in the same format as the wiki pages. The two variants come from the same text (which is what you get in the dump), automatically converted into one or other (with some especifics with text inside -{}- ). That content in a mediawiki install sohuld be able to replicate zhwiki pages.