Use Arabic numerals in Punjabi (pa) locale
authorFederico Leva <federicoleva@tiscali.it>
Sat, 7 Nov 2015 15:29:33 +0000 (16:29 +0100)
committerFederico Leva <federicoleva@tiscali.it>
Sat, 7 Nov 2015 15:29:33 +0000 (16:29 +0100)
A handful users requesting and no opposition.

Bug: T113688
Change-Id: Ie31f0b3a66f389706968860f871086d053c73d3e

RELEASE-NOTES-1.27
languages/messages/MessagesPa.php

index 13b9ba2..d894515 100644 (file)
@@ -92,6 +92,8 @@ MediaWiki supports over 350 languages. Many localisations are updated
 regularly. Below only new and removed languages are listed, as well as
 changes to languages because of Bugzilla reports.
 
+* (T113688) Change default numerals from Gurmukhi to Arabic for Punjabi locale.
+
 === Other changes in 1.27 ===
 * ProfilerOutputUdp was removed. Note that there is a ProfilerOutputStats class.
 * WikiPage::doDeleteArticleReal() and WikiPage::doDeleteArticle() now
index 988e0b0..d5460f3 100644 (file)
@@ -179,18 +179,6 @@ $magicWords = array(
        'pagesincategory_files'     => array( '0', 'ਫ਼ਾਈਲਾਂ', 'files' ),
 );
 
-$digitTransformTable = array(
-       '0' => '੦', # &#x0a66;
-       '1' => '੧', # &#x0a67;
-       '2' => '੨', # &#x0a68;
-       '3' => '੩', # &#x0a69;
-       '4' => '੪', # &#x0a6a;
-       '5' => '੫', # &#x0a6b;
-       '6' => '੬', # &#x0a6c;
-       '7' => '੭', # &#x0a6d;
-       '8' => '੮', # &#x0a6e;
-       '9' => '੯', # &#x0a6f;
-);
 $linkTrail = '/^([ਁਂਃਅਆਇਈਉਊਏਐਓਔਕਖਗਘਙਚਛਜਝਞਟਠਡਢਣਤਥਦਧਨਪਫਬਭਮਯਰਲਲ਼ਵਸ਼ਸਹ਼ਾਿੀੁੂੇੈੋੌ੍ਖ਼ਗ਼ਜ਼ੜਫ਼ੰੱੲੳa-z]+)(.*)$/sDu';
 
 $digitGroupingPattern = "##,##,###";