Greetings Roan!
On Mon, 2011-01-10 at 14:38 +0100, Roan Kattouw wrote:
2011/1/10 He Rui rhe@redhat.com:
Hi all,
How can I convert/export a wiki page to xml file by using the API:data formats[1]? If the wiki page is [2], how can I get the xml file of it?
To get an XML file that can be imported into another wiki using Special:Import or importDump.php , use
http://en.wikipedia.org/w/api.php?action=query&titles=Wiki&export&am...
Is that what you were looking for?
Yeah, but it doesn't work on wiki 1.14 such as the parameter 'export'. Is there an alternative way to achieve this? If no, I'll use Special:Export[1] instead.
Many Thanks, Hurry [1] http://en.wikipedia.org/wiki/Help:Export