I notice an artificial restriction in the API, the inability to do
certain operations across more than one namespace.

One should not only be able to say a query should be for e.g., namespace 1,
but also 1,2,3, and even "all".

I can think of several usage cases:
* What page name start with the letter K, in all namespaces?
* What pages are ....., in all namespaces?
* What are the names of the pages, in all namespaces? (so I can use
them as a generator for &export.)

Maybe the restriction
    apnamespace: The namespace to enumerate. You can only enumerate
    one namespace at a time.
was made with Wikipedia in mind. But now with the default limits in
place, there is no need force this restriction on smaller sites, no?

> but is there a way to do all the namespaces in one query, or must we do
> one query for each gapnamespace?
RK> If you want to be sure you get everything, you have to do each
RK> gapnamespace separately

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

Reply via email to