Page MenuHomePhabricator

gXXlimit=max makes to high limits and so causes error
Closed, ResolvedPublic

Description

If you set the generator module limit to max and more results are returned then the next module accepts as input, an error is reported.

So it is not possible to make generator api request without knowing your limits, which should be possible when using the max value for the limit.

Example:
http://de.wikipedia.org/w/api.php?action=query&format=xml&generator=embeddedin&geititle=Vorlage:Bot&geilimit=max&prop=revisions&rvprop=content => "rvpage_count may not be over 50 (set to 74) for users"


Version: unspecified
Severity: major

Details

Reference
bz16074

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:17 PM
bzimport set Reference to bz16074.

Fixed in r42471. Your request will now list 50 revisions and throw a warning about having been fed too many titles, but embeddedin's query-continue won't know about this, so watch out. For more information, see the related post I'll make any minute on the mediawiki-api-announce list.