From: Jens Frank Date: Mon, 19 Jul 2004 20:29:43 +0000 (+0000) Subject: moved weekday, monthname etc to AllMessages arrays. X-Git-Tag: 1.5.0alpha1~2634 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=8649daf89155fea341fcfc8692e0765a445bd5a2;p=lhc%2Fweb%2Fwiklou.git moved weekday, monthname etc to AllMessages arrays. --- diff --git a/languages/LanguageGa.php b/languages/LanguageGa.php index 3477954fe2..24cae03e28 100755 --- a/languages/LanguageGa.php +++ b/languages/LanguageGa.php @@ -98,21 +98,6 @@ Sourceforge (when that gets added.) # Different spellings of days (with Dé) may be needed for some uses -/* private */ $wgWeekdayNamesGa = array( - "Domhnach", "Luan", "Máirt", "Céadaoin", "Déardaoin", - "Aoine", "Satharn" -); - -/* private */ $wgMonthNamesGa = array( - "Eanáir", "Feabhra", "Márta", "Aibreán", "Bealtaine", "Meitheamh", - "Iúil", "Lúnasa", "Meán Fómhair", "Deireadh Fómhair", "Mí na Samhna", - "Mí na Nollag" -); - -/* private */ $wgMonthAbbreviationsGa = array( - "Ean", "Fea", "Már", "Aib", "Bea", "Mei", "Iúi", "Lún", - "Mea", "Dei", "Samh", "Nol" -); # The following exist for the purpose of being translated: @@ -205,6 +190,40 @@ Sourceforge (when that gets added.) # the regex in MagicWord::initRegex /* private */ $wgAllMessagesGa = array( +# Dates +# +'sunday' => 'Domhnach', +'monday' => 'Luan', +'tuesday' => 'Máirt', +'wednesday' => 'Céadaoin', +'thursday' => 'Déardaoin', +'friday' => 'Aoine', +'saturday' => 'Satharn', +'january' => 'Eanáir', +'february' => 'Feabhra', +'march' => 'Márta', +'april' => 'Aibreán', +'may_long' => 'Bealtaine', +'june' => 'Meitheamh', +'july' => 'Iúil', +'august' => 'Lúnasa', +'september' => 'Meán Fómhair', +'october' => 'Deireadh Fómhair', +'november' => 'Mí na Samhna', +'december' => 'Mí na Nollag', +'jan' => 'Ean', +'feb' => 'Fea', +'mar' => 'Már', +'apr' => 'Aib', +'may' => 'Bea', +'jun' => 'Mei', +'jul' => 'Iúi', +'aug' => 'Lún', +'sep' => 'Mea', +'oct' => 'Dei', +'nov' => 'Samh', +'dec' => 'Nol', + # Bits of text used by many pages: # @@ -1182,24 +1201,6 @@ class LanguageGa extends LanguageUtf8 { return $wgUserTogglesGa; } - function getMonthName( $key ) - { - global $wgMonthNamesGa; - return $wgMonthNamesGa[$key-1]; - } - - function getMonthAbbreviation( $key ) - { - global $wgMonthAbbreviationsGa; - return $wgMonthAbbreviationsGa[$key-1]; - } - - function getWeekdayName( $key ) - { - global $wgWeekdayNamesGa; - return $wgWeekdayNamesGa[$key-1]; - } - function getValidSpecialPages() { global $wgValidSpecialPagesGa; diff --git a/languages/LanguageHe.php b/languages/LanguageHe.php index ba9192f47a..312f45080e 100644 --- a/languages/LanguageHe.php +++ b/languages/LanguageHe.php @@ -77,21 +77,6 @@ require_once("LanguageUtf8.php"); "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1" ); -/* private */ $wgWeekdayNamesHe = array( - "ראשון", "שני", "שלישי", "רביעי", "חמישי", - "שישי", "שבת" -); - -/* private */ $wgMonthNamesHe = array( - "ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", - "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", - "דצמבר" -); - -/* private */ $wgMonthAbbreviationsHe = array( - "ינו'", "פבר'", "מרץ", "אפר'", "מאי", "יוני", "יולי", "אוג'", - "ספט'", "אוק'", "נוב'", "דצמ'" -); # All special pages have to be listed here: a description of "" # will make them not show up on the "Special Pages" page, which @@ -145,6 +130,40 @@ require_once("LanguageUtf8.php"); /* private */ $wgAllMessagesHe = array( +# Dates +# + +'sunday' => "ראשון", +'monday' => "שני", +'tuesday' => "שלישי", +'wednesday' => "רביעי", +'thursday' => "חמישי", +'friday' => "שישי", +'saturday' => "שבת", +'january' => "ינואר", +'february' => "פברואר", +'march' => "מרץ", +'april' => "אפריל", +'may_long' => "מאי", +'june' => "יוני", +'july' => "יולי", +'august' => "אוגוסט", +'september' => "ספטמבר", +'october' => "אוקטובר", +'november' => "נובמבר", +'december' => "דצמבר", +'jan' => "ינו'", +'feb' => "פבר'", +'mar' => "מרץ", +'apr' => "אפר'", +'may' => "מאי", +'jun' => "יוני", +'jul' => "יולי", +'aug' => "אוג'", +'sep' => "ספט'", +'oct' => "אוק'", +'nov' => "נוב'", +'dec' => "דצמ'", # Bits of text used by many pages: # "linktrail" => "/^([a-z]+)(.*)\$/sD", @@ -835,24 +854,6 @@ class LanguageHe extends LanguageUtf8 { return $wgUserTogglesHe; } - function getMonthName( $key ) - { - global $wgMonthNamesHe; - return $wgMonthNamesHe[$key-1]; - } - - function getMonthAbbreviation( $key ) - { - global $wgMonthAbbreviationsHe; - return $wgMonthAbbreviationsHe[$key-1]; - } - - function getWeekdayName( $key ) - { - global $wgWeekdayNamesHe; - return $wgWeekdayNamesHe[$key-1]; - } - function getValidSpecialPages() { global $wgValidSpecialPagesHe; diff --git a/languages/LanguageHi.php b/languages/LanguageHi.php index e265d9edec..f1ca940318 100644 --- a/languages/LanguageHi.php +++ b/languages/LanguageHi.php @@ -27,19 +27,43 @@ require_once( "LanguageUtf8.php" ); ) + $wgNamespaceNamesEn; -/* private */ $wgWeekdayNamesHi = array( - "रविवार", "सोमवार", "मंगलवार", "बुधवार", "गुरुवार", - "शुक्रवार", "शनिवार" -); - -/* private */ $wgMonthNamesHi = array( - "जनवरी", "फरवरी", "मार्च", "अप्रैल", "मई", "जून", - "जुलाई", "अगस्त", "सितम्बर", "अक्टूबर", "नवम्बर", - "दिसम्बर" -); /* private */ $wgAllMessagesHi = array( +# Dates +# +'sunday' => "रविवार", +'monday' => "सोमवार", +'tuesday' => "मंगलवार", +'wednesday' => "बुधवार", +'thursday' => "गुरुवार", +'friday' => "शुक्रवार", +'saturday' => "शनिवार", +'january' => "जनवरी", +'february' => "फरवरी", +'march' => "मार्च", +'april' => "अप्रैल", +'may_long' => "मई", +'june' => "जून", +'july' => "जुलाई", +'august' => "अगस्त", +'september' => "सितम्बर", +'october' => "अक्टूबर", +'november' => "नवम्बर", +'december' => "दिसम्बर", +'jan' => "जनवरी", +'feb' => "फरवरी", +'mar' => "मार्च", +'apr' => "अप्रैल", +'may' => "मई", +'jun' => "जून", +'jul' => "जुलाई", +'aug' => "अगस्त", +'sep' => "सितम्बर", +'oct' => "अक्टूबर", +'nov' => "नवम्बर", +'dec' => "दिसम्बर", + # Bits of text used by many pages: # "linktrail" => "/^([a-z]+)(.*)\$/sD", @@ -153,12 +177,6 @@ class LanguageHi extends LanguageUtf8 { return false; } - function getMonthName( $key ) - { - global $wgMonthNamesHi; - return $wgMonthNamesHi[$key-1]; - } - function getMessage( $key ) { global $wgAllMessagesHi; diff --git a/languages/LanguageHu.php b/languages/LanguageHu.php index 67ba71256b..07156b10c1 100644 --- a/languages/LanguageHu.php +++ b/languages/LanguageHu.php @@ -82,21 +82,6 @@ require_once("LanguageUtf8.php"); /* Language names should be the native names. Inherit common array from Language.php */ -/* private */ $wgWeekdayNamesHu = array( - "vasárnap", "hétfő", "kedd", "szerda", "csütörtök", - "péntek", "szombat" -); - -/* private */ $wgMonthNamesHu = array( - "január", "február", "március", "április", "május", "június", - "július", "augusztus", "szeptember", "október", "november", - "december" -); - -/* private */ $wgMonthAbbreviationsHu = array( - "Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug", - "Sep", "Okt", "Nov", "Dec" -); # All special pages have to be listed here: a description of "" # will make them not show up on the "Special Pages" page, which @@ -152,6 +137,41 @@ require_once("LanguageUtf8.php"); /* private */ $wgAllMessagesHu = array( +# Dates +# + +'sunday' => "vasárnap", +'monday' => "hétfő", +'tuesday' => "kedd", +'wednesday' => "szerda", +'thursday' => "csütörtök", +'friday' => "péntek", +'saturday' => "szombat", +'january' => "január", +'february' => "február", +'march' => "március", +'april' => "április", +'may_long' => "május", +'june' => "június", +'july' => "július", +'august' => "augusztus", +'september' => "szeptember", +'october' => "október", +'november' => "november", +'december' => "december", +'jan' => "Jan", +'feb' => "Feb", +'mar' => "Már", +'apr' => "Ápr", +'may' => "Máj", +'jun' => "Jún", +'jul' => "Júl", +'aug' => "Aug", +'sep' => "Sep", +'oct' => "Okt", +'nov' => "Nov", +'dec' => "Dec", + # Bits of text used by many pages: # "categories" => "Lapkategóriák", @@ -1053,7 +1073,7 @@ rendszerbe való importálásra, átalakításra vagy a saját szórakoztatásod # Namespace 8 related "allmessages" => "All_messages", -"allmessagestext" => "Ez a MediaWiki: névtérben elérhető összes üzenet listája" +"allmessagestext" => "Ez a MediaWiki: névtérben elérhető összes üzenet listája", # Math @@ -1113,26 +1133,6 @@ class LanguageHu extends LanguageUtf8 { return $wgUserTogglesHu; } - /* inherit common getLanguageNames() */ - - function getMonthName( $key ) - { - global $wgMonthNamesHu; - return $wgMonthNamesHu[$key-1]; - } - - function getMonthAbbreviation( $key ) - { - global $wgMonthAbbreviationsHu; - return $wgMonthAbbreviationsHu[$key-1]; - } - - function getWeekdayName( $key ) - { - global $wgWeekdayNamesHu; - return $wgWeekdayNamesHu[$key-1]; - } - function getValidSpecialPages() { global $wgValidSpecialPagesHu; diff --git a/languages/LanguageIa.php b/languages/LanguageIa.php index 6cdf470d53..57cf07f2be 100644 --- a/languages/LanguageIa.php +++ b/languages/LanguageIa.php @@ -68,21 +68,6 @@ "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1" ); -/* private */ $wgWeekdayNamesIa = array( - "dominica", "lunedi", "martedi", "mercuridi", "jovedi", - "venerdi", "sabbato" -); - -/* private */ $wgMonthNamesIa = array( - "januario", "februario", "martio", "april", "maio", "junio", - "julio", "augusto", "septembre", "octobre", "novembre", - "decembre" -); - -/* private */ $wgMonthAbbreviationsIa = array( - "jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", - "sep", "oct", "nov", "dec" -); # All special pages have to be listed here: a description of "" # will make them not show up on the "Special Pages" page, which @@ -137,6 +122,42 @@ /* private */ $wgAllMessagesIa = array( +# dates +# + +'sunday' => 'dominica', +'monday' => 'lunedi', +'tuesday' => 'martedi', +'wednesday' => 'mercuridi', +'thursday' => 'jovedi', +'friday' => 'venerdi', +'saturday' => 'sabbato', +'january' => 'januario', +'february' => 'februario', +'march' => 'martio', +'april' => 'april', +'may_long' => 'maio', +'june' => 'junio', +'july' => 'julio', +'august' => 'augusto', +'september' => 'septembre', +'october' => 'octobre', +'november' => 'novembre', +'december' => 'decembre', +'jan' => 'jan', +'feb' => 'feb', +'mar' => 'mar', +'apr' => 'apr', +'may' => 'mai', +'jun' => 'jun', +'jul' => 'jul', +'aug' => 'aug', +'sep' => 'sep', +'oct' => 'oct', +'nov' => 'nov', +'dec' => 'dec', + + # Bits of text used by many pages: # "linktrail" => "/^([a-z]+)(.*)\$/sD", @@ -966,24 +987,6 @@ class LanguageIa extends LanguageUtf8 { return $wgUserTogglesIa; } - function getMonthName( $key ) - { - global $wgMonthNamesIa; - return $wgMonthNamesIa[$key-1]; - } - - function getMonthAbbreviation( $key ) - { - global $wgMonthAbbreviationsIa; - return $wgMonthAbbreviationsIa[$key-1]; - } - - function getWeekdayName( $key ) - { - global $wgWeekdayNamesIa; - return $wgWeekdayNamesIa[$key-1]; - } - function date( $ts, $adj = false ) { if ( $adj ) { $ts = $this->userAdjust( $ts ); } diff --git a/languages/LanguageJa.php b/languages/LanguageJa.php index c004dfc925..113bf30acf 100644 --- a/languages/LanguageJa.php +++ b/languages/LanguageJa.php @@ -68,24 +68,10 @@ require_once( "LanguageUtf8.php" ); "nocache" => "ページをキャッシュしない" ); -/* private */ $wgWeekdayNamesJa = array( - "日曜日", "月曜日", "火曜日", "水曜日", "木曜日", - "金曜日", "土曜日" -); - /* private */ $wgWeekdayAbbreviationsJa = array( "日", "月", "火", "水", "木", "金", "土" ); -/* private */ $wgMonthNamesJa = array( - "1月", "2月", "3月", "4月", "5月", "6月", - "7月", "8月", "9月", "10月", "11月", "12月" -); - -/* private */ $wgMonthAbbreviationsJa = array( - "1月", "2月", "3月", "4月", "5月", "6月", - "7月", "8月", "9月", "10月", "11月", "12月" -); # All special pages have to be listed here: a description of "" # will make them not show up on the "Special Pages" page, which @@ -141,6 +127,39 @@ require_once( "LanguageUtf8.php" ); ); /* private */ $wgAllMessagesJa = array( +# Dates + +'sunday' => "日曜日", +'monday' => "月曜日", +'tuesday' => "火曜日", +'wednesday' => "水曜日", +'thursday' => "木曜日", +'friday' => "金曜日", +'saturday' => "土曜日", +'january' => "1月", +'february' => "2月", +'march' => "3月", +'april' => "4月", +'may_long' => "5月", +'june' => "6月", +'july' => "7月", +'august' => "8月", +'september' => "9月", +'october' => "10月", +'november' => "11月", +'december' => "12月", +'jan' => "1月", +'feb' => "2月", +'mar' => "3月", +'apr' => "4月", +'may' => "5月", +'jun' => "6月", +'jul' => "7月", +'aug' => "8月", +'sep' => "9月", +'oct' => "10月", +'nov' => "11月", +'dec' => "12月", # Bits of text used by many pages: # @@ -958,24 +977,6 @@ class LanguageJa extends LanguageUtf8 { return $wgUserTogglesJa; } - function getMonthName( $key ) - { - global $wgMonthNamesJa; - return $wgMonthNamesJa[$key-1]; - } - - function getMonthAbbreviation( $key ) - { - global $wgMonthAbbreviationsJa; - return $wgMonthAbbreviationsJa[$key-1]; - } - - function getWeekdayName( $key ) - { - global $wgWeekdayNamesJa; - return $wgWeekdayNamesJa[$key-1]; - } - # Inherit default userAdjust() function date( $ts, $adj = false ) diff --git a/languages/LanguageKo.php b/languages/LanguageKo.php index 9635dcbaee..150c47e708 100644 --- a/languages/LanguageKo.php +++ b/languages/LanguageKo.php @@ -73,10 +73,6 @@ require_once( "LanguageUtf8.php" ); "Aladdin.co.kr" => "http://www.aladdin.co.kr/catalog/book.asp?ISBN=$1" ); -/* private */ $wgWeekdayNamesKo = array( - "일요일", "월요일", "화요일", "수요일", "목요일", - "금요일", "토요일" -); # (Okay, I think I got it right now. This can be adjusted @@ -93,16 +89,6 @@ require_once( "LanguageUtf8.php" ); "金", "土" ); -/* private */ $wgMonthNamesKo = array( - "1월", "2월", "3월", "4월", "5월", "6월", - "7월", "8월", "9월", "10월", "11월", - "12월" -); - -/* private */ $wgMonthAbbreviationsKo = array( - "1", "2", "3", "4", "5", "6", "7", "8", - "9", "10", "11", "12" -); # All special pages have to be listed here: a description of "" # will make them not show up on the "Special Pages" page, which @@ -164,6 +150,39 @@ require_once( "LanguageUtf8.php" ); /* private */ $wgAllMessagesKo = array( +# Dates + +'sunday' => "일요일", +'monday' => "월요일", +'tuesday' => "화요일", +'wednesday' => "수요일", +'thursday' => "목요일", +'friday' => "금요일", +'saturday' => "토요일", +'january' => "1월", +'february' => "2월", +'march' => "3월", +'april' => "4월", +'may_long' => "5월", +'june' => "6월", +'july' => "7월", +'august' => "8월", +'september' => "9월", +'october' => "10월", +'november' => "11월", +'december' => "12월", +'jan' => "1", +'feb' => "2", +'mar' => "3", +'apr' => "4", +'may' => "5", +'jun' => "6", +'jul' => "7", +'aug' => "8", +'sep' => "9", +'oct' => "10", +'nov' => "11", +'dec' => "12", # Bits of text used by many pages: # "mainpage" => "대문", @@ -917,24 +936,6 @@ class LanguageKo extends LanguageUtf8 { return $wgUserTogglesKo; } - function getMonthName( $key ) - { - global $wgMonthNamesKo; - return $wgMonthNamesKo[$key-1]; - } - - function getMonthAbbreviation( $key ) - { - global $wgMonthAbbreviationsKo; - return $wgMonthAbbreviationsKo[$key-1]; - } - - function getWeekdayName( $key ) - { - global $wgWeekdayNamesKo; - return $wgWeekdayNamesKo[$key-1]; - } - # Inherit default userAdjust() function date( $ts, $adj = false ) @@ -942,13 +943,13 @@ class LanguageKo extends LanguageUtf8 { global $wgWeekdayAbbreviationsKo; if ( $adj ) { $ts = $this->userAdjust( $ts ); } - # This is horribly inefficient; I need to rework this - $x = getdate(mktime(( (int)substr( $ts, 8, 2) ) + $diff, - (int)substr( $ts, 10, 2 ), (int)substr( $ts, 12, 2 ), - (int)substr( $ts, 4, 2 ), (int)substr( $ts, 6, 2 ), - (int)substr( $ts, 0, 4 ))); - - $d = substr( $ts, 0, 4 ) . "년 " . + # This is horribly inefficient; I need to rework this + $x = getdate(mktime(( (int)substr( $ts, 8, 2) ) + $diff, + (int)substr( $ts, 10, 2 ), (int)substr( $ts, 12, 2 ), + (int)substr( $ts, 4, 2 ), (int)substr( $ts, 6, 2 ), + (int)substr( $ts, 0, 4 ))); + + $d = substr( $ts, 0, 4 ) . "년 " . $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) . "월 " . (0 + substr( $ts, 6, 2 )) . "일 " . "(" . $wgWeekdayAbbreviationsKo[$x["wday"]] . ")"; diff --git a/languages/LanguageLa.php b/languages/LanguageLa.php index da02e00d25..f51395fb6f 100644 --- a/languages/LanguageLa.php +++ b/languages/LanguageLa.php @@ -66,21 +66,6 @@ "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1" ); -/* private */ $wgWeekdayNamesLa = array( - "dies Solis", "dies Lunae", "dies Martis", "dies Mercuri", "dies Iovis", - "dies Veneris", "dies Saturni" -); - -/* private */ $wgMonthNamesLa = array( - "Ianuarii", "Februarii", "Martii", "Aprilis", "Maii", "Iunii", - "Iulii", "Augusti", "Septembri", "Octobri", "Novembri", - "Decembri" -); - -/* private */ $wgMonthAbbreviationsLa = array( - "ian", "feb", "mar", "apr", "mai", "iun", "iul", "aug", - "sep", "oct", "nov", "dec" -); # All special pages have to be listed here: a description of "" # will make them not show up on the "Special Pages" page, which @@ -135,6 +120,40 @@ ); $wgAllMessagesLa = array( +# Dates + +'sunday' => 'dies Solis', +'monday' => 'dies Lunae', +'tuesday' => 'dies Martis', +'wednesday' => 'dies Mercuri', +'thursday' => 'dies Iovis', +'friday' => 'dies Veneris', +'saturday' => 'dies Saturni', +'january' => 'Ianuarii', +'february' => 'Februarii', +'march' => 'Martii', +'april' => 'Aprilis', +'may_long' => 'Maii', +'june' => 'Iunii', +'july' => 'Iulii', +'august' => 'Augusti', +'september' => 'Septembri', +'october' => 'Octobri', +'november' => 'Novembri', +'december' => 'Decembri', +'jan' => 'ian', +'feb' => 'feb', +'mar' => 'mar', +'apr' => 'apr', +'may' => 'mai', +'jun' => 'iun', +'jul' => 'iul', +'aug' => 'aug', +'sep' => 'sep', +'oct' => 'oct', +'nov' => 'nov', +'dec' => 'dec', + # Math 'mw_math_png' => "Semper vertere PNG", 'mw_math_simple' => "HTML si admodum simplex, alioqui PNG", @@ -182,24 +201,6 @@ class LanguageLa extends LanguageUtf8 { return $wgUserTogglesLa; } - function getMonthName( $key ) - { - global $wgMonthNamesLa; - return $wgMonthNamesLa[$key-1]; - } - - function getMonthAbbreviation( $key ) - { - global $wgMonthAbbreviationsLa; - return $wgMonthAbbreviationsLa[$key-1]; - } - - function getWeekdayName( $key ) - { - global $wgWeekdayNamesLa; - return $wgWeekdayNamesLa[$key-1]; - } - function date( $ts, $adj = false ) { if ( $adj ) { $ts = $this->userAdjust( $ts ); } diff --git a/languages/LanguageMs.php b/languages/LanguageMs.php index c891e0ca91..40adff3797 100644 --- a/languages/LanguageMs.php +++ b/languages/LanguageMs.php @@ -79,21 +79,6 @@ "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1" ); -/* private */ $wgWeekdayNamesMs = array( - "Ahad", "Isnin", "Selasa", "Rabu", "Khamis", - "Jumaat", "Sabtu" -); - -/* private */ $wgMonthNamesMs = array( - "Januari", "Februari", "Mac", "April", "Mei", "Jun", - "Julai", "Ogos", "September", "Oktober", "November", - "Disember" -); - -/* private */ $wgMonthAbbreviationsMs = array( - "Jan", "Feb", "Mac", "Apr", "May", "Jun", "Jul", "Aug", - "Sep", "Okt", "Nov", "Dis" -); # All special pages have to be listed here: a description of "" # will make them not show up on the "Special Pages" page, which @@ -148,6 +133,41 @@ /* private */ $wgAllMessagesMs = array( +# Dates + +'sunday' => 'Ahad', +'monday' => 'Isnin', +'tuesday' => 'Selasa', +'wednesday' => 'Rabu', +'thursday' => 'Khamis', +'friday' => 'Jumaat', +'saturday' => 'Sabtu', +'january' => 'Januari', +'february' => 'Februari', +'march' => 'Mac', +'april' => 'April', +'may_long' => 'Mei', +'june' => 'Jun', +'july' => 'Julai', +'august' => 'Ogos', +'september' => 'September', +'october' => 'Oktober', +'november' => 'November', +'december' => 'Disember', +'jan' => 'Jan', +'feb' => 'Feb', +'mar' => 'Mac', +'apr' => 'Apr', +'may' => 'May', +'jun' => 'Jun', +'jul' => 'Jul', +'aug' => 'Aug', +'sep' => 'Sep', +'oct' => 'Okt', +'nov' => 'Nov', +'dec' => 'Dis', + + # Bits of text used by many pages: # "linktrail" => "/^([a-z]+)(.*)\$/sD", @@ -1012,37 +1032,6 @@ class LanguageMs extends LanguageUtf8 { return $wgUserTogglesMs; } - function getMonthName( $key ) - { - global $wgMonthNamesMs; - return $wgMonthNamesMs[$key-1]; - } - - /* by default we just return base form */ - function getMonthNameGen( $key ) - { - global $wgMonthNamesMs; - return $wgMonthNamesMs[$key-1]; - } - - function getMonthRegex() - { - global $wgMonthNamesMs; - return implode( "|", $wgMonthNamesMs ); - } - - function getMonthAbbreviation( $key ) - { - global $wgMonthAbbreviationsMs; - return $wgMonthAbbreviationsMs[$key-1]; - } - - function getWeekdayName( $key ) - { - global $wgWeekdayNamesMs; - return $wgWeekdayNamesMs[$key-1]; - } - function getValidSpecialPages() { global $wgValidSpecialPagesMs;