Page MenuHomePhabricator

ApiSandbox shouldn't automatically set rvlimit when using generators with prop=revisions
Closed, ResolvedPublic


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".

Version: master
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:37 AM
bzimport set Reference to bz67578.
bzimport added a subscriber: Unknown Object (MLST).
TTO created this task.Jul 7 2014, 5:46 AM

Change 168787 had a related patch set uploaded by Umherirrender:
Do not pre-fill limit

Change 168787 merged by jenkins-bot:
Do not pre-fill limit

TTO added a comment.Oct 28 2014, 12:39 AM

Confirmed on labs.