Page MenuHomePhabricator

Image redirect records duplicate link information in redirects and imagelinks tables
Closed, ResolvedPublic

Description

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.


Version: unspecified
Severity: enhancement

Details

Reference
bz17259

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:26 PM
bzimport set Reference to bz17259.
bzimport added a subscriber: Unknown Object (MLST).
  • Bug 22541 has been marked as a duplicate of this bug. ***

Bryan.TongMinh wrote:

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.