Page MenuHomePhabricator

Bad display of Wikivoyage page hierarchy breadcrumbs when mixing scripts
Closed, ResolvedPublicBUG REPORT

Description

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

  • Go to the Incubator.
  • Set the interface language to a language using a right-to-left script.
  • Go to a page for a Wikivoyage test wiki which has a title in a right-to-left script.

e.g. https://incubator.wikimedia.org/wiki/Wy/azb/%D9%85%DB%8C%D9%84%D8%A7%D9%86%D8%B2%DB%8C?uselang=azb

What happens?:

The page hierarchy breadcrumbs are displayed as "(title) < Wy > (language code)".

What should have happened instead?:

The page hierarchy breadcrumbs should be displayed as "(title) < (language code) < Wy".

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

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

Screenshot showing how it currently displays:

2022-09-26 07.32.43 incubator.wikimedia.org 910150786001.png (129×328 px, 7 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 836308 had a related patch set uploaded (by Jon Harald Søby; author: Jon Harald Søby):

[mediawiki/extensions/GeoCrumbs@master] Add <bdi> tags around links

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

Minerva and the mobile site have this problem everywhere, since Minerva hides the normal breadcrumbs in favour of the geocrumbs ones.
https://incubator.wikimedia.org/wiki/Wt/arz/جوز?useskin=minerva&uselang=ar
https://incubator.m.wikimedia.org/wiki/Wt/arz/جوز?uselang=ar

Change 836308 merged by jenkins-bot:

[mediawiki/extensions/GeoCrumbs@master] Add <bdi> tags around links

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

matmarex assigned this task to jhsoby.
matmarex added subscribers: jhsoby, matmarex.

Thanks for the fix @jhsoby!