https://bugzilla.wikimedia.org/show_bug.cgi?id=36118

       Web browser: ---
             Bug #: 36118
           Summary: When a local image and an image redirect on Commons
                    have the same name, the wrong description page is
                    linked
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: File management
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to