Image page should list places that image redirects are used
Closed, ResolvedPublic

Description

Author: rohde

Description:
When an image is moved a redirect is created.

The file links section of the new image page will then include a reference to this redirect. However, the file links section does not provide any information about where the redirected image title is used. The result is that image moving effectively hides information on image use by forcing one to look at WhatLinksHere for the original title to figure out where the image is used rather than being able to obtain this information from the image page itself.


Version: unspecified
Severity: normal

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz18017.
bzimport created this task.Via LegacyMar 17 2009, 5:13 PM
TheDJ added a comment.Via ConduitMar 17 2009, 6:00 PM

The api doesn't see the usage either. The following image is used in [[en:Donde los ponys pastan]]

http://en.wikipedia.org/w/api.php?action=query&list=imageusage&iutitle=File:Porter_-_Donde_Los_Ponys_Pastan_album_cover.jpg

vvv added a comment.Via ConduitMar 17 2009, 6:16 PM

Special:Whatlinkshere should work.

bzimport added a comment.Via ConduitMar 18 2009, 8:51 AM

carnildo wrote:

I think this should be higher-priority than "enhancement": without accurate image usage data, two of my bots can't function properly, and a third will actively cause problems. I'd really rather not go back to screen-scraping, because page HTML is subject to change without notice.

TheDJ added a comment.Via ConduitMar 23 2009, 7:50 PM

carnildo. I agree with you, but just so you know. You can use this: http://en.wikipedia.org/w/api.php?action=query&list=backlinks&bltitle=File:Porter_-_Donde_Los_Ponys_Pastan_album_cover.jpg&blredirect&blfilterredir=redirects to find redirects for the file. And then you can do seperate imageuse queries again for the redirects to the file.

TheDJ added a comment.Via ConduitSep 22 2009, 5:04 PM

raising the priority of this bug. Now that file moves are available, this issue has become much more important.

bzimport added a comment.Via ConduitAug 16 2010, 3:05 PM

xenowiki wrote:

Raised once more to 'critical'. This can cause non-free images to be deleted in the mistaken belief that they are not in use.

gpaumier added a comment.Via ConduitAug 16 2010, 3:19 PM

No, this is not "critical". Just tell your trigger-happy admins to check for redirects before deleting a file.

MZMcBride added a comment.Via ConduitAug 16 2010, 4:59 PM

There's no need to war over the importance categorization. "blocker" or "enhancement", clearly nobody gives a shit and this bug will get fixed when someone gets around to it.

Krinkle added a comment.Via ConduitOct 23 2010, 9:28 PM

This "bug" is in GlobalUsage aswell. Although local pagelinks (Special:WhatLinksHere) does list redirects (as a sub-list-item under the redirect itself) - globalusage does not.

bzimport added a comment.Via ConduitJul 16 2011, 4:21 AM

EN.WP.ST47 wrote:

*** Bug 23353 has been marked as a duplicate of this bug. ***

Bawolff added a comment.Via ConduitMay 23 2014, 12:22 AM

This appears to have been fixed somewhere around the line.

Consider [[commons:File:%22A_Spiritual_Landscape%22_by_Lucian_Popov.jpg]]

It has a redirect [[commons:File:Popov 006.jpg]]

I used the redirect on the pages [[testwiki:User:Bawolff/fileRedirTest]] and [[commons:User:Bawolff/test]]. Both of these usages appear on the image description page of [[commons:File:"A_Spiritual_Landscape"_by_Lucian_Popov.jpg]]. Specificly I see:

File usage on Commons

The following 3 pages link to this file:

  • User:Bawolff/test
  • File:Popov 006.jpg (file redirect) o User:Bawolff/test

File usage on other wikis

The following other wikis use this file:

  • Usage on ru.wikipedia.org o Попов, Лукиан Васильевич
  • Usage on test.wikipedia.org o User:Bawolff/fileRedirTest

The only minor thing is that in the global usage section, usages of redirects and main file are lumped together. But I think that's ok.

So calling this fixed. Please reopen if there are further issues.

Gilles added a project: Multimedia.Via WebDec 4 2014, 10:53 AM
Gilles moved this task to Closed on the Multimedia workboard.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.