https://bugzilla.wikimedia.org/show_bug.cgi?id=18601
Summary: generator=backlinks returns invalid continue parameter
Product: MediaWiki
Version: 1.15-svn
Platform: All
URL: http://en.wikipedia.org/w/api.php?format=jsonfm&action=q
uery&generator=backlinks&gblnamespace=2&gbltitle=User:An
omie/Backlink_test&gbllimit=2&gblredirect=1
OS/Version: All
Status: NEW
Keywords: patch
Severity: normal
Priority: Normal
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Created an attachment (id=6064)
--> (https://bugzilla.wikimedia.org/attachment.cgi?id=6064)
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).
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l