Last modified: 2012-11-09 10:24:10 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 T16117, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14117 - Image redirects from the shared repo don't show "redirected from"
Image redirects from the shared repo don't show "redirected from"
Status: REOPENED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.13.x
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Victor Vasiliev
http://nl.wikipedia.org/wiki/Afbeeldi...
: need-integration-test
: 18016 20770 35615 41885 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-14 11:54 UTC by Bryan Tong Minh
Modified: 2012-11-09 10:24 UTC (History)
12 users (show)

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


Attachments

Description Bryan Tong Minh 2008-05-14 11:54:34 UTC
Image redirects from the shared repo don't show "redirected from". See <http://nl.wikipedia.org/wiki/Afbeelding:BSicon_leer.svg>
Comment 1 Sage Ross 2008-08-01 18:50:48 UTC
When an a redirected image name is used instead of the actual image name, the link behaves different from article redirects.  The link points directly to the actual image name, so that the linked image name does not appear in the markup (and the markup image name does not appear on the html page).

Image redirects should behave like article redirects, with links pointing to the redirect name and a message pointing out the fact that it was redirected when the actual image page is served up.
Comment 2 Siebrand Mazeland 2008-08-17 21:15:26 UTC
Assigned: vasilievv

vasilievv added all this redirect functionality. Assigning issue to him for comments and hope he can resolve this issue.
Comment 3 Victor Vasiliev 2008-12-30 17:41:11 UTC
Fixed in r45191.
Comment 4 Brion Vibber 2008-12-31 22:06:43 UTC
Reverted in r45258

Seems to be bizarrely adding a "redirected from" subtitle to *every* shared image page view, instead of to redirects. WTF?
Comment 5 Kevin Norris 2009-02-24 03:04:07 UTC
why shouldn't Image redirects behave like Template redirects?
Comment 6 Sage Ross 2009-03-17 16:14:27 UTC
*** Bug 18016 has been marked as a duplicate of this bug. ***
Comment 7 Sage Ross 2009-03-17 16:22:51 UTC
(In reply to comment #5)
> why shouldn't Image redirects behave like Template redirects?
> 

Because Image/File redirects (especially on Commons) are used to create language-specific descriptive file names for use on other wikis, and because images produce mouse-over text of the file name.  If a given wiki is intentionally using a redirect file name rather than the original, then they would benefit from have the mouse-over text be that of the redirect, and also from being able to click on an image and know from the image page what the markup was (e.g., so that the image may be removed).

See http://en.wikipedia.org/wiki/User:Ragesoss/Image_redirect_bug for an example.
Comment 8 René Kijewski 2009-03-31 15:03:05 UTC
A further problem is, that the API does not give the redirect flag for file redirects:
http://de.wikipedia.org/w/api.php?action=query&prop=info&inprop=&titles=File:Sin%20escudo.svg
Comment 9 Roan Kattouw 2009-03-31 15:11:46 UTC
(In reply to comment #8)
> A further problem is, that the API does not give the redirect flag for file
> redirects:
> http://de.wikipedia.org/w/api.php?action=query&prop=info&inprop=&titles=File:Sin%20escudo.svg
> 

That would seem to indicate that page_is_redirect isn't set to 1 for image redirects.
Comment 10 René Kijewski 2009-03-31 15:27:07 UTC
(In reply to comment #9)
> That would seem to indicate that page_is_redirect isn't set to 1 for image
> redirects.
> 

More strangely it is set. (At least on the toolserver)
Comment 11 Chad H. 2009-09-23 03:46:24 UTC
*** Bug 20770 has been marked as a duplicate of this bug. ***
Comment 12 Bryan Tong Minh 2009-09-24 20:46:56 UTC
Fixed in r56893.
Comment 13 Helder 2012-05-12 13:05:42 UTC
*** Bug 35615 has been marked as a duplicate of this bug. ***
Comment 14 Andre Klapper 2012-11-09 10:24:10 UTC
*** Bug 41885 has been marked as a duplicate of this bug. ***

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


Navigation
Links