Petr, in Brad's example he used gaplimit=1, which meant he would get one page per result with many revisions.
This is no different than writing titles= or pageids= with just one value. So if instead of using generator, the client would make just one extra api request to get a list of 5000 pages, it will continue as before. Total extra cost -- +1 more request per 5000 for an rare edge case, while getting a major benefit for all other usage cases. On Tue, Dec 18, 2012 at 1:52 PM, Petr Onderka <[email protected]> wrote: > > not 10x queries --- one additional query per 5000+ requests, for an > > extremely edge case scenario you have given. > > I believe what Brad is talking about is that when you use pageids (or > titles), > you are usually limited to 50 of them per query. > But if you use generator, the limit is usually 500. > Which means your approach would lead to 10× as many queries. > > Petr Onderka > [[en:User:Svick]] > > _______________________________________________ > 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
