Normalize as and or language names
authorNiklas Laxström <niklas.laxstrom@gmail.com>
Thu, 4 Apr 2013 12:39:15 +0000 (12:39 +0000)
committerNiklas Laxström <niklas.laxstrom@gmail.com>
Thu, 4 Apr 2013 12:40:20 +0000 (12:40 +0000)
Compared which of these differ if run through UtfNormal::cleanup.
Not doing this causes all kind of nasty bugs if they end up used
for page titles. See the linked bug.

Bug: 38712

Change-Id: Ieaa429b921bc93e3a40b70a76da481c11dc9c3f6

languages/Names.php

index bce1663..89eff30 100644 (file)
@@ -54,7 +54,7 @@
        'arn' => 'mapudungun',  # Mapuche, Mapudungu, Araucanian (Araucano)
        'ary' => 'Maġribi',    # Moroccan Spoken Arabic
        'arz' => 'مصرى',    # Egyptian Spoken Arabic
-       'as' => 'à¦\85সমà§\80à§\9fা',   # Assamese
+       'as' => 'à¦\85সমà§\80য়া',        # Assamese
        'ast' => 'asturianu',   # Asturian
        'av' => 'авар',     # Avar
        'avk' => 'Kotava', # Kotava
        'ny' => 'Chi-Chewa',    # Chichewa
        'oc' => 'occitan',              # Occitan
        'om' => 'Oromoo',               # Oromo
-       'or' => 'à¬\93à­\9cିà¬\86',         # Oriya
+       'or' => 'à¬\93ଡ଼ିà¬\86',              # Oriya
        'os' => 'Ирон', # Ossetic -- fixed per bug 29091
        'pa' => 'ਪੰਜਾਬੀ', # Eastern Punjabi (Gurmukhi script) (pan)
        'pag' => 'Pangasinan',  # Pangasinan