Last modified: 2014-10-28 00:39:08 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 T69578, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67578 - ApiSandbox shouldn't automatically set rvlimit when using generators with prop=revisions
ApiSandbox shouldn't automatically set rvlimit when using generators with pro...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ApiSandbox (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-07 05:46 UTC by This, that and the other (TTO)
Modified: 2014-10-28 00:39 UTC (History)
4 users (show)

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


Attachments

Description This, that and the other (TTO) 2014-07-07 05:46:17 UTC
Set up the following query in ApiSandbox:

* action=query
* prop=revisions
* titles=<<the name of a page that contains multiple wikilinks>>
* generator=links

Note that rvlimit=10 gets pre-filled for you. Execute the request, and you get a somewhat cryptic error (rvmultpages), telling you not to set rvlimit when using a generator.

To get the request to work, you have to clear rvlimit manually. This is particularly annoying when you are adding and removing query modules, as rvlimit gets set back to 10 every time.

Going by what the error message says, this issue may also occur when querying multiple pages via "titles" or "pageids".
Comment 1 Gerrit Notification Bot 2014-10-25 20:45:12 UTC
Change 168787 had a related patch set uploaded by Umherirrender:
Do not pre-fill limit

https://gerrit.wikimedia.org/r/168787
Comment 2 Gerrit Notification Bot 2014-10-27 23:46:07 UTC
Change 168787 merged by jenkins-bot:
Do not pre-fill limit

https://gerrit.wikimedia.org/r/168787
Comment 3 This, that and the other (TTO) 2014-10-28 00:39:08 UTC
Confirmed on labs.

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


Navigation
Links