Page MenuHomePhabricator

blredirects doesn't work with generator=backlinks
Closed, ResolvedPublic

Description

Author: russblau

Description:
Here's an example of a list=backlinks query to a page that has some links to a redirect:

http://en.wikipedia.org/w/api.php?action=query&list=backlinks&bltitle=Chief_Buffalo&bllimit=20&blredirect

This returns 12 direct links and 7 redirect links. However,

http://en.wikipedia.org/w/api.php?action=query&generator=backlinks&gbltitle=Chief_Buffalo&gbllimit=20&gblredirect

does not generate the same results, returning only the 12 direct links.

If the difference between the two query results is intentional, it should be mentioned in the documentation.


Version: 1.13.x
Severity: normal

Details

Reference
bz13419

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:05 PM
bzimport set Reference to bz13419.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #0)

If the difference between the two query results is intentional, it should be
mentioned in the documentation.

I *remember* testing this, and it worked. I guess I changed something afterwards and broke it. Fixed in r32125.