From ef9533881bdeb9462ca1342e6dfa3d164076ef1f Mon Sep 17 00:00:00 2001 From: Federico Leva Date: Sat, 7 Nov 2015 16:29:33 +0100 Subject: [PATCH] Use Arabic numerals in Punjabi (pa) locale A handful users requesting and no opposition. Bug: T113688 Change-Id: Ie31f0b3a66f389706968860f871086d053c73d3e --- RELEASE-NOTES-1.27 | 2 ++ languages/messages/MessagesPa.php | 12 ------------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27 index 13b9ba26de..d894515116 100644 --- a/RELEASE-NOTES-1.27 +++ b/RELEASE-NOTES-1.27 @@ -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 diff --git a/languages/messages/MessagesPa.php b/languages/messages/MessagesPa.php index 988e0b0459..d5460f3346 100644 --- a/languages/messages/MessagesPa.php +++ b/languages/messages/MessagesPa.php @@ -179,18 +179,6 @@ $magicWords = array( 'pagesincategory_files' => array( '0', 'ਫ਼ਾਈਲਾਂ', 'files' ), ); -$digitTransformTable = array( - '0' => '੦', # ੦ - '1' => '੧', # ੧ - '2' => '੨', # ੨ - '3' => 'à©©', # ੩ - '4' => '੪', # ੪ - '5' => 'à©«', # ੫ - '6' => '੬', # ੬ - '7' => 'à©­', # ੭ - '8' => 'à©®', # ੮ - '9' => '੯', # ੯ -); $linkTrail = '/^([ਁਂਃਅਆਇਈਉਊਏਐਓਔਕਖਗਘਙਚਛਜਝਞਟਠਡਢਣਤਥਦਧਨਪਫਬਭਮਯਰਲਲ਼ਵਸ਼ਸਹ਼ਾਿੀੁੂੇੈੋੌ੍ਖ਼ਗ਼ਜ਼ੜਫ਼ੰੱੲੳa-z]+)(.*)$/sDu'; $digitGroupingPattern = "##,##,###"; -- 2.20.1