[Mediawiki-api] Behaviour when no titles specified
Mark Wagner
carnildo at gmail.com
Thu May 29 21:30:44 UTC 2008
On 5/29/08, Max Semenik <maxsem.wiki at gmail.com> wrote:
> Currently, when you specify not titles parameter for queries that
> require it, such as http://en.wikipedia.org/w/api.php?action=query&prop=info
> you get an empty result set:
>
> <?xml version="1.0" encoding="utf-8"?>
> <api />
>
> Wouldn't it be more beneficial to return error in such cases, or at
> least to provide a notice that there is noting to query from?
The current behavior makes sense to me: you ask for nothing, and you
get nothing in return.
--
Mark
[[en:User:Carnildo]]
More information about the Mediawiki-api
mailing list