[Mediawiki-api] how to use api commands in batch mode ?

Roan Kattouw roan.kattouw at gmail.com
Thu May 14 14:03:17 UTC 2009


2009/5/14 Colonna Francois <colonna at lct.jussieu.fr>:
> I tried wget
>
>
> http://localhost/~wiki/mediawiki/api.php?action=query&generator=allpages&gapnamespace=0&gaplimit=100&format=xml
>
> it results in :
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Are you sure you got the format= parameter right? Also, try querying
en.wikipedia.org , does that work?

Roan Kattouw (Catrope)



More information about the Mediawiki-api mailing list