Page MenuHomePhabricator

generator=backlinks returns invalid continue parameter
Closed, ResolvedPublic

Description

Patch against r49908

When a continuation is needed for the "second" query, generator=backlinks returns a continue parameter with an empty "id1". It turns out there is a one-line fix, we just need to make sure to fill in pageMap in the generator case.

In the attached patch, I also updated the docs since this module using titles has not been the case since r34518, and adjusted the description for 'limit' to make it clear that you may actually get up to 2*limit results (which can be an issue when feeding prop=revisions&rvprop=content or other queries using the slow-query limit).


Version: 1.15.x
Severity: normal
URL: http://en.wikipedia.org/w/api.php?format=jsonfm&action=query&generator=backlinks&gblnamespace=2&gbltitle=User:Anomie/Backlink_test&gbllimit=2&gblredirect=1

Attached:

Details

Reference
bz18601

Event Timeline

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