(Go: >> BACK << -|- >> HOME <<)

Page MenuHomePhabricator

Language chip stating it is English, even though it displays latin when latin requested
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
In the title, there is a language chip (en) followed by the Latin name "multiplicare"

Screenshot 2024-03-12 at 20.22.19.png (1×2 px, 167 KB)

What should have happened instead?:
just the Latin name "multiplicare" should be displayed. A language chip should only be shown if a fallback language is used, and the language that is used should be referenced in the chip.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Jdforrester-WMF subscribed.

Not an FE issue, this appears to be in the PHP code.

Jdforrester-WMF changed the task status from Open to In Progress.Mar 19 2024, 4:09 PM
Jdforrester-WMF claimed this task.
Jdforrester-WMF triaged this task as Medium priority.
Jdforrester-WMF moved this task from To triage to In Progress on the Abstract Wikipedia team board.

Change 1012716 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] ZObjectContentHandler::createZObjectViewHeader: Use target's label for chip

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

Change #1012716 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] ZObjectContentHandler::createZObjectViewHeader: Use target's label for chip

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