Page MenuHomePhabricator

Do not show 'English' in front of the description if my language is English
Closed, DuplicatePublic

Description

Migrated from: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/984

Steps to reproduce

Expected behavior

Do not show 'English' in front of the description if my language is English.A language label should only appear if there is no description in my language, but a description is available in another language.

Actual behavior

The 'English' label appears before the description, even though my language is English.I have seen a number of files with that problem in recent weeks.

Related Bugs

Related Stories

Related Changesets

Event Timeline

MingleTerminator raised the priority of this task from to High.Dec 8 2014, 7:29 PM
In mingle on 2014-11-11 at 11:16:39, @Tgr wrote:

This is due to https://commons.wikimedia.org/wiki/Template:Description and https://commons.wikimedia.org/wiki/Template:Ls generating different markup (TemplateParser::parseContents in CommonsMetadata was written with Template:Description in mind).

I think the community should come up with a standard way of marking up languages first, otherwise this will have to be fixed every time someone comes up with a new way of internationalizing template contents. I have started a discussion at
https://commons.wikimedia.org/wiki/Commons_talk:Machine-readable_data#Machine-readable_markup_for_languages.2Flanguage_names

Mass-removing the Multimedia tag from MediaViewer tasks, as this is now being worked on by the Reading department, not Editing's Multimedia team.

Jdlrobson lowered the priority of this task from High to Low.Nov 3 2015, 6:50 PM
Jdlrobson subscribed.