Looking at the examples on api.php, adding a &apnamespace=1 to api.php?action=query&list=allpages works, but doesn't when added to the next example, api.php?action=query&generator=allpages&prop=info . Pilot error surely, but still, how can I set the namespace?
To set the generator parameters, you use a "g" in front.
So set &gapnamespace=1
(Likewise, &gapfrom, etc) Robert
On Thu, Mar 5, 2009 at 1:21 PM, jidanni@jidanni.org wrote:
Looking at the examples on api.php, adding a &apnamespace=1 to api.php?action=query&list=allpages works, but doesn't when added to the next example, api.php?action=query&generator=allpages&prop=info . Pilot error surely, but still, how can I set the namespace?
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
mediawiki-api@lists.wikimedia.org