[email protected] schreef:
> RK> I'll probably have time to implement these modules some time soon, though.
> OK, the outlines of this project are clear:
> The format to be produced is http://www.mediawiki.org/xml/export-0.3/
> and up. The query string would be
> api.php?action=query&format=export ...
>   
I'll probably add an &export parameter to action=query, which will 
produce an XML dump of all pages in the result set. This dump would then 
be wrapped in whatever the &format= is, unless &exportnowrap is set, in 
which case you'll just get the export XML, not wrapped in anything.
> That will finally give Special:Export an API.
> Probably no import API is needed as that could all be achieved with a
> HTTP GET with the existing Special:Import. The same could be said
> about Special:Export, but the latter lacks batch job generator capabilities.
>   
It would be good to have an import API as well for stuff like error 
handling.

Roan Kattouw (Catrope)

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to