Last modified: 2014-05-23 00:22:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20017, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18017 - Image page should list places that image redirects are used
Image page should list places that image redirects are used
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Low normal with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 23353 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-17 17:13 UTC by Robert Rohde
Modified: 2014-05-23 00:22 UTC (History)
11 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Robert Rohde 2009-03-17 17:13:02 UTC
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.
Comment 1 Derk-Jan Hartman 2009-03-17 18:00:45 UTC
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
Comment 2 Victor Vasiliev 2009-03-17 18:16:46 UTC
Special:Whatlinkshere should work.
Comment 3 carnildo 2009-03-18 08:51:40 UTC
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.
Comment 4 Derk-Jan Hartman 2009-03-23 19:50:34 UTC
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.
Comment 5 Derk-Jan Hartman 2009-09-22 17:04:13 UTC
raising the priority of this bug. Now that file moves are available, this issue has become much more important.
Comment 6 xenocidic 2010-08-16 15:05:35 UTC
Raised once more to 'critical'. This can cause non-free images to be deleted in the mistaken belief that they are not in use.
Comment 7 Guillaume Paumier 2010-08-16 15:19:20 UTC
No, this is not "critical". Just tell your trigger-happy admins to check for redirects before deleting a file.
Comment 8 MZMcBride 2010-08-16 16:59:30 UTC
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.
Comment 9 Krinkle 2010-10-23 21:28:46 UTC
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.
Comment 10 Dan Collins 2011-07-16 04:21:31 UTC
*** Bug 23353 has been marked as a duplicate of this bug. ***
Comment 11 Bawolff (Brian Wolff) 2014-05-23 00:22:39 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links