r5312 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r5311‎ | r5312 | r5313 >
Date:00:32, 20 September 2004
Author:zhengzhu
Status:old
Tags:
Comment:
removed getMonth*() and getWeekdayname() since these are now handled through wfMsg()
Modified paths:
  • /trunk/phase3/languages/LanguageZh_tw.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/LanguageZh_tw.php
@@ -1005,31 +1005,7 @@
10061006 return $wgUserTogglesZh_tw;
10071007 }
10081008
1009 - function getMonthName( $key )
1010 - {
1011 - global $wgMonthNamesZh_tw;
1012 - return $wgMonthNamesZh_tw[$key-1];
1013 - }
10141009
1015 - /* by default we just return base form */
1016 - function getMonthNameGen( $key )
1017 - {
1018 - global $wgMonthNamesZh_tw;
1019 - return $wgMonthNamesZh_tw[$key-1];
1020 - }
1021 -
1022 - function getMonthAbbreviation( $key )
1023 - {
1024 - global $wgMonthAbbreviationsZh_tw;
1025 - return $wgMonthAbbreviationsZh_tw[$key-1];
1026 - }
1027 -
1028 - function getWeekdayName( $key )
1029 - {
1030 - global $wgWeekdayNamesZh_tw;
1031 - return $wgWeekdayNamesZh_tw[$key-1];
1032 - }
1033 -
10341010 function getValidSpecialPages()
10351011 {
10361012 global $wgValidSpecialPagesZh_tw;

Status & tagging log