Remove unnecessary removal of LRM characters

It should have been done long ago, but slipped my mind.

Bug: T280435
Change-Id: I96c84c28217f436896654df6ea47019552af4faa
This commit is contained in:
Amir E. Aharoni
2024-02-05 22:26:03 -05:00
parent ae1afd06eb
commit 8304433fb8

View File

@@ -65,9 +65,6 @@ class LanguageNameIndexer extends Maintenance {
$buckets = [];
foreach ( $languageNames as $translations ) {
foreach ( $translations as $targetLanguage => $translation ) {
// Remove directionality markers used in Names.php: users are not
// going to type these.
$translation = str_replace( "\xE2\x80\x8E", '', $translation );
$translation = mb_strtolower( $translation );
$translation = trim( $translation );