See https://it.wikipedia.org/wiki/Mission:_Impossible_-_Dead_Reckoning_-_Parte_uno?useformat=mobile&uselang=it#/languages: for many languages (e.g., English), the label is just "Mission: Impossible", but if you click the link you will see that the actual page title contains an en dash and then more text. For instance, the page title on enwiki is "Mission: Impossible – Dead Reckoning Part One". The en dash and everything that follows are stripped from the label.
TODO
- Update MediaWiki core to provide information for languages (autonym and name)
- Update MobileFrontend to use the new data.
QA
- Visit https://es.m.wikipedia.beta.wmflabs.org/w/index.php?title=Misi%C3%B3n_imposible%3A_sentencia_mortal_-_Parte_1&uselang=es#/languages
- The language overlay should show a title with a dash
Requirement
Ensure that interlanguage labels on the mobile site correctly display the full page title, including any en dashes and subsequent text.
BDD
Feature: Correct Display of Interlanguage Labels with En Dashes
Scenario: Display full page title in interlanguage labels
Given the user visits the interlanguage overlay on a page with an en dash in the title
When the language overlay is displayed
Then the full title, including the en dash and subsequent text, should be shown in the interlanguage labelsTest Steps
Test Case 1: Verify Full Title Display with En Dash in Language Overlay
- Visit the page on the Spanish Beta Wikipedia.
- Open the language overlay.
- AC1: Confirm that the title in the overlay includes the en dash and all text following it.
QA Results - Prod
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T349000#10325213 |




