Page MenuHomePhabricator

VisualEditor: Image insertion dialog shows thumbnails twice in non-English context (possibly due to repeated results under File: and Datei:?)
Closed, ResolvedPublic

Description

Screenshot

Image dialog shows thumbnails twice, see screenshots.

Maybe 1 from local wiki and 1 from Commons, which are most of the times identical?


Version: unspecified
Severity: normal

Attached:

thumbnail_twice.PNG (692×1 px, 113 KB)

Details

Reference
bz50158

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:02 AM
bzimport set Reference to bz50158.

Created attachment 12632
Screenshot

Attached:

thumbnail_twice_2.PNG (680×1 px, 614 KB)

I can't reproduce this in Forefix 21.

(In reply to comment #2)

I can't reproduce this in Forefix 21.

Oh, sorry, I see you were on frwiki. This doesn't happen on enwiki or mediawikiwiki, but I can reproduce it on frwiki and dewiki.

Perhaps VE doesn't know about localised names for the "File" namespace. That's just a guess.

^^ You are correct. this is happening because we are getting results from both namespaces. File and Fichier in this case.

Change 73190 had a related patch set uploaded by Robmoen:
Normalize image titles in cache to prevent duplicates.

https://gerrit.wikimedia.org/r/73190

Change 73190 merged by jenkins-bot:
Normalize image titles in cache to prevent duplicates.

https://gerrit.wikimedia.org/r/73190

This was fixed and deployed on Thursday.