Last modified: 2009-04-27 14:10:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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