Last modified: 2009-04-27 14:10:14 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 T20601, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18601 - generator=backlinks returns invalid continue parameter
generator=backlinks returns invalid continue parameter
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.15.x
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
http://en.wikipedia.org/w/api.php?for...
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-26 20:25 UTC by Brad Jorsch
Modified: 2009-04-27 14:10 UTC (History)
3 users (show)

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


Attachments
Patch against r49908 (1.86 KB, patch)
2009-04-26 20:25 UTC, Brad Jorsch
Details

Description Brad Jorsch 2009-04-26 20:25:22 UTC
Created attachment 6064 [details]
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).
Comment 1 Roan Kattouw 2009-04-27 14:10:14 UTC
Patch committed in r49951

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


Navigation
Links