Page MenuHomePhabricator

Backlinks API sometimes misreports uploader as a backlink
Closed, InvalidPublic

Description

Head to this URL: English Wikipedia backlinks API query for File:Adelaide hills from mt lofty.jpg

Expected result:
There are no incoming redirects to this file

Actual result:
API is misreporting that the uploader's talk page redirects to File:Adelaide hills from mt lofty.jpg, when actually the uploader's talk page redirects somewhere *else* but has a link to this file on it below the redirect.

Notes:
This problem is not duplicated in the standard interface: English Wikipedia backlinks standard query for File:Adelaide hills from mt lofty.jpg.

Event Timeline

Magog_the_Ogre raised the priority of this task from to Needs Triage.
Magog_the_Ogre updated the task description. (Show Details)
Magog_the_Ogre subscribed.
Anomie closed this task as Invalid.EditedJan 28 2015, 2:42 AM
Anomie claimed this task.
Anomie subscribed.

No, the API is not reporting that the user's talk page redirects to the image. It reports that there is one redirect page that links to the image, which is in fact the case.

If you want to find actual redirects to the file, use prop=redirects (like this).