r1694 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r1693‎ | r1694 | r1695 >
Date:06:19, 21 September 2003
Author:vibber
Status:old
Tags:
Comment:
Add nds, nah links; remove dupe language list from es
Modified paths:
  • /branches/stable/phase3/includes/Interwiki.php (modified) (history)
  • /branches/stable/phase3/languages/Language.php (modified) (history)
  • /branches/stable/phase3/languages/LanguageEs.php (modified) (history)

Diff [purge]

Index: branches/stable/phase3/includes/Interwiki.php
@@ -203,6 +203,8 @@
204204 "ms" => "http://ms.wikipedia.org/wiki/$1",
205205 "my" => "http://my.wikipedia.org/wiki/$1",
206206 "na" => "http://na.wikipedia.org/wiki/$1",
 207+ "nah" => "http://nah.wikipedia.org/wiki/$1",
 208+ "nds" => "http://nds.wikipedia.org/wiki/$1",
207209 "ne" => "http://ne.wikipedia.org/wiki/$1",
208210 "nl" => "http://nl.wikipedia.org/wiki/$1",
209211 "no" => "http://no.wikipedia.org/wiki/$1",
@@ -264,7 +266,6 @@
265267 "zh-cn" => "http://zh.wikipedia.org/wiki/$1",
266268 "zh-tw" => "http://zh.wikipedia.org/wiki/$1",
267269 "zu" => "http://zu.wikipedia.org/wiki/$1",
268 - "nds" => "http://nds.wikipedia.org/wiki/$1"
269270 );
270271 foreach($WikiPediaLanguages as $code => $url) {
271272 $wgValidInterwikis[ucfirst($code) . "WikiPedia"] = $url;
Index: branches/stable/phase3/languages/LanguageEs.php
@@ -60,149 +60,6 @@
6161 "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
6262 );
6363
64 -/* Where known, these should be native names and spellings of
65 - languages, so the speakers can recognize them. */
66 -/* private */ $wgLanguageNamesEs = array(
67 - "aa" => "Afar",
68 - "ab" => "Abkhaziano",
69 - "af" => "Afrikaans",
70 - "sq" => "Shqip", #(alban�s)
71 - "am" => "Amh�rico",
72 - "ar" => "‮العربية‬", #('�raby, �rabe)
73 - "hy" => "Armenio",
74 - "as" => "Assamese",
75 - "ay" => "Aymara",
76 - "az" => "Azerbaijani",
77 - "ba" => "Bashkir",
78 - "eu" => "Euskara", #(vasco)
79 - "be" => "Bielorruso",
80 - "bn" => "Bengal�",
81 - "bs" => "Bosanski", #(bosnio)
82 - "dz" => "Bhutan�",
83 - "bh" => "Bihara",
84 - "bi" => "Bislama",
85 - "my" => "Birmano",
86 - "km" => "Camboyano",
87 - "ca" => "Catal�", #(catal�n)
88 - "co" => "Corso",
89 - "hr" => "Hrvatski", #(croata)
90 - "cs" => "Česk�", #(checo)
91 - "da" => "Dansk", # Note two different subdomains. (dan�s)
92 - "dk" => "Dansk", # 'da' is correct for the language. (dan�s)
93 - "nl" => "Nederlands", #(Holand�s)
94 - "en" => "English", #(ingl�s)
95 - "simple" => "Simple English", #(ingl�s simplificado)
96 - "eo" => "Esperanto",
97 - "et" => "Eesti", #(estonio o estoniano)
98 - "fo" => "Fero�s",
99 - "fj" => "Fiji�s",
100 - "fi" => "Suomi", #(finland�s o fin�s)
101 - "fr" => "Français", #(franc�s)
102 - "fy" => "Frisio",
103 - "gl" => "Gallego",
104 - "ka" => "Georgiano",
105 - "de" => "Deutsch", #(alem�n)
106 - "el" => "Ελληνικά", #(elinik�, griego)
107 - "cy" => "Cymraeg", #(gal�s)
108 - "kl" => "Groenland�s",
109 - "gn" => "Guaran�",
110 - "gu" => "ગુજરાતી", #(gujarat�)
111 - "ha" => "Hausa",
112 - "he" => "עברית", #(ivrit, hebreo)
113 - "hi" => "हिन्दी", #(hindi)
114 - "hu" => "Magyar", #(h�ngaro)
115 - "is" => "Island�s",
116 - "id" => "Bahasa Indonesia", #(indonesio)
117 - "ia" => "Interlingua",
118 - "iu" => "Inuktitut", #(esquimal)
119 - "ik" => "Inupiak",
120 - "ga" => "Irland�s",
121 - "it" => "Italiano",
122 - "ja" => "日本語", #(japon�s)
123 - "jv" => "Javan�s",
124 - "ka" => "ქართველი", #(Kartuli)",
125 - "kn" => "Kannada",
126 - "ks" => "Kashmir (Cachemiro)",
127 - "kk" => "Kazakh (Cazaco)",
128 - "rw" => "Kinyarwanda",
129 - "ky" => "Kirghiz",
130 - "rn" => "Kirundi",
131 - "ko" => "한국어", #(Hangukeo, coreano)
132 - "lo" => "Laotiano",
133 - "la" => "Latina", #(lat�n)
134 - "lv" => "Let�n",
135 - "ln" => "Lingala",
136 - "lt" => "Lituano",
137 - "mk" => "Macedonio",
138 - "mg" => "Malagasy (Malgache)",
139 - "ms" => "Bahasa Melayu", #(malayo)
140 - "ml" => "Malayalam",
141 - "mi" => "Maor�",
142 - "mr" => "Marathi",
143 - "mo" => "Moldavo",
144 - "mn" => "Mongol",
145 - "na" => "Nauru",
146 - "ne" => "Nepal�",
147 - "no" => "Noruego",
148 - "oc" => "Occitano",
149 - "or" => "Oriya",
150 - "om" => "Oromo",
151 - "ps" => "Pashto",
152 - "fa" => "Persa",
153 - "pl" => "Polski", #(polaco)
154 - "pt" => "Português", #(portugu�s)
155 - "pa" => "Punjab�",
156 - "qu" => "Quechua",
157 - "rm" => "Rhaeto-Romance (Retorrom�nico)",
158 - "ro" => "Rumano",
159 - "ru" => "Русский", #(Russkiy, Ruso)
160 - "sm" => "Samoano",
161 - "sg" => "Sangro",
162 - "sa" => "S�nscrito",
163 - "sr" => "Српски", #(Srpski, Serbio)
164 - "sh" => "Serbocroata",
165 - "st" => "Sesotho",
166 - "tn" => "Setswana",
167 - "sn" => "Shona",
168 - "sd" => "Sindhi",
169 - "si" => "Cingal�s",
170 - "ss" => "Siswati",
171 - "sk" => "Eslovaco",
172 - "sl" => "Esloveno",
173 - "so" => "Somal�",
174 - "es" => "Castellano",
175 - "su" => "Sudan�s",
176 - "sw" => "Swahili (Suahel�)",
177 - "sv" => "Svensk (Sueco)",
178 - "tl" => "Tagalog (T�galo)",
179 - "tg" => "Tajik (Tayico)",
180 - "ta" => "Tamil",
181 - "tt" => "Tatar",
182 - "te" => "Telugu",
183 - "th" => "Tailand�s",
184 - "bo" => "Tibetano",
185 - "ti" => "Tigrinya",
186 - "to" => "Tonga",
187 - "ts" => "Tsonga",
188 - "tr" => "Türkçe", #(turco)
189 - "tk" => "Turcomano",
190 - "tw" => "Twi",
191 - "ug" => "Uighur",
192 - "uk" => "Українська", #(ucraniano)
193 - "ur" => "Urdu",
194 - "uz" => "Uzbek (Uzbeco)",
195 - "vi" => "Vietnamita",
196 - "vo" => "Volap�k",
197 - "cy" => "Gal�s",
198 - "wo" => "Wolof",
199 - "xh" => "Xhosa",
200 - "yi" => "Yiddish",
201 - "yo" => "Yoruba",
202 - "za" => "Zhuang",
203 - "zh" => "中文 (Zhongwen,Chino)",
204 - "zu" => "Zul�"
205 -);
206 -
20764 /* private */ $wgWeekdayNamesEs = array(
20865 "Domingo", "Lunes", "Martes", "Mi�rcoles", "Jueves",
20966 "Viernes", "S�bado"
@@ -1060,20 +917,6 @@
1061918 }
1062919
1063920
1064 -
1065 - function getLanguageNames() {
1066 - global $wgLanguageNamesEn;
1067 - return $wgLanguageNamesEn;
1068 - }
1069 -
1070 - function getLanguageName( $code ) {
1071 - global $wgLanguageNamesEs;
1072 - if ( ! array_key_exists( $code, $wgLanguageNamesEs ) ) {
1073 - return "";
1074 - }
1075 - return $wgLanguageNamesEs[$code];
1076 - }
1077 -
1078921 function getMonthName( $key )
1079922 {
1080923 global $wgMonthNamesEs;
Index: branches/stable/phase3/languages/Language.php
@@ -166,6 +166,8 @@
167167 "ms" => "Bahasa Melayu",
168168 "my" => "Burmese",
169169 "na" => "Nauru",
 170+ "nah" => "Nahuatl",
 171+ "nds" => "Plattdüütsch",
170172 "ne" => "नेपाली (Nepali)",
171173 "nl" => "Nederlands",
172174 "no" => "Norsk",

Status & tagging log