Last modified: 2014-09-22 10:51:54 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 T38118, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36118 - When a local image and an image redirect on Commons have the same name, the wrong description page is linked
When a local image and an image redirect on Commons have the same name, the w...
Status: REOPENED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-20 08:30 UTC by Michael M.
Modified: 2014-09-22 10:51 UTC (History)
3 users (show)

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


Attachments

Description Michael M. 2012-04-20 08:30:13 UTC
Steps to reproduce (at least as long as the file isn't deleted):

Go to [[de:Sereina_Trachsel]] and look at the second image ("Zieleinfahrt SM 05 in Cham (2005)"). In the wikitext the file name Datei:Zieleinfahrt_SM05.jpg is used. This exists only on commons and is a redirect to File:Sereina Trachsel.jpg.

But there also is a different local file on de.wikipedia with the title File:Sereina Trachsel.jpg.

Now click on the image to visit the description page.

Instead of the correct description page the description page for the local file is shown, without any hint that you were redirected.

Abstract version:

On Commons:
File:Foo.jpg redirects to File:Bar.jpg
On local wiki:
File:Bar.jpg exists
Using File:Foo.jpg in an article shows Commons-Bar.jpg, but links to Local-Bar.jpg.

(Using File:Bar.jpg both shows and links Local-Bar.jpg, which is correct.)

Since most licenses require the correct description page to be displayed I set the severity to major.

Maybe this bug is related or even a duplicate of bug 28299, but though I tried to understand this bug I wasn't able to do so, so I couldn't find out if it's saying the same thing.
Comment 1 Andre Klapper 2014-05-16 21:06:25 UTC
(In reply to Michael M. from comment #0)
> Go to [[de:Sereina_Trachsel]] and look at the second image ("Zieleinfahrt SM
> 05 in Cham (2005)"). In the wikitext the file name
> Datei:Zieleinfahrt_SM05.jpg is used.

Michael: I don't think so anymore (or I don't understand it)? 
Editing [[de:Sereina_Trachsel]] I see
[[Datei:Sereina Trachsel.jpg|miniatur|Zieleinfahrt SM 05 in Cham (2005)]]

> Maybe this bug is related or even a duplicate of bug 28299

Yeah, might be a duplicate or dependency of bug 28299. 
Developers might know and decide.
Comment 2 Michael M. 2014-09-02 08:07:17 UTC
(In reply to Andre Klapper from comment #1)
> Michael: I don't think so anymore (or I don't understand it)? 
> Editing [[de:Sereina_Trachsel]] I see
> [[Datei:Sereina Trachsel.jpg|miniatur|Zieleinfahrt SM 05 in Cham (2005)]]

The local image on de.wikipedia was deleted some time ago, so the original example is no longer reproducible.
Comment 3 Andre Klapper 2014-09-02 11:34:33 UTC
Alright. :( Missing testcase. 
Sorry this didn't get tackled when this was reported.

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


Navigation
Links