Page MenuHomePhabricator

Remove LRM and RLM characters from Names.php
Open, Needs TriagePublic

Description

LRM and RLM characters were added to some names of languages in Names.php to ensure correct display of parentheses in mixed LTR/RTL environment, for example an interlanguage link from an RTL wiki to an LTR language with parentheses in its name.

However, the Unicode bidirectional algorithm was updated to handle parentheses more cleverly and automatically, making manual adjustment with RTL/LRM unnecessary.

This update was implemented years ago in all browsers and operating systems. I've tested this in Firefox, Chrome, Edge, and Internet Explorer 11, and it works correctly without the RLM/LRM characters.

Event Timeline

Change 680619 had a related patch set uploaded (by Amire80; author: Amire80):

[mediawiki/core@master] Remove RLM/LRM from Names.php

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

Change 680619 merged by jenkins-bot:

[mediawiki/core@master] Remove RLM/LRM from Names.php

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