Last modified: 2014-01-08 16:47:22 UTC
When an image redirects to another, entries are put in the redirect table *and* the imagelinks table. This unfortunately gives double information on the ImagePage, where pages are listed as linking to an image and redirecting to it. It shouldn't be both.
Clarifying bug summary.
*** Bug 22541 has been marked as a duplicate of this bug. ***
Fixed in r88054.
Change 105829 had a related patch set uploaded by Anomie: Move redirect rendering into WikitextContent https://gerrit.wikimedia.org/r/105829
Change 105829 merged by jenkins-bot: Move redirect rendering into WikitextContent https://gerrit.wikimedia.org/r/105829
Note that, starting in 1.23wmf10, ImagePage will start displaying redirects like Special:WhatLinksHere does: the linking pages will be displayed at the "main" level and in a sublist of the redirect. This will, of course, depend on those pages linking to the redirect having a LinksUpdate job run (e.g. they need to be edited, or purged with forcelinkupdate, or the file redirect could be purged with forcerecursivelinkupdate). See https://www.mediawiki.org/wiki/MediaWiki_1.23/Roadmap for the schedule.