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, <[email protected]> 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 > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-api > _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
