Lucas_Werkmeister_WMDE created this task. Lucas_Werkmeister_WMDE added projects: Wikidata, Mobile, MediaWiki-extensions-WikibaseView. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION As a mobile Wikidata visitor, I don’t want to see language fallback indicators if the fallback is just within language variants, e. g. from British or Canadian English (`en-gb`, `en-ca`) to “English” (`en`). **Problem:** Language fallback indicators for variant fallbacks are hidden on desktop (implemented in T174318 <https://phabricator.wikimedia.org/T174318> and since then fixed in a few more places), but not on mobile. The relevant styles are currently in the desktop-only `wikibase.common` ResourceLoader module. **Tech note:** T325084 <https://phabricator.wikimedia.org/T325084> splits `wikibase.common` into two modules; the styles that hide variant fallback indicators should then move from `wikibase.desktop` to `wikibase.alltargets`. This also means that a bunch of places can stop loading the more heavyweight `wikibase.desktop` module – history views, Special:NewLexeme etc. only need the link styles from `wikibase.alltargets`. **Example:** This en-ca mobile item view <https://m.wikidata.org/wiki/Q4115189?uselang=en-ca> or this en-ca mobile diff <https://m.wikidata.org/wiki/Special:MobileDiff/1820301523?uselang=en-ca> shows the indicators for the fallback from Canadian English to English: F36525577: image.png <https://phabricator.wikimedia.org/F36525577> F36525574: image.png <https://phabricator.wikimedia.org/F36525574> **Screenshots/mockups:** **BDD** GIVEN I am looking at the mobile version of the site AND my user interface language is a “variant” language WHEN looking at item links where the label fell back to the “base” language THEN there is no visible fallback indicator **Acceptance criteria:** - Language fallback indicators for variant fallbacks aren’t shown on mobile. - Language fallback indicators for //non//-variant fallbacks are still shown everywhere, of course. **Open questions:** TASK DETAIL https://phabricator.wikimedia.org/T328150 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Lucas_Werkmeister_WMDE, Aklapper, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org