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:
@@ -65,9 +65,6 @@ class LanguageNameIndexer extends Maintenance {
|
|||||||
$buckets = [];
|
$buckets = [];
|
||||||
foreach ( $languageNames as $translations ) {
|
foreach ( $languageNames as $translations ) {
|
||||||
foreach ( $translations as $targetLanguage => $translation ) {
|
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 = mb_strtolower( $translation );
|
||||||
$translation = trim( $translation );
|
$translation = trim( $translation );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user