Last modified: 2009-12-30 05:13:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T18074, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16074 - gXXlimit=max makes to high limits and so causes error
gXXlimit=max makes to high limits and so causes error
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Roan Kattouw
: easy, testme
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-23 12:29 UTC by merl
Modified: 2009-12-30 05:13 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description merl 2008-10-23 12:29:08 UTC
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"
Comment 1 Roan Kattouw 2008-10-24 13:07:09 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links