Page MenuHomePhabricator

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

Description

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

Details

Reference
bz67578

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

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

https://gerrit.wikimedia.org/r/168787

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

https://gerrit.wikimedia.org/r/168787