Greetings Roan!

On Mon, 2011-01-10 at 14:38 +0100, Roan Kattouw wrote:
> 2011/1/10 He Rui <r...@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&exportnowrap
> 
> 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

-- 
Contacts

Hurry
FAS Name: Rhe 
Timezone: UTC+8
TEL: 86-010-62608141
IRC nick: rhe #fedora-qa #fedora-zh


_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to