MediaWiki  1.23.2
Names.php
Go to the documentation of this file.
1 <?php
40 /* private */ $coreLanguageNames = array(
41  'aa' => 'Qafár af', # Afar
42  'ab' => 'Аҧсшәа', # Abkhaz
43  'ace' => 'Acèh', # Aceh
44  'af' => 'Afrikaans', # Afrikaans
45  'ak' => 'Akan', # Akan
46  'aln' => 'Gegë', # Gheg Albanian
47  'als' => 'Alemannisch', # Alemannic -- not a valid code, for compatibility. See gsw.
48  'am' => 'አማርኛ', # Amharic
49  'an' => 'aragonés', # Aragonese
50  'ang' => 'Ænglisc', # Old English, bug 23283
51  'anp' => 'अङ्गिका', # Angika
52  'ar' => 'العربية', # Arabic
53  'arc' => 'ܐܪܡܝܐ', # Aramaic
54  'arn' => 'mapudungun', # Mapuche, Mapudungu, Araucanian (Araucano)
55  'arq' => 'جزائري', # Algerian Spoken Arabic
56  'ary' => 'Maġribi', # Moroccan Spoken Arabic
57  'arz' => 'مصرى', # Egyptian Spoken Arabic
58  'as' => 'অসমীয়া', # Assamese
59  'ast' => 'asturianu', # Asturian
60  'av' => 'авар', # Avar
61  'avk' => 'Kotava', # Kotava
62  'ay' => 'Aymar aru', # Aymara
63  'az' => 'azərbaycanca', # Azerbaijani
64  'azb' => 'تورکجه', # South Azerbaijani
65  'ba' => 'башҡортса', # Bashkir
66  'bar' => 'Boarisch', # Bavarian (Austro-Bavarian and South Tyrolean)
67  'bat-smg' => 'žemaitėška', # Samogitian (deprecated code, 'sgs' in ISO 693-3 since 2010-06-30 )
68  'bbc' => 'Batak Toba', # Batak Toba (falls back to bbc-latn)
69  'bbc-latn' => 'Batak Toba', # Batak Toba
70  'bcc' => 'بلوچی مکرانی', # Southern Balochi
71  'bcl' => 'Bikol Central', # Bikol: Central Bicolano language
72  'be' => 'беларуская', # Belarusian normative
73  'be-tarask' => "беларуская (тарашкевіца)\xE2\x80\x8E", # Belarusian in Taraskievica orthography
74  'be-x-old' => "беларуская (тарашкевіца)\xE2\x80\x8E", # (be-tarask compat)
75  'bg' => 'български', # Bulgarian
76  'bh' => 'भोजपुरी', # Bihari macro language. Falls back to Bhojpuri (bho)
77  'bho' => 'भोजपुरी', # Bhojpuri
78  'bi' => 'Bislama', # Bislama
79  'bjn' => 'Bahasa Banjar', # Banjarese
80  'bm' => 'bamanankan', # Bambara
81  'bn' => 'বাংলা', # Bengali
82  'bo' => 'བོད་ཡིག', # Tibetan
83  'bpy' => 'বিষ্ণুপ্রিয়া মণিপুরী', # Bishnupriya Manipuri
84  'bqi' => 'بختياري', # Bakthiari
85  'br' => 'brezhoneg', # Breton
86  'brh' => 'Bráhuí', # Brahui
87  'bs' => 'bosanski', # Bosnian
88  'bug' => 'ᨅᨔ ᨕᨘᨁᨗ', # Buginese
89  'bxr' => 'буряад', # Buryat (Russia)
90  'ca' => 'català', # Catalan
91  'cbk-zam' => 'Chavacano de Zamboanga', # Zamboanga Chavacano
92  'cdo' => 'Mìng-dĕ̤ng-ngṳ̄', # Min Dong
93  'ce' => 'нохчийн', # Chechen
94  'ceb' => 'Cebuano', # Cebuano
95  'ch' => 'Chamoru', # Chamorro
96  'cho' => 'Choctaw', # Choctaw
97  'chr' => 'ᏣᎳᎩ', # Cherokee
98  'chy' => 'Tsetsêhestâhese', # Cheyenne
99  'ckb' => 'کوردی', # Sorani. The name actually says "Kurdi" (Kurdish).
100  'co' => 'corsu', # Corsican
101  'cps' => 'Capiceño', # Capiznon
102  'cr' => 'Nēhiyawēwin / ᓀᐦᐃᔭᐍᐏᐣ', # Cree
103  'crh' => 'qırımtatarca', # Crimean Tatar (multiple scripts - defaults to Latin)
104  'crh-latn' => "qırımtatarca (Latin)\xE2\x80\x8E", # Crimean Tatar (Latin)
105  'crh-cyrl' => "къырымтатарджа (Кирилл)\xE2\x80\x8E", # Crimean Tatar (Cyrillic)
106  'cs' => 'čeština', # Czech
107  'csb' => 'kaszëbsczi', # Cassubian
108  'cu' => 'словѣньскъ / ⰔⰎⰑⰂⰡⰐⰠⰔⰍⰟ', # Old Church Slavonic (ancient language)
109  'cv' => 'Чӑвашла', # Chuvash
110  'cy' => 'Cymraeg', # Welsh
111  'da' => 'dansk', # Danish
112  'de' => 'Deutsch', # German ("Du")
113  'de-at' => 'Österreichisches Deutsch', # Austrian German
114  'de-ch' => 'Schweizer Hochdeutsch', # Swiss Standard German
115  'de-formal' => "Deutsch (Sie-Form)\xE2\x80\x8E", # German - formal address ("Sie")
116  'diq' => 'Zazaki', # Zazaki
117  'dsb' => 'dolnoserbski', # Lower Sorbian
118  'dtp' => 'Dusun Bundu-liwan', # Central Dusun
119  'dv' => 'ދިވެހިބަސް', # Dhivehi
120  'dz' => 'ཇོང་ཁ', # Dzongkha (Bhutan)
121  'ee' => 'eʋegbe', # Éwé
122  'egl' => 'Emiliàn', # Emilian
123  'el' => 'Ελληνικά', # Greek
124  'eml' => 'emiliàn e rumagnòl', # Emiliano-Romagnolo / Sammarinese
125  'en' => 'English', # English
126  'en-ca' => 'Canadian English', # Canadian English
127  'en-gb' => 'British English', # British English
128  'eo' => 'Esperanto', # Esperanto
129  'es' => 'español', # Spanish
130  'et' => 'eesti', # Estonian
131  'eu' => 'euskara', # Basque
132  'ext' => 'estremeñu', # Extremaduran
133  'fa' => 'فارسی', # Persian
134  'ff' => 'Fulfulde', # Fulfulde, Maasina
135  'fi' => 'suomi', # Finnish
136  'fit' => 'meänkieli', # Tornedalen Finnish
137  'fiu-vro' => 'Võro', # Võro (deprecated code, 'vro' in ISO 639-3 since 2009-01-16)
138  'fj' => 'Na Vosa Vakaviti', # Fijian
139  'fo' => 'føroyskt', # Faroese
140  'fr' => 'français', # French
141  'frc' => 'français cadien', # Cajun French
142  'frp' => 'arpetan', # Franco-Provençal/Arpitan
143  'frr' => 'Nordfriisk', # North Frisian
144  'fur' => 'furlan', # Friulian
145  'fy' => 'Frysk', # Frisian
146  'ga' => 'Gaeilge', # Irish
147  'gag' => 'Gagauz', # Gagauz
148  'gan' => '贛語', # Gan (multiple scripts - defaults to Traditional)
149  'gan-hans' => "赣语(简体)\xE2\x80\x8E", # Gan (Simplified Han)
150  'gan-hant' => "贛語(繁體)\xE2\x80\x8E", # Gan (Traditional Han)
151  'gd' => 'Gàidhlig', # Scots Gaelic
152  'gl' => 'galego', # Galician
153  'glk' => 'گیلکی', # Gilaki
154  'gn' => 'Avañe\'ẽ', # Guaraní, Paraguayan
155  'gom-latn' => 'Konknni', # Goan Konkani (Latin script)
156  'got' => '𐌲𐌿𐍄𐌹𐍃𐌺', # Gothic
157  'grc' => 'Ἀρχαία ἑλληνικὴ', # Ancient Greek
158  'gsw' => 'Alemannisch', # Alemannic
159  'gu' => 'ગુજરાતી', # Gujarati
160  'gv' => 'Gaelg', # Manx
161  'ha' => 'Hausa', # Hausa
162  'hak' => '客家語/Hak-kâ-ngî', # Hakka
163  'haw' => 'Hawai`i', # Hawaiian
164  'he' => 'עברית', # Hebrew
165  'hi' => 'हिन्दी', # Hindi
166  'hif' => 'Fiji Hindi', # Fijian Hindi (multiple scripts - defaults to Latin)
167  'hif-latn' => 'Fiji Hindi', # Fiji Hindi (latin)
168  'hil' => 'Ilonggo', # Hiligaynon
169  'ho' => 'Hiri Motu', # Hiri Motu
170  'hr' => 'hrvatski', # Croatian
171  'hrx' => 'Hunsrik', # Riograndenser Hunsrückisch
172  'hsb' => 'hornjoserbsce', # Upper Sorbian
173  'ht' => 'Kreyòl ayisyen', # Haitian Creole French
174  'hu' => 'magyar', # Hungarian
175  'hy' => 'Հայերեն', # Armenian
176  'hz' => 'Otsiherero', # Herero
177  'ia' => 'interlingua', # Interlingua (IALA)
178  'id' => 'Bahasa Indonesia', # Indonesian
179  'ie' => 'Interlingue', # Interlingue (Occidental)
180  'ig' => 'Igbo', # Igbo
181  'ii' => 'ꆇꉙ', # Sichuan Yi
182  'ik' => 'Iñupiak', # Inupiak (Inupiatun, Northwest Alaska / Inupiatun, North Alaskan)
183  'ike-cans' => 'ᐃᓄᒃᑎᑐᑦ', # Inuktitut, Eastern Canadian (Unified Canadian Aboriginal Syllabics)
184  'ike-latn' => 'inuktitut', # Inuktitut, Eastern Canadian (Latin script)
185  'ilo' => 'Ilokano', # Ilokano
186  'inh' => 'ГӀалгӀай', # Ingush
187  'io' => 'Ido', # Ido
188  'is' => 'íslenska', # Icelandic
189  'it' => 'italiano', # Italian
190  'iu' => 'ᐃᓄᒃᑎᑐᑦ/inuktitut', # Inuktitut (macro language, see ike/ikt, falls back to ike-cans)
191  'ja' => '日本語', # Japanese
192  'jam' => 'Patois', # Jamaican Creole English
193  'jbo' => 'Lojban', # Lojban
194  'jut' => 'jysk', # Jutish / Jutlandic
195  'jv' => 'Basa Jawa', # Javanese
196  'ka' => 'ქართული', # Georgian
197  'kaa' => 'Qaraqalpaqsha', # Karakalpak
198  'kab' => 'Taqbaylit', # Kabyle
199  'kbd' => 'Адыгэбзэ', # Kabardian
200  'kbd-cyrl' => 'Адыгэбзэ', # Kabardian (Cyrillic)
201  'kg' => 'Kongo', # Kongo, (FIXME!) should probaly be KiKongo or KiKoongo
202  'khw' => 'کھوار', # Khowar
203  'ki' => 'Gĩkũyũ', # Gikuyu
204  'kiu' => 'Kırmancki', # Kirmanjki
205  'kj' => 'Kwanyama', # Kwanyama
206  'kk' => 'қазақша', # Kazakh (multiple scripts - defaults to Cyrillic)
207  'kk-arab' => "قازاقشا (تٴوتە)\xE2\x80\x8F", # Kazakh Arabic
208  'kk-cyrl' => "қазақша (кирил)\xE2\x80\x8E", # Kazakh Cyrillic
209  'kk-latn' => "qazaqşa (latın)\xE2\x80\x8E", # Kazakh Latin
210  'kk-cn' => "قازاقشا (جۇنگو)\xE2\x80\x8F", # Kazakh (China)
211  'kk-kz' => "қазақша (Қазақстан)\xE2\x80\x8E", # Kazakh (Kazakhstan)
212  'kk-tr' => "qazaqşa (Türkïya)\xE2\x80\x8E", # Kazakh (Turkey)
213  'kl' => 'kalaallisut', # Inuktitut, Greenlandic/Greenlandic/Kalaallisut (kal)
214  'km' => 'ភាសាខ្មែរ', # Khmer, Central
215  'kn' => 'ಕನ್ನಡ', # Kannada
216  'ko' => '한국어', # Korean
217  'ko-kp' => '한국어 (조선)', # Korean (DPRK)
218  'koi' => 'Перем Коми', # Komi-Permyak
219  'kr' => 'Kanuri', # Kanuri, Central
220  'krc' => 'къарачай-малкъар', # Karachay-Balkar
221  'kri' => 'Krio', # Krio
222  'krj' => 'Kinaray-a', # Kinaray-a
223  'ks' => 'कॉशुर / کٲشُر', # Kashmiri (multiple scripts - defaults to Perso-Arabic)
224  'ks-arab' => 'کٲشُر', # Kashmiri (Perso-Arabic script)
225  'ks-deva' => 'कॉशुर', # Kashmiri (Devanagari script)
226  'ksh' => 'Ripoarisch', # Ripuarian
227  'ku' => 'Kurdî', # Kurdish (multiple scripts - defaults to Latin)
228  'ku-latn' => "Kurdî (latînî)\xE2\x80\x8E", # Northern Kurdish (Latin script)
229  'ku-arab' => "كوردي (عەرەبی)\xE2\x80\x8F", # Northern Kurdish (Arabic script) (falls back to ckb)
230  'kv' => 'коми', # Komi-Zyrian (Cyrillic is common script but also written in Latin script)
231  'kw' => 'kernowek', # Cornish
232  'ky' => 'Кыргызча', # Kirghiz
233  'la' => 'Latina', # Latin
234  'lad' => 'Ladino', # Ladino
235  'lb' => 'Lëtzebuergesch', # Luxemburguish
236  'lbe' => 'лакку', # Lak
237  'lez' => 'лезги', # Lezgi
238  'lfn' => 'Lingua Franca Nova', # Lingua Franca Nova
239  'lg' => 'Luganda', # Ganda
240  'li' => 'Limburgs', # Limburgian
241  'lij' => 'Ligure', # Ligurian
242  'liv' => 'Līvõ kēļ', # Livonian
243  'lmo' => 'lumbaart', # Lombard
244  'ln' => 'lingála', # Lingala
245  'lo' => 'ລາວ', # Laotian
246  'lrc' => 'لوری', # Northern Luri
247  'loz' => 'Silozi', # Lozi
248  'lt' => 'lietuvių', # Lithuanian
249  'ltg' => 'latgaļu', # Latgalian
250  'lus' => 'Mizo ţawng', # Mizo/Lushai
251  'lv' => 'latviešu', # Latvian
252  'lzh' => '文言', # Literary Chinese, bug 8217
253  'lzz' => 'Lazuri', # Laz
254  'mai' => 'मैथिली', # Maithili
255  'map-bms' => 'Basa Banyumasan', # Banyumasan
256  'mdf' => 'мокшень', # Moksha
257  'mg' => 'Malagasy', # Malagasy
258  'mh' => 'Ebon', # Marshallese
259  'mhr' => 'олык марий', # Eastern Mari
260  'mi' => 'Māori', # Maori
261  'min' => 'Baso Minangkabau', # Minangkabau
262  'mk' => 'македонски', # Macedonian
263  'ml' => 'മലയാളം', # Malayalam
264  'mn' => 'монгол', # Halh Mongolian (Cyrillic) (ISO 639-3: khk)
265  'mo' => 'молдовеняскэ', # Moldovan, deprecated
266  'mr' => 'मराठी', # Marathi
267  'mrj' => 'кырык мары', # Hill Mari
268  'ms' => 'Bahasa Melayu', # Malay
269  'mt' => 'Malti', # Maltese
270  'mus' => 'Mvskoke', # Muskogee/Creek
271  'mwl' => 'Mirandés', # Mirandese
272  'my' => 'မြန်မာဘာသာ', # Burmese
273  'myv' => 'эрзянь', # Erzya
274  'mzn' => 'مازِرونی', # Mazanderani
275  'na' => 'Dorerin Naoero', # Nauruan
276  'nah' => 'Nāhuatl', # Nahuatl (not in ISO 639-3)
277  'nan' => 'Bân-lâm-gú', # Min-nan, bug 8217
278  'nap' => 'Napulitano', # Neapolitan, bug 43793
279  'nb' => "norsk bokmål", # Norwegian (Bokmal)
280  'nds' => 'Plattdüütsch', # Low German ''or'' Low Saxon
281  'nds-nl' => 'Nedersaksies', # aka Nedersaksisch: Dutch Low Saxon
282  'ne' => 'नेपाली', # Nepali
283  'new' => 'नेपाल भाषा', # Newar / Nepal Bhasha
284  'ng' => 'Oshiwambo', # Ndonga
285  'niu' => 'Niuē', # Niuean
286  'nl' => 'Nederlands', # Dutch
287  'nl-informal' => "Nederlands (informeel)\xE2\x80\x8E", # Dutch (informal address ("je"))
288  'nn' => "norsk nynorsk", # Norwegian (Nynorsk)
289  'no' => "norsk bokmål", # Norwegian (falls back to nb).
290  'nov' => 'Novial', # Novial
291  'nrm' => 'Nouormand', # Norman
292  'nso' => 'Sesotho sa Leboa', # Northern Sotho
293  'nv' => 'Diné bizaad', # Navajo
294  'ny' => 'Chi-Chewa', # Chichewa
295  'oc' => 'occitan', # Occitan
296  'om' => 'Oromoo', # Oromo
297  'or' => 'ଓଡ଼ିଆ', # Oriya
298  'os' => 'Ирон', # Ossetic, bug 29091
299  'pa' => 'ਪੰਜਾਬੀ', # Eastern Punjabi (Gurmukhi script) (pan)
300  'pag' => 'Pangasinan', # Pangasinan
301  'pam' => 'Kapampangan', # Pampanga
302  'pap' => 'Papiamentu', # Papiamentu
303  'pcd' => 'Picard', # Picard
304  'pdc' => 'Deitsch', # Pennsylvania German
305  'pdt' => 'Plautdietsch', # Plautdietsch/Mennonite Low German
306  'pfl' => 'Pälzisch', # Palatinate German
307  'pi' => 'पालि', # Pali
308  'pih' => 'Norfuk / Pitkern', # Norfuk/Pitcairn/Norfolk
309  'pl' => 'polski', # Polish
310  'pms' => 'Piemontèis', # Piedmontese
311  'pnb' => 'پنجابی', # Western Punjabi
312  'pnt' => 'Ποντιακά', # Pontic/Pontic Greek
313  'prg' => 'Prūsiskan', # Prussian
314  'ps' => 'پښتو', # Pashto, Northern/Paktu/Pakhtu/Pakhtoo/Afghan/Pakhto/Pashtu/Pushto/Yusufzai Pashto
315  'pt' => 'português', # Portuguese
316  'pt-br' => 'português do Brasil', # Brazilian Portuguese
317  'qu' => 'Runa Simi', # Southern Quechua
318  'qug' => 'Runa shimi', # Kichwa/Northern Quechua (temporarily used until Kichwa has its own)
319  'rgn' => 'Rumagnôl', # Romagnol
320  'rif' => 'Tarifit', # Tarifit
321  'rm' => 'rumantsch', # Raeto-Romance
322  'rmy' => 'Romani', # Vlax Romany
323  'rn' => 'Kirundi', # Rundi/Kirundi/Urundi
324  'ro' => 'română', # Romanian
325  'roa-rup' => 'Armãneashce', # Aromanian (deprecated code, 'rup' exists in ISO 693-3)
326  'roa-tara' => 'tarandíne', # Tarantino
327  'ru' => 'русский', # Russian
328  'rue' => 'русиньскый', # Rusyn
329  'rup' => 'Armãneashce', # Aromanian
330  'ruq' => 'Vlăheşte', # Megleno-Romanian (multiple scripts - defaults to Latin)
331  'ruq-cyrl' => 'Влахесте', # Megleno-Romanian (Cyrillic script)
332  # 'ruq-grek' => 'Βλαεστε', # Megleno-Romanian (Greek script)
333  'ruq-latn' => 'Vlăheşte', # Megleno-Romanian (Latin script)
334  'rw' => 'Kinyarwanda', # Kinyarwanda, should possibly be Kinyarwandi
335  'sa' => 'संस्कृतम्', # Sanskrit
336  'sah' => 'саха тыла', # Sakha
337  'sat' => 'Santali', # Santali
338  'sc' => 'sardu', # Sardinian
339  'scn' => 'sicilianu', # Sicilian
340  'sco' => 'Scots', # Scots
341  'sd' => 'سنڌي', # Sindhi
342  'sdc' => 'Sassaresu', # Sassarese
343  'se' => 'sámegiella', # Northern Sami
344  'sei' => 'Cmique Itom', # Seri
345  'sg' => 'Sängö', # Sango/Sangho
346  'sgs' => 'žemaitėška', # Samogitian
347  'sh' => 'srpskohrvatski / српскохрватски', # Serbocroatian
348  'shi' => 'Tašlḥiyt/ⵜⴰⵛⵍⵃⵉⵜ', # Tachelhit (multiple scripts - defaults to Latin)
349  'shi-tfng' => 'ⵜⴰⵛⵍⵃⵉⵜ', # Tachelhit (Tifinagh script)
350  'shi-latn' => 'Tašlḥiyt', # Tachelhit (Latin script)
351  'si' => 'සිංහල', # Sinhalese
352  'simple' => 'Simple English', # Simple English
353  'sk' => 'slovenčina', # Slovak
354  'sl' => 'slovenščina', # Slovenian
355  'sli' => 'Schläsch', # Lower Selisian
356  'sm' => 'Gagana Samoa', # Samoan
357  'sma' => 'Åarjelsaemien', # Southern Sami
358  'sn' => 'chiShona', # Shona
359  'so' => 'Soomaaliga', # Somali
360  'sq' => 'shqip', # Albanian
361  'sr' => 'српски / srpski', # Serbian (multiple scripts - defaults to Cyrillic)
362  'sr-ec' => "српски (ћирилица)\xE2\x80\x8E", # Serbian Cyrillic ekavian
363  'sr-el' => "srpski (latinica)\xE2\x80\x8E", # Serbian Latin ekavian
364  'srn' => 'Sranantongo', # Sranan Tongo
365  'ss' => 'SiSwati', # Swati
366  'st' => 'Sesotho', # Southern Sotho
367  'stq' => 'Seeltersk', # Saterland Frisian
368  'su' => 'Basa Sunda', # Sundanese
369  'sv' => 'svenska', # Swedish
370  'sw' => 'Kiswahili', # Swahili
371  'szl' => 'ślůnski', # Silesian
372  'ta' => 'தமிழ்', # Tamil
373  'tcy' => 'ತುಳು', # Tulu
374  'te' => 'తెలుగు', # Telugu
375  'tet' => 'tetun', # Tetun
376  'tg' => 'тоҷикӣ', # Tajiki (falls back to tg-cyrl)
377  'tg-cyrl' => 'тоҷикӣ', # Tajiki (Cyrllic script) (default)
378  'tg-latn' => 'tojikī', # Tajiki (Latin script)
379  'th' => 'ไทย', # Thai
380  'ti' => 'ትግርኛ', # Tigrinya
381  'tk' => 'Türkmençe', # Turkmen
382  'tl' => 'Tagalog', # Tagalog
383  'tly' => 'толышә зывон', # Talysh
384  'tn' => 'Setswana', # Setswana
385  'to' => 'lea faka-Tonga', # Tonga (Tonga Islands)
386  'tokipona' => 'Toki Pona', # Toki Pona
387  'tpi' => 'Tok Pisin', # Tok Pisin
388  'tr' => 'Türkçe', # Turkish
389  'tru' => 'Ṫuroyo', # Turoyo
390  'ts' => 'Xitsonga', # Tsonga
391  'tt' => 'татарча/tatarça', # Tatar (multiple scripts - defaults to Cyrillic)
392  'tt-cyrl' => 'татарча', # Tatar (Cyrillic script) (default)
393  'tt-latn' => 'tatarça', # Tatar (Latin script)
394  'tum' => 'chiTumbuka', # Tumbuka
395  'tw' => 'Twi', # Twi, (FIXME!)
396  'ty' => 'Reo Mā`ohi', # Tahitian
397  'tyv' => 'тыва дыл', # Tyvan
398  'udm' => 'удмурт', # Udmurt
399  'ug' => 'ئۇيغۇرچە / Uyghurche', # Uyghur (multiple scripts - defaults to Arabic)
400  'ug-arab' => 'ئۇيغۇرچە', # Uyghur (Arabic script) (default)
401  'ug-latn' => 'Uyghurche', # Uyghur (Latin script)
402  'uk' => 'українська', # Ukrainian
403  'ur' => 'اردو', # Urdu
404  'uz' => 'oʻzbekcha', # Uzbek
405  've' => 'Tshivenda', # Venda
406  'vec' => 'vèneto', # Venetian
407  'vep' => 'vepsän kel’', # Veps
408  'vi' => 'Tiếng Việt', # Vietnamese
409  'vls' => 'West-Vlams', # West Flemish
410  'vmf' => 'Mainfränkisch', # Upper Franconian, Main-Franconian
411  'vo' => 'Volapük', # Volapük
412  'vot' => 'Vaďďa', # Vod/Votian
413  'vro' => 'Võro', # Võro
414  'wa' => 'walon', # Walloon
415  'war' => 'Winaray', # Waray-Waray
416  'wo' => 'Wolof', # Wolof
417  'wuu' => '吴语', # Wu Chinese
418  'xal' => 'хальмг', # Kalmyk-Oirat
419  'xh' => 'isiXhosa', # Xhosan
420  'xmf' => 'მარგალური', # Mingrelian
421  'yi' => 'ייִדיש', # Yiddish
422  'yo' => 'Yorùbá', # Yoruba
423  'yue' => '粵語', # Cantonese
424  'za' => 'Vahcuengh', # Zhuang
425  'zea' => 'Zeêuws', # Zeeuws/Zeaws
426  'zh' => '中文', # (Zhōng Wén) - Chinese
427  'zh-classical' => '文言', # Classical Chinese/Literary Chinese -- (see bug 8217)
428  'zh-cn' => "中文(中国大陆)\xE2\x80\x8E", # Chinese (PRC)
429  'zh-hans' => "中文(简体)\xE2\x80\x8E", # Mandarin Chinese (Simplified Chinese script) (cmn-hans)
430  'zh-hant' => "中文(繁體)\xE2\x80\x8E", # Mandarin Chinese (Traditional Chinese script) (cmn-hant)
431  'zh-hk' => "中文(香港)\xE2\x80\x8E", # Chinese (Hong Kong)
432  'zh-min-nan' => 'Bân-lâm-gú', # Min-nan -- (see bug 8217)
433  'zh-mo' => "中文(澳門)\xE2\x80\x8E", # Chinese (Macau)
434  'zh-my' => "中文(马来西亚)\xE2\x80\x8E", # Chinese (Malaysia)
435  'zh-sg' => "中文(新加坡)\xE2\x80\x8E", # Chinese (Singapore)
436  'zh-tw' => "中文(台灣)\xE2\x80\x8E", # Chinese (Taiwan)
437  'zh-yue' => '粵語', # Cantonese -- (see bug 8217)
438  'zu' => 'isiZulu' # Zulu
439 );
php
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Definition: skin.txt:62
Italian
published in in Madrid In the first edition of the Vocabolario for Italian
Definition: parserTests.txt:396
is
We use the convention $dbr for read and $dbw for write to help you keep track of whether the database object is a the world will explode Or to be a subsequent write query which succeeded on the master may fail when replicated to the slave due to a unique key collision Replication on the slave will stop and it may take hours to repair the database and get it back online Setting read_only in my cnf on the slave will avoid this but given the dire we prefer to have as many checks as possible We provide a but the wrapper functions like please read the documentation for except in special pages derived from QueryPage It s a common pitfall for new developers to submit code containing SQL queries which examine huge numbers of rows Remember that COUNT * is(N), counting rows in atable is like counting beans in a bucket.------------------------------------------------------------------------ Replication------------------------------------------------------------------------The largest installation of MediaWiki, Wikimedia, uses a large set ofslave MySQL servers replicating writes made to a master MySQL server. Itis important to understand the issues associated with this setup if youwant to write code destined for Wikipedia.It 's often the case that the best algorithm to use for a given taskdepends on whether or not replication is in use. Due to our unabashedWikipedia-centrism, we often just use the replication-friendly version, but if you like, you can use wfGetLB() ->getServerCount() > 1 tocheck to see if replication is in use.===Lag===Lag primarily occurs when large write queries are sent to the master.Writes on the master are executed in parallel, but they are executed inserial when they are replicated to the slaves. The master writes thequery to the binlog when the transaction is committed. The slaves pollthe binlog and start executing the query as soon as it appears. They canservice reads while they are performing a write query, but will not readanything more from the binlog and thus will perform no more writes. Thismeans that if the write query runs for a long time, the slaves will lagbehind the master for the time it takes for the write query to complete.Lag can be exacerbated by high read load. MediaWiki 's load balancer willstop sending reads to a slave when it is lagged by more than 30 seconds.If the load ratios are set incorrectly, or if there is too much loadgenerally, this may lead to a slave permanently hovering around 30seconds lag.If all slaves are lagged by more than 30 seconds, MediaWiki will stopwriting to the database. All edits and other write operations will berefused, with an error returned to the user. This gives the slaves achance to catch up. Before we had this mechanism, the slaves wouldregularly lag by several minutes, making review of recent editsdifficult.In addition to this, MediaWiki attempts to ensure that the user seesevents occurring on the wiki in chronological order. A few seconds of lagcan be tolerated, as long as the user sees a consistent picture fromsubsequent requests. This is done by saving the master binlog positionin the session, and then at the start of each request, waiting for theslave to catch up to that position before doing any reads from it. Ifthis wait times out, reads are allowed anyway, but the request isconsidered to be in "lagged slave mode". Lagged slave mode can bechecked by calling wfGetLB() ->getLaggedSlaveMode(). The onlypractical consequence at present is a warning displayed in the pagefooter.===Lag avoidance===To avoid excessive lag, queries which write large numbers of rows shouldbe split up, generally to write one row at a time. Multi-row INSERT ...SELECT queries are the worst offenders should be avoided altogether.Instead do the select first and then the insert.===Working with lag===Despite our best efforts, it 's not practical to guarantee a low-lagenvironment. Lag will usually be less than one second, but mayoccasionally be up to 30 seconds. For scalability, it 's very importantto keep load on the master low, so simply sending all your queries tothe master is not the answer. So when you have a genuine need forup-to-date data, the following approach is advised:1) Do a quick query to the master for a sequence number or timestamp 2) Run the full query on the slave and check if it matches the data you gotfrom the master 3) If it doesn 't, run the full query on the masterTo avoid swamping the master every time the slaves lag, use of thisapproach should be kept to a minimum. In most cases you should just readfrom the slave and let the user deal with the delay.------------------------------------------------------------------------ Lock contention------------------------------------------------------------------------Due to the high write rate on Wikipedia(and some other wikis), MediaWiki developers need to be very careful to structure their writesto avoid long-lasting locks. By default, MediaWiki opens a transactionat the first query, and commits it before the output is sent. Locks willbe held from the time when the query is done until the commit. So youcan reduce lock time by doing as much processing as possible before youdo your write queries.Often this approach is not good enough, and it becomes necessary toenclose small groups of queries in their own transaction. Use thefollowing syntax:$dbw=wfGetDB(DB_MASTER
array
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
see
Some information about database access in MediaWiki By Tim January Database layout For information about the MediaWiki database such as a description of the tables and their please see
Definition: database.txt:2
scripts
The package scripts
Definition: README.txt:1
in
Prior to maintenance scripts were a hodgepodge of code that had no cohesion or formal method of action Beginning in
Definition: maintenance.txt:1
$coreLanguageNames
$coreLanguageNames
These determine things like interwikis, language selectors, and so on.
Definition: Names.php:40
used
you don t have to do a grep find to see where the $wgReverseTitle variable is used
Definition: hooks.txt:117
name
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at name
Definition: design.txt:12
code
and how to run hooks for an and one after Each event has a preferably in CamelCase For ArticleDelete hook A clump of code and data that should be run when an event happens This can be either a function and a chunk of or an object and a method hook function The function part of a third party developers and administrators to define code that will be run at certain points in the mainline code
Definition: hooks.txt:23