[email protected] schreef: > RK> Oops, that should be gapnamespace of course. > > Ah, and the vital words > > Parameters passed to a generator must be prefixed with a g. For > instance, when using generator=backlinks, use gbltitle instead of > bltitle. > > are missing from e.g., http://www.mediawiki.org/w/api.php > That's right, nowhere in it are the two worlds (g and non g) linked. > Yeah, they're not in the api.php help, but they are in the docs at MW.org. I'll work on putting a sentence or two about this in the api.php help as well. > By the way, to generate the names of all the pages of a site, one > needs some kind of recursive generation: > for namespace in $(namespaces) > do for page in $(pages namespace) > dump $page > I wonder if that is possible in a single URL. Currently, no. It's probably technically possible, but you'd still get your pages ordered by namespace first, then title (i.e. the same order as with separate requests) and paging through multiple namespaces screws up all kinds of wonderful features like apprefix= and apfrom=.
Roan Kattouw (Catrope) _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
