languages update
[lhc/web/wiklou.git] / languages / Language.php
1 <?php
2 #
3 # In general you should not make customizations in these language files
4 # directly, but should use the MediaWiki: special namespace to customize
5 # user interface messages through the wiki.
6 # See http://meta.wikipedia.org/wiki/MediaWiki_namespace
7 #
8 # NOTE TO TRANSLATORS: Do not copy this whole file when making translations!
9 # A lot of common constants and a base class with inheritable methods are
10 # defined here, which should not be redefined. See the other LanguageXx.php
11 # files for examples.
12 #
13
14 #--------------------------------------------------------------------------
15 # Constants
16 #--------------------------------------------------------------------------
17
18 # Magic words
19 define("MAG_REDIRECT", 0);
20 define("MAG_NOTOC", 1);
21 define("MAG_START", 2);
22 define("MAG_CURRENTMONTH", 3);
23 define("MAG_CURRENTMONTHNAME", 4);
24 define("MAG_CURRENTDAY", 5);
25 define("MAG_CURRENTDAYNAME", 6);
26 define("MAG_CURRENTYEAR", 7);
27 define("MAG_CURRENTTIME", 8);
28 define("MAG_NUMBEROFARTICLES", 9);
29 define("MAG_CURRENTMONTHNAMEGEN", 10);
30 define("MAG_MSG", 11);
31 define("MAG_SUBST", 12);
32 define("MAG_MSGNW", 13);
33 define("MAG_NOEDITSECTION", 14);
34 define("MAG_END", 15);
35 define("MAG_IMG_THUMBNAIL", 16);
36 define("MAG_IMG_RIGHT", 17);
37 define("MAG_IMG_LEFT", 18);
38 define("MAG_IMG_NONE", 19);
39 define("MAG_IMG_WIDTH", 20);
40 define("MAG_IMG_CENTER", 21);
41 define("MAG_INT", 22);
42 define("MAG_FORCETOC", 23);
43
44 $wgVariableIDs = array(
45 MAG_CURRENTMONTH,
46 MAG_CURRENTMONTHNAME,
47 MAG_CURRENTDAY,
48 MAG_CURRENTDAYNAME,
49 MAG_CURRENTYEAR,
50 MAG_CURRENTTIME,
51 MAG_NUMBEROFARTICLES,
52 MAG_CURRENTMONTHNAMEGEN
53 );
54
55
56
57 #--------------------------------------------------------------------------
58 # Language-specific text
59 #--------------------------------------------------------------------------
60
61 # NOTE: To turn off "Current Events" in the sidebar,
62 # set "currentevents" => "-"
63
64 # NOTE: To turn off "Disclaimers" in the title links,
65 # set "disclaimers" => "-"
66
67 # The names of the namespaces can be set here, but the numbers
68 # are magical, so don't change or move them! The Namespace class
69 # encapsulates some of the magic-ness.
70 #
71
72 if($wgMetaNamespace === FALSE)
73 $wgMetaNamespace = str_replace( " ", "_", $wgSitename );
74
75 /* private */ $wgNamespaceNamesEn = array(
76 NS_MEDIA => "Media",
77 NS_SPECIAL => "Special",
78 NS_MAIN => "",
79 NS_TALK => "Talk",
80 NS_USER => "User",
81 NS_USER_TALK => "User_talk",
82 NS_WIKIPEDIA => $wgMetaNamespace,
83 NS_WIKIPEDIA_TALK => $wgMetaNamespace . "_talk",
84 NS_IMAGE => "Image",
85 NS_IMAGE_TALK => "Image_talk",
86 NS_MEDIAWIKI => "MediaWiki",
87 NS_MEDIAWIKI_TALK => "MediaWiki_talk",
88 NS_TEMPLATE => "Template",
89 NS_TEMPLATE_TALK => "Template_talk",
90 NS_HELP => "Help",
91 NS_HELP_TALK => "Help_talk"
92 );
93
94 /* private */ $wgDefaultUserOptionsEn = array(
95 "quickbar" => 1, "underline" => 1, "hover" => 1,
96 "cols" => 80, "rows" => 25, "searchlimit" => 20,
97 "contextlines" => 5, "contextchars" => 50,
98 "skin" => 'standard', "math" => 1, "rcdays" => 7, "rclimit" => 50,
99 "highlightbroken" => 1, "stubthreshold" => 0,
100 "previewontop" => 1, "editsection"=>1,"editsectiononrightclick"=>0, "showtoc"=>1,
101 "showtoolbar" =>1,
102 "date" => 0
103 );
104
105 /* private */ $wgQuickbarSettingsEn = array(
106 "None", "Fixed left", "Fixed right", "Floating left"
107 );
108
109 /* private */ $wgSkinNamesEn = array(
110 'standard' => "Standard",
111 'nostalgia' => "Nostalgia",
112 'cologneblue' => "Cologne Blue",
113 'smarty' => "Paddington",
114 'montparnasse' => "Montparnasse",
115 'davinci' => "DaVinci",
116 'mono' => "Mono",
117 'monobook' => "MonoBook"
118 );
119
120 /* private */ $wgMathNamesEn = array(
121 "Always render PNG",
122 "HTML if very simple or else PNG",
123 "HTML if possible or else PNG",
124 "Leave it as TeX (for text browsers)",
125 "Recommended for modern browsers"
126 );
127
128 /* private */ $wgDateFormatsEn = array(
129 "No preference",
130 "January 15, 2001",
131 "15 January 2001",
132 "2001 January 15",
133 "2001-01-15"
134 );
135
136 /* private */ $wgUserTogglesEn = array(
137 "hover" => "Show hoverbox over wiki links",
138 "underline" => "Underline links",
139 "highlightbroken" => "Format broken links <a href=\"\" class=\"new\">like
140 this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
141 "justify" => "Justify paragraphs",
142 "hideminor" => "Hide minor edits in recent changes",
143 "usenewrc" => "Enhanced recent changes (not for all browsers)",
144 "numberheadings" => "Auto-number headings",
145 "showtoolbar"=>"Show edit toolbar",
146 "editondblclick" => "Edit pages on double click (JavaScript)",
147 "editsection"=>"Enable section editing via [edit] links",
148 "editsectiononrightclick"=>"Enable section editing by right clicking<br> on section titles (JavaScript)",
149 "showtoc"=>"Show table of contents<br>(for articles with more than 3 headings)",
150 "rememberpassword" => "Remember password across sessions",
151 "editwidth" => "Edit box has full width",
152 "watchdefault" => "Add pages you edit to your watchlist",
153 "minordefault" => "Mark all edits minor by default",
154 "previewontop" => "Show preview before edit box and not after it",
155 "nocache" => "Disable page caching"
156 );
157
158 /* private */ $wgBookstoreListEn = array(
159 "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
160 "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1",
161 "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
162 "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
163 );
164
165 /* The following list is in native languages, not in English */
166 /* private */ $wgLanguageNames = array(
167 "aa" => "Afar", # Afar
168 "ab" => "Abkhazian", # Abkhazian - FIXME
169 "af" => "Afrikaans", # Afrikaans
170 "ak" => "Akana", # Akan
171 "an" => "Aragon&eacute;s", # Aragonese
172 "als" => "Els&auml;ssische", # Alsatian
173 "am" => "&#4768;&#4635;&#4653;&#4763;", # Amharic
174 "ar" => "&#1575;&#1604;&#1593;&#1585;&#1576;&#1610;&#1577;", # Arabic
175 "arc" => "&#1813;&#1829;&#1810;&#1834;&#1848;&#1821;&#1819;", # Aramaic
176 "as" => "&#2437;&#2488;&#2478;&#2496;&#2527;&#2494;", # Assamese
177 "ast" => "Asturleon&eacute;s", # Asturian
178 "av" => "&#1040;&#1074;&#1072;&#1088;", # Avar
179 "ay" => "Aymar", # Aymara
180 "az" => "Az&#601;rbaycan", # Azerbaijani
181 "ba" => "&#1041;&#1072;&#1096;&#1185;&#1086;&#1088;&#1090;", # Bashkir
182 "be" => "&#1041;&#1077;&#1083;&#1072;&#1088;&#1091;&#1089;&#1082;&#1072;&#1103;", # Belarusian ''or'' Byelarussian
183 "bg" => "&#1041;&#1098;&#1083;&#1075;&#1072;&#1088;&#1089;&#1082;&#1080;", # Bulgarian
184 "bh" => "&#2349;&#2379;&#2332;&#2346;&#2369;&#2352;&#2368;", # Bihara
185 "bi" => "Bislama", # Bislama
186 "bn" => "&#2476;&#2494;&#2434;&#2482;&#2494; - (Bangla)", # Bengali
187 "bm" => "Bambara",
188 "bo" => "Bod skad", # Tibetan
189 "br" => "Brezhoneg", # Breton
190 "bs" => "Bosanski", # Bosnian
191 "ca" => "Catal&agrave;", # Catalan
192 "ce" => "&#1053;&#1086;&#1093;&#1095;&#1080;&#1081;&#1085;", # Chechen
193 "ch" => "Chamoru", # Chamorro
194 "chy" => "Tsets&ecirc;hest&acirc;hese", # Cheyenne
195 "co" => "Corsu", # Corsican
196 "cr" => "Nehiyaw", # Cree
197 "cs" => "&#268;esky", # Czech
198 "csb" => "Kasz&euml;bscziej", # Cassubian - FIXME
199 "cv" => "&#1063;&#1233;&#1074;&#1072;&#1096; - (&#264;&#259;va&#349;)", # Chuvash
200 "cy" => "Cymraeg", # Welsh
201 "da" => "Dansk", # Danish
202 "de" => "Deutsch", # German
203 "dk" => "Dansk", # 'da' is correct for the language.
204 "dv" => "Dhivehi", # Dhivehi
205 "dz" => "Dzongkha", # Bhutani
206 "ee" => "Eve", # Eve
207 "el" => "&#917;&#955;&#955;&#951;&#957;&#953;&#954;&#940;", # Greek
208 "en" => "English", # English
209 "eo" => "Esperanto", # Esperanto
210 "es" => "Espa&ntilde;ol", # Spanish
211 "et" => "Eesti", # Estonian
212 "eu" => "Euskara", # Basque
213 "fa" => "&#1601;&#1575;&#1585;&#1587;&#1740;", # Persian
214 "ff" => "Fulfulde", # Fulfulde
215 "fi" => "Suomi", # Finnish
216 "fj" => "Na Vosa Vakaviti", # Fijian
217 "fo" => "F&oslash;royskt", # Faroese
218 "fr" => "Fran&ccedil;ais", # French
219 "fy" => "Frysk", # Frisian
220 "ga" => "Gaeilge", # Irish
221 "gd" => "G&agrave;idhlig", # Scots Gaelic
222 "gl" => "Galego", # Gallegan
223 "gn" => "Ava&ntilde;e'&#7869;", # Guarani
224 "gu" => "&#2711;&#2753;&#2716;&#2736;&#2750;&#2724;&#2752;", # Gujarati
225 "gv" => "Gaelg", # Manx
226 "ha" => "&#1607;&#1614;&#1608;&#1615;&#1587;&#1614;", # Hausa
227 "haw" => "Hawai`i", # Hawaiian
228 "he" => "&#1506;&#1489;&#1512;&#1497;&#1514;", # Hebrew
229 "hi" => "&#2361;&#2367;&#2344;&#2381;&#2342;&#2368;", # Hindi
230 "ho" => "Hiri Motu",
231 "hr" => "Hrvatski", # Croatian
232 "ht" => "Haitian", # Haitian (FIXME!)
233 "hu" => "Magyar", # Hungarian
234 "hy" => "&#1344;&#1377;&#1397;&#1381;&#1408;&#1381;&#1398;", # Armenian
235 "hz" => "Otsiherero", # Herero
236 "ia" => "Interlingua", # Interlingua (IALA)
237 "id" => "Bahasa Indonesia", # Indonesian
238 "ie" => "Interlingue", # Interlingue (Occidental)
239 "ig" => "Igbo", # Igbo
240 "ii" => "Yi", # Sichuan Yi (FIXME!)
241 "ik" => "I&ntilde;upiak", # Inupiak
242 "io" => "Ido", # Ido
243 "is" => "&Iacute;slensk", # Icelandic
244 "it" => "Italiano", # Italian
245 "iu" => "&#5123;&#5316;&#5251;&#5198;&#5200;&#5222;", # Inuktitut
246 "ja" => "&#26085;&#26412;&#35486;", # Japanese
247 "jv" => "Bahasa Jawa", # Javanese
248 "ka" => "&#4325;&#4304;&#4320;&#4311;&#4323;&#4314;&#4312;", # Georgian
249 "kg" => "Kongo", # Kongo (FIXME!)
250 "ki" => "Kikuyu", # Kikuyu (FIXME!)
251 "kj" => "Kuanyama", # Kuanyama (FIXME!)
252 "kk" => "&#1179;&#1072;&#1079;&#1072;&#1179;&#1096;&#1072;", # Kazakh
253 "kl" => "Kalaallisut", # Greenlandic
254 "km" => "&#6039;&#6070;&#6047;&#6070;&#6017;&#6098;&#6040;&#6082;&#6042;", # Cambodian
255 "kn" => "&#3221;&#3240;&#3277;&#3240;&#3233;", # Kannada
256 "ko" => "&#54620;&#44397;&#50612;", # Korean
257 "kr" => "Kanuri",
258 "ks" => "&#2325;&#2358;&#2381;&#2350;&#2368;&#2352;&#2368; - (&#1603;&#1588;&#1605;&#1610;&#1585;&#1610;)", # Kashmiri
259 "ku" => "Kurd&icirc;", # Kurdish
260 "kv" => "Komi",
261 "kw" => "Kernewek", # Cornish
262 "ky" => "K&#305;rg&#305;zca", # Kirghiz
263 "la" => "Latina", # Latin
264 "lb" => "L&euml;tzebuergesch", # Luxemburguish
265 "lg" => "Luganda", # Ganda
266 "li" => "Limburgs", # Limburgian
267 "ln" => "Lingala", # Lingala
268 "lo" => "Pha xa lao", # Laotian
269 "lt" => "Lietuvi&#371;", # Lithuanian
270 "lv" => "Latvie&scaron;u", # Latvian
271 "mg" => "Malagasy", # Malagasy - FIXME
272 "mh" => "Ebon", # Marshallese
273 "mi" => "M&#257;ori", # Maori
274 "mk" => "&#1052;&#1072;&#1082;&#1077;&#1076;&#1086;&#1085;&#1089;&#1082;&#1080;", # Macedonian
275 "ml" => "&#3374;&#3378;&#3375;&#3390;&#3379;&#3330;", # Malayalam
276 "mn" => "&#1052;&#1086;&#1085;&#1075;&#1086;&#1083;", # Mongoloian
277 "mo" => "Moldoveana", # Moldovan
278 "mr" => "&#2350;&#2352;&#2366;&#2336;&#2368;", # Marathi
279 "ms" => "Bahasa Melayu", # Malay
280 "mt" => "bil-Malti", # Maltese
281 "my" => "Myanmasa", # Burmese
282 "na" => "Nauru", # Nauruan
283 "nb" => "Bokm&aring;l", # Norwegian (Bokmal)
284 "nah" => "Nahuatl",
285 "nds" => "Platd&uuml;&uuml;tsch", # Low German ''or'' Low Saxon
286 "ne" => "&#2344;&#2375;&#2346;&#2366;&#2354;&#2368;", # Nepali
287 "ng" => "Ndonga",
288 "nl" => "Nederlands", # Dutch
289 "nb" => "Norsk", # Norwegian [currently using old '''no''' code]
290 "ne" => "&#2344;&#2375;&#2346;&#2366;&#2354;&#2368;", # Nepali
291 "nn" => "Nynorsk" , # (Norwegian) Nynorsk
292 "no" => "Norsk", # Norwegian
293 "nv" => "Din&eacute; bizaad", # Navajo
294 "ny" => "Chi-Chewa", # Chichewa
295 "oc" => "Occitan", # Occitan
296 "om" => "Oromoo", # Oromo
297 "or" => "Oriya", # Oriya - FIXME
298 "pa" => "&#2346;&#2306;&#2332;&#2366;&#2348;&#2368; / &#2602;&#2588;&#2622;&#2604;&#2624; / &#1662;&#1606;&#1580;&#1575;&#1576;&#1610;", # Punjabi
299 "pi" => "&#2346;&#2366;&#2367;&#2356;", # Pali
300 "pl" => "Polski", # Polish
301 "ps" => "&#1662;&#1690;&#1578;&#1608;", # Pashto
302 "pt" => "Portugu&ecirc;s", # Portuguese
303 "qu" => "Runa Simi", # Quechua
304 "rm" => "Rumantsch", # Raeto-Romance
305 "rn" => "Kirundi", # Kirundi
306 "ro" => "Rom&acirc;n&#259;", # Romanian
307 "ru" => "&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;", # Russian
308 "rw" => "Kinyarwanda",
309 "sa" => "&#2360;&#2306;&#2360;&#2381;&#2325;&#2371;&#2340;", # Sanskrit
310 "sc" => "Sardu", # Sardinian
311 "sd" => "&#2360;&#2367;&#2344;&#2343;&#2367;", # Sindhi
312 "se" => "S&aacute;megiella", # (Northern) Sami
313 "sg" => "Sangro",
314 # "sh" => "&#1057;&#1088;&#1087;&#1089;&#1082;&#1086;&#1093;&#1088;&#1074;&#1072;&#1090;&#1089;&#1082;&#1080; (Srbskohrvatski)", ## Serbocroatian -- Obsolete
315 "si" => "Simhala", # Sinhalese
316 "simple" => "Simple English",
317 "sk" => "Sloven&#269;ina", # Slovak
318 "sl" => "Sloven&scaron;&#269;ina", # Slovenian
319 "sm" => "Gagana Samoa", # Samoan
320 "sn" => "chiShona", # Shona
321 "so" => "Soomaaliga", # Somali
322 "sq" => "Shqip", # Albanian
323 "sr" => "&#1057;&#1088;&#1087;&#1089;&#1082;&#1080; / Srpski", # Serbian
324 "ss" => "SiSwati", # Swati
325 "st" => "seSotho", # (Southern) Sotho
326 "su" => "Bahasa Sunda", # Sundanese
327 "sv" => "Svenska", # Swedish
328 "sw" => "Kiswahili", # Swahili
329 "ta" => "&#2980;&#2990;&#3007;&#2996;&#3021;", # Tamil
330 "te" => "&#3108;&#3142;&#3122;&#3137;&#3095;&#3137;", # Telugu
331 "tg" => "&#1058;&#1086;&#1207;&#1080;&#1082;&#1251;", # Tajik
332 "th" => "&#3652;&#3607;&#3618;", # Thai
333 "ti" => "Tigrinya", # Tigrinya - FIXME
334 "tk" => "&#1578;&#1585;&#1603;&#1605;&#1606; / &#1058;&#1091;&#1088;&#1082;&#1084;&#1077;&#1085;", # Turkmen
335 "tl" => "Tagalog", # Tagalog (Filipino)
336 "tlh" => "tlhIngan-Hol" # Klingon
337 "tn" => "Setswana", # Setswana
338 "to" => "Tonga", # Tonga - FIXME
339 "tp" => "Toki Pona", # Toki Pona
340 "tpi" => "Tok Pisin", # Tok Pisin
341 "tr" => "T&uuml;rk&ccedil;e", # Turkish
342 "ts" => "Xitsonga", # Tsonga
343 "tt" => "Tatar", # Tatar
344 "tw" => "Twi", # Twi -- FIXME
345 "ty" => "Reo M&#257;`ohi", # Tahitian
346 "ug" => "Oyghurque", # Uyghur
347 "uk" => "&#1059;&#1082;&#1088;&#1072;&#1111;&#1085;&#1089;&#1100;&#1082;&#1072;", # Ukrainian
348 "ur" => "&#1575;&#1585;&#1583;&#1608;", # Urdu
349 "uz" => "&#1038;&#1079;&#1073;&#1077;&#1082;", # Uzbek
350 "ve" => "Venda", # Venda
351 "vi" => "Ti&#7871;ng Vi&#7879;t", # Vietnamese
352 "vo" => "Volap&uuml;k", # Volapük
353 "wa" => "Walon", # Walloon
354 "wo" => "Wollof", # Wolof
355 "xh" => "isiXhosa", # Xhosan
356 "yi" => "&#1497;&#1497;&#1460;&#1491;&#1497;&#1513;", # Yiddish
357 "yo" => "Yor&ugrave;b&aacute;", # Yoruba
358 "za" => "(Cuengh)", # Zhuang
359 "zh" => "&#20013;&#25991;", # (Zh&#333;ng Wén) - Chinese
360 "zh-cn" => "&#20013;&#25991;(&#31616;&#20307;)", # Simplified
361 "zh-tw" => "&#20013;&#25991;(&#32321;&#20307;)", # Traditional
362 "zu" => "isiZulu", # Zulu
363 );
364
365 $wgLanguageNamesEn =& $wgLanguageNames;
366
367
368 /* private */ $wgWeekdayNamesEn = array(
369 "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",
370 "Friday", "Saturday"
371 );
372
373 /* private */ $wgMonthNamesEn = array(
374 "January", "February", "March", "April", "May", "June",
375 "July", "August", "September", "October", "November",
376 "December"
377 );
378
379 /* private */ $wgMonthAbbreviationsEn = array(
380 "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug",
381 "Sep", "Oct", "Nov", "Dec"
382 );
383
384 # Note to translators:
385 # Please include the English words as synonyms. This allows people
386 # from other wikis to contribute more easily.
387 #
388 /* private */ $wgMagicWordsEn = array(
389 # ID CASE SYNONYMS
390 MAG_REDIRECT => array( 0, "#redirect" ),
391 MAG_NOTOC => array( 0, "__NOTOC__" ),
392 MAG_FORCETOC => array( 0, "__FORCETOC__" ),
393 MAG_NOEDITSECTION => array( 0, "__NOEDITSECTION__" ),
394 MAG_START => array( 0, "__START__" ),
395 MAG_CURRENTMONTH => array( 1, "CURRENTMONTH" ),
396 MAG_CURRENTMONTHNAME => array( 1, "CURRENTMONTHNAME" ),
397 MAG_CURRENTDAY => array( 1, "CURRENTDAY" ),
398 MAG_CURRENTDAYNAME => array( 1, "CURRENTDAYNAME" ),
399 MAG_CURRENTYEAR => array( 1, "CURRENTYEAR" ),
400 MAG_CURRENTTIME => array( 1, "CURRENTTIME" ),
401 MAG_NUMBEROFARTICLES => array( 1, "NUMBEROFARTICLES" ),
402 MAG_CURRENTMONTHNAMEGEN => array( 1, "CURRENTMONTHNAMEGEN" ),
403 MAG_MSG => array( 0, "MSG:" ),
404 MAG_SUBST => array( 0, "SUBST:" ),
405 MAG_MSGNW => array( 0, "MSGNW:" ),
406 MAG_END => array( 0, "__END__" ),
407 MAG_IMG_THUMBNAIL => array( 1, "thumbnail", "thumb" ),
408 MAG_IMG_RIGHT => array( 1, "right" ),
409 MAG_IMG_LEFT => array( 1, "left" ),
410 MAG_IMG_NONE => array( 1, "none" ),
411 MAG_IMG_WIDTH => array( 1, "$1px" ),
412 MAG_IMG_CENTER => array( 1, "center", "centre" ),
413 MAG_INT => array( 0, "INT:" )
414
415 );
416
417 # All special pages have to be listed here: a description of ""
418 # will make them not show up on the "Special Pages" page, which
419 # is the right thing for some of them (such as the "targeted" ones).
420 #
421 /* private */ $wgValidSpecialPagesEn = array(
422 "Userlogin" => "",
423 "Userlogout" => "",
424 "Preferences" => "Set my user preferences",
425 "Watchlist" => "My watchlist",
426 "Recentchanges" => "Recently updated pages",
427 "Upload" => "Upload image files",
428 "Imagelist" => "Image list",
429 "Listusers" => "Registered users",
430 "Statistics" => "Site statistics",
431 "Randompage" => "Random article",
432
433 "Lonelypages" => "Orphaned articles",
434 "Unusedimages" => "Orphaned images",
435 "Popularpages" => "Popular articles",
436 "Wantedpages" => "Most wanted articles",
437 "Shortpages" => "Short articles",
438 "Longpages" => "Long articles",
439 "Newpages" => "Newly created articles",
440 "Ancientpages" => "Oldest articles",
441 "Deadendpages" => "Dead-end pages",
442 # "Intl" => "Interlanguage Links",
443 "Allpages" => "All pages by title",
444
445 "Ipblocklist" => "Blocked users/IP addresses",
446 "Maintenance" => "Maintenance page",
447 "Specialpages" => "",
448 "Contributions" => "",
449 "Emailuser" => "",
450 "Whatlinkshere" => "",
451 "Recentchangeslinked" => "",
452 "Movepage" => "",
453 "Blockme" => "",
454 "Booksources" => "External book sources",
455 "Categories" => "Page categories",
456 "Export" => "XML page export",
457 "Version" => "Show MediaWiki version",
458 "Allmessages" => "All system messages"
459 );
460
461 /* private */ $wgSysopSpecialPagesEn = array(
462 "Blockip" => "Block a user/IP address",
463 "Asksql" => "Query the database",
464 "Undelete" => "Restore deleted pages",
465 "Makesysop" => "Turn a user into a sysop",
466 "Import" => "Import a page with history",
467 );
468
469 /* private */ $wgDeveloperSpecialPagesEn = array(
470 "Lockdb" => "Make database read-only",
471 "Unlockdb" => "Restore DB write access"
472 );
473
474 #-------------------------------------------------------------------
475 # Default messages
476 #-------------------------------------------------------------------
477 # Allowed characters in keys are: A-Z, a-z, 0-9, underscore (_) and
478 # hyphen (-). If you need more characters, you may be able to change
479 # the regex in MagicWord::initRegex
480
481 /* private */ $wgAllMessagesEn = array(
482
483 # Bits of text used by many pages:
484 #
485 "categories" => "Page categories",
486 "category" => "category",
487 "category_header" => "Articles in category \"$1\"",
488 "subcategories" => "Subcategories",
489
490
491 "linktrail" => "/^([a-z]+)(.*)\$/sD",
492 "mainpage" => "Main Page",
493 "mainpagetext" => "Wiki software successfully installed.",
494 "about" => "About",
495 "aboutwikipedia" => "About $wgSitename",
496 "aboutpage" => "$wgMetaNamespace:About",
497 'article' => 'Article',
498 "help" => "Help",
499 "helppage" => $wgNamespaceNamesEn[NS_HELP].":Contents",
500 "wikititlesuffix" => "$wgSitename",
501 "bugreports" => "Bug reports",
502 "bugreportspage" => "$wgMetaNamespace:Bug_reports",
503 "sitesupport" => "Donations", # Set a URL in $wgSiteSupportPage in LocalSettings.php
504 "faq" => "FAQ",
505 "faqpage" => "$wgMetaNamespace:FAQ",
506 "edithelp" => "Editing help",
507 "edithelppage" => $wgNamespaceNamesEn[NS_HELP].":Editing",
508 "cancel" => "Cancel",
509 "qbfind" => "Find",
510 "qbbrowse" => "Browse",
511 "qbedit" => "Edit",
512 "qbpageoptions" => "This page",
513 "qbpageinfo" => "Context",
514 "qbmyoptions" => "My pages",
515 "qbspecialpages" => "Special pages",
516 "moredotdotdot" => "More...",
517 "mypage" => "My page",
518 "mytalk" => "My talk",
519 'navigation' => 'Navigation',
520 "currentevents" => "Current events",
521 "disclaimers" => "Disclaimers",
522 "disclaimerpage" => "$wgMetaNamespace:General_disclaimer",
523 "errorpagetitle" => "Error",
524 "returnto" => "Return to $1.",
525 "fromwikipedia" => "From $wgSitename, the free encyclopedia.",
526 "whatlinkshere" => "Pages that link here",
527 "help" => "Help",
528 "search" => "Search",
529 "go" => "Go",
530 "history" => "Page history",
531 'history_short' => 'History',
532 "printableversion" => "Printable version",
533 'edit' => 'Edit',
534 "editthispage" => "Edit this page",
535 'delete' => 'Delete',
536 "deletethispage" => "Delete this page",
537 'protect' => 'Protect',
538 "protectthispage" => "Protect this page",
539 'unprotect' => 'Unprotect',
540 "unprotectthispage" => "Unprotect this page",
541 "newpage" => "New page",
542 "talkpage" => "Discuss this page",
543 'specialpage' => 'Special Page',
544 'personaltools' => 'Personal tools',
545 "postcomment" => "Post a comment",
546 "articlepage" => "View article",
547 "subjectpage" => "View subject", # For compatibility
548 'talk' => 'Discussion',
549 'toolbox' => 'Toolbox',
550 "userpage" => "View user page",
551 "wikipediapage" => "View meta page",
552 "imagepage" => "View image page",
553 "viewtalkpage" => "View discussion",
554 "otherlanguages" => "Other languages",
555 "redirectedfrom" => "(Redirected from $1)",
556 "lastmodified" => "This page was last modified $1.",
557 "viewcount" => "This page has been accessed $1 times.",
558 "gnunote" => "All text is available under the terms of the <a class='internal' href='$wgScriptPath/index.php/GNU_Free_Documentation_License'>GNU Free Documentation License</a>.",
559 "printsubtitle" => "(From $wgServer)",
560 "protectedpage" => "Protected page",
561 "administrators" => "$wgMetaNamespace:Administrators",
562 "sysoptitle" => "Sysop access required",
563 "sysoptext" => "The action you have requested can only be
564 performed by users with \"sysop\" status.
565 See $1.",
566 "developertitle" => "Developer access required",
567 "developertext" => "The action you have requested can only be
568 performed by users with \"developer\" status.
569 See $1.",
570 "bureaucrattitle" => "Bureaucrat access required",
571 "bureaucrattext" => "The action you have requested can only be
572 performed by sysops with \"bureaucrat\" status.",
573 "nbytes" => "$1 bytes",
574 "go" => "Go",
575 "ok" => "OK",
576 "sitetitle" => "$wgSitename",
577 "sitesubtitle" => "The Free Encyclopedia",
578 "retrievedfrom" => "Retrieved from \"$1\"",
579 "newmessages" => "You have $1.",
580 "newmessageslink" => "new messages",
581 "editsection"=>"edit",
582 "toc" => "Table of contents",
583 "showtoc" => "show",
584 "hidetoc" => "hide",
585 "thisisdeleted" => "View or restore $1?",
586 "restorelink" => "$1 deleted edits",
587
588 # Main script and global functions
589 #
590 "nosuchaction" => "No such action",
591 "nosuchactiontext" => "The action specified by the URL is not
592 recognized by the wiki",
593 "nosuchspecialpage" => "No such special page",
594 "nospecialpagetext" => "You have requested a special page that is not
595 recognized by the wiki.",
596
597 # General errors
598 #
599 "error" => "Error",
600 "databaseerror" => "Database error",
601 "dberrortext" => "A database query syntax error has occurred.
602 This could be because of an illegal search query (see $5),
603 or it may indicate a bug in the software.
604 The last attempted database query was:
605 <blockquote><tt>$1</tt></blockquote>
606 from within function \"<tt>$2</tt>\".
607 MySQL returned error \"<tt>$3: $4</tt>\".",
608 "dberrortextcl" => "A database query syntax error has occurred.
609 The last attempted database query was:
610 \"$1\"
611 from within function \"$2\".
612 MySQL returned error \"$3: $4\".\n",
613 "noconnect" => "Sorry! The wiki is experiencing some technical difficulties, and cannot contact the database server.",
614 "nodb" => "Could not select database $1",
615 "cachederror" => "The following is a cached copy of the requested page, and may not be up to date.",
616 "readonly" => "Database locked",
617 "enterlockreason" => "Enter a reason for the lock, including an estimate
618 of when the lock will be released",
619 "readonlytext" => "The database is currently locked to new
620 entries and other modifications, probably for routine database maintenance,
621 after which it will be back to normal.
622 The administrator who locked it offered this explanation:
623 <p>$1",
624 "missingarticle" => "The database did not find the text of a page
625 that it should have found, named \"$1\".
626
627 <p>This is usually caused by following an outdated diff or history link to a
628 page that has been deleted.
629
630 <p>If this is not the case, you may have found a bug in the software.
631 Please report this to an administrator, making note of the URL.",
632 "internalerror" => "Internal error",
633 "filecopyerror" => "Could not copy file \"$1\" to \"$2\".",
634 "filerenameerror" => "Could not rename file \"$1\" to \"$2\".",
635 "filedeleteerror" => "Could not delete file \"$1\".",
636 "filenotfound" => "Could not find file \"$1\".",
637 "unexpected" => "Unexpected value: \"$1\"=\"$2\".",
638 "formerror" => "Error: could not submit form",
639 "badarticleerror" => "This action cannot be performed on this page.",
640 "cannotdelete" => "Could not delete the page or image specified. (It may have already been deleted by someone else.)",
641 "badtitle" => "Bad title",
642 "badtitletext" => "The requested page title was invalid, empty, or
643 an incorrectly linked inter-language or inter-wiki title.",
644 "perfdisabled" => "Sorry! This feature has been temporarily disabled
645 because it slows the database down to the point that no one can use
646 the wiki.",
647 "perfdisabledsub" => "Here's a saved copy from $1:",
648 "wrong_wfQuery_params" => "Incorrect parameters to wfQuery()<br>
649 Function: $1<br>
650 Query: $2
651 ",
652 "viewsource" => "View source",
653 "protectedtext" => "This page has been locked to prevent editing; there are
654 a number of reasons why this may be so, please see
655 [[$wgMetaNamespace:Protected page]].
656
657 You can view and copy the source of this page:",
658
659 # Login and logout pages
660 #
661 "logouttitle" => "User logout",
662 "logouttext" => "You are now logged out.
663 You can continue to use $wgSitename anonymously, or you can log in
664 again as the same or as a different user. Note that some pages may
665 continue to be displayed as if you were still logged in, until you clear
666 your browser cache\n",
667
668 "welcomecreation" => "<h2>Welcome, $1!</h2><p>Your account has been created.
669 Don't forget to change your $wgSitename preferences.",
670
671 "loginpagetitle" => "User login",
672 "yourname" => "Your user name",
673 "yourpassword" => "Your password",
674 "yourpasswordagain" => "Retype password",
675 "newusersonly" => " (new users only)",
676 "remembermypassword" => "Remember my password across sessions.",
677 "loginproblem" => "<b>There has been a problem with your login.</b><br>Try again!",
678 "alreadyloggedin" => "<font color=red><b>User $1, you are already logged in!</b></font><br>\n",
679
680 "login" => "Log in",
681 "loginprompt" => "You must have cookies enabled to log in to $wgSitename.",
682 "userlogin" => "Log in",
683 "logout" => "Log out",
684 "userlogout" => "Log out",
685 "notloggedin" => "Not logged in",
686 "createaccount" => "Create new account",
687 "createaccountmail" => "by email",
688 "badretype" => "The passwords you entered do not match.",
689 "userexists" => "The user name you entered is already in use. Please choose a different name.",
690 "youremail" => "Your email*",
691 "yournick" => "Your nickname (for signatures)",
692 "emailforlost" => "* Entering an email address is optional. But it enables people to
693 contact you through the website without you having to reveal your
694 email address to them, and it also helps you if you forget your
695 password.",
696 "loginerror" => "Login error",
697 "nocookiesnew" => "The user account was created, but you are not logged in. $wgSitename uses cookies to log in users. You have cookies disabled. Please enable them, then log in with your new username and password.",
698 "nocookieslogin" => "$wgSitename uses cookies to log in users. You have cookies disabled. Please enable them and try again.",
699 "noname" => "You have not specified a valid user name.",
700 "loginsuccesstitle" => "Login successful",
701 "loginsuccess" => "You are now logged in to $wgSitename as \"$1\".",
702 "nosuchuser" => "There is no user by the name \"$1\".
703 Check your spelling, or use the form below to create a new user account.",
704 "wrongpassword" => "The password you entered is incorrect. Please try again.",
705 "mailmypassword" => "Mail me a new password",
706 "passwordremindertitle" => "Password reminder from $wgSitename",
707 "passwordremindertext" => "Someone (probably you, from IP address $1)
708 requested that we send you a new $wgSitename login password.
709 The password for user \"$2\" is now \"$3\".
710 You should log in and change your password now.",
711 "noemail" => "There is no e-mail address recorded for user \"$1\".",
712 "passwordsent" => "A new password has been sent to the e-mail address
713 registered for \"$1\".
714 Please log in again after you receive it.",
715 "loginend" => "&nbsp;",
716 "mailerror" => "Error sending mail: $1",
717
718 # Edit page toolbar
719 "bold_sample"=>"Bold text",
720 "bold_tip"=>"Bold text",
721 "italic_sample"=>"Italic text",
722 "italic_tip"=>"Italic text",
723 "link_sample"=>"Link title",
724 "link_tip"=>"Internal link",
725 "extlink_sample"=>"http://www.example.com link title",
726 "extlink_tip"=>"External link (remember http:// prefix)",
727 "headline_sample"=>"Headline text",
728 "headline_tip"=>"Level 2 headline",
729 "math_sample"=>"Insert formula here",
730 "math_tip"=>"Mathematical formula (LaTeX)",
731 "nowiki_sample"=>"Insert non-formatted text here",
732 "nowiki_tip"=>"Ignore wiki formatting",
733 "image_sample"=>"Example.jpg",
734 "image_tip"=>"Embedded image",
735 "media_sample"=>"Example.mp3",
736 "media_tip"=>"Media file link",
737 "sig_tip"=>"Your signature with timestamp",
738 "hr_tip"=>"Horizontal line (use sparingly)",
739 "infobox"=>"Click a button to get an example text",
740 # alert box shown in browsers where text selection does not work, test e.g. with mozilla or konqueror
741 "infobox_alert"=>"Please enter the text you want to be formatted.\\n It will be shown in the infobox for copy and pasting.\\nExample:\\n$1\\nwill become:\\n$2",
742
743 # Edit pages
744 #
745 "summary" => "Summary",
746 "subject" => "Subject/headline",
747 "minoredit" => "This is a minor edit",
748 "watchthis" => "Watch this article",
749 "savearticle" => "Save page",
750 "preview" => "Preview",
751 "showpreview" => "Show preview",
752 "blockedtitle" => "User is blocked",
753 "blockedtext" => "Your user name or IP address has been blocked by $1.
754 The reason given is this:<br>''$2''<p>You may contact $1 or one of the other
755 [[$wgMetaNamespace:Administrators|administrators]] to discuss the block.
756
757 Note that you may not use the \"email this user\" feature unless you have a valid email address registered in your [[Special:Preferences|user preferences]].
758
759 Your IP address is $3. Please include this address in any queries you make.
760 ",
761 "whitelistedittitle" => "Login required to edit",
762 "whitelistedittext" => "You have to [[Special:Userlogin|login]] to edit articles.",
763 "whitelistreadtitle" => "Login required to read",
764 "whitelistreadtext" => "You have to [[Special:Userlogin|login]] to read articles.",
765 "whitelistacctitle" => "You are not allowed to create an account",
766 "whitelistacctext" => "To be allowed to create accounts in this Wiki you have to [[Special:Userlogin|log]] in and have the appropriate permissions.",
767 "loginreqtitle" => "Login Required",
768 "loginreqtext" => "You must [[special:Userlogin|login]] to view other pages.",
769 "accmailtitle" => "Password sent.",
770 "accmailtext" => "The Password for '$1' has been sent to $2.",
771 "newarticle" => "(New)",
772 "newarticletext" =>
773 "You've followed a link to a page that doesn't exist yet.
774 To create the page, start typing in the box below
775 (see the [[$wgMetaNamespace:Help|help page]] for more info).
776 If you are here by mistake, just click your browser's '''back''' button.",
777 "talkpagetext" => "<!-- MediaWiki:talkpagetext -->",
778 "anontalkpagetext" => "---- ''This is the discussion page for an anonymous user who has not created an account yet or who does not use it. We therefore have to use the numerical [[IP address]] to identify him/her. Such an IP address can be shared by several users. If you are an anonymous user and feel that irrelevant comments have been directed at you, please [[Special:Userlogin|create an account or log in]] to avoid future confusion with other anonymous users.'' ",
779 "noarticletext" => "(There is currently no text in this page)",
780 "updated" => "(Updated)",
781 "note" => "<strong>Note:</strong> ",
782 "previewnote" => "Remember that this is only a preview, and has not yet been saved!",
783 "previewconflict" => "This preview reflects the text in the upper
784 text editing area as it will appear if you choose to save.",
785 "editing" => "Editing $1",
786 "sectionedit" => " (section)",
787 "commentedit" => " (comment)",
788 "editconflict" => "Edit conflict: $1",
789 "explainconflict" => "Someone else has changed this page since you
790 started editing it.
791 The upper text area contains the page text as it currently exists.
792 Your changes are shown in the lower text area.
793 You will have to merge your changes into the existing text.
794 <b>Only</b> the text in the upper text area will be saved when you
795 press \"Save page\".\n<p>",
796 "yourtext" => "Your text",
797 "storedversion" => "Stored version",
798 "editingold" => "<strong>WARNING: You are editing an out-of-date
799 revision of this page.
800 If you save it, any changes made since this revision will be lost.</strong>\n",
801 "yourdiff" => "Differences",
802 # FIXME: This is inappropriate for third-party use!
803 "copyrightwarning" => "Please note that all contributions to $wgSitename are
804 considered to be released under the GNU Free Documentation License
805 (see $1 for details).
806 If you don't want your writing to be edited mercilessly and redistributed
807 at will, then don't submit it here.<br>
808 You are also promising us that you wrote this yourself, or copied it from a
809 public domain or similar free resource.
810 <strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>",
811 "longpagewarning" => "WARNING: This page is $1 kilobytes long; some
812 browsers may have problems editing pages approaching or longer than 32kb.
813 Please consider breaking the page into smaller sections.",
814 "readonlywarning" => "WARNING: The database has been locked for maintenance,
815 so you will not be able to save your edits right now. You may wish to cut-n-paste
816 the text into a text file and save it for later.",
817 "protectedpagewarning" => "WARNING: This page has been locked so that only
818 users with sysop privileges can edit it. Be sure you are following the
819 <a href='$wgScriptPath/$wgMetaNamespace:Protected_page_guidelines'>protected page
820 guidelines</a>.",
821
822 # History pages
823 #
824 "revhistory" => "Revision history",
825 "nohistory" => "There is no edit history for this page.",
826 "revnotfound" => "Revision not found",
827 "revnotfoundtext" => "The old revision of the page you asked for could not be found.
828 Please check the URL you used to access this page.\n",
829 "loadhist" => "Loading page history",
830 "currentrev" => "Current revision",
831 "revisionasof" => "Revision as of $1",
832 "cur" => "cur",
833 "next" => "next",
834 "last" => "last",
835 "orig" => "orig",
836 "histlegend" => "Legend: (cur) = difference with current version,
837 (last) = difference with preceding version, M = minor edit",
838
839 # Diffs
840 #
841 "difference" => "(Difference between revisions)",
842 "loadingrev" => "loading revision for diff",
843 "lineno" => "Line $1:",
844 "editcurrent" => "Edit the current version of this page",
845
846 # Search results
847 #
848 "searchresults" => "Search results",
849 "searchhelppage" => "$wgMetaNamespace:Searching",
850 "searchingwikipedia" => "Searching $wgSitename",
851 "searchresulttext" => "For more information about searching $wgSitename, see $1.",
852 "searchquery" => "For query \"$1\"",
853 "badquery" => "Badly formed search query",
854 "badquerytext" => "We could not process your query.
855 This is probably because you have attempted to search for a
856 word fewer than three letters long, which is not yet supported.
857 It could also be that you have mistyped the expression, for
858 example \"fish and and scales\".
859 Please try another query.",
860 "matchtotals" => "The query \"$1\" matched $2 article titles
861 and the text of $3 articles.",
862 "nogomatch" => "No page with this exact title exists, trying full text search.",
863 "titlematches" => "Article title matches",
864 "notitlematches" => "No article title matches",
865 "textmatches" => "Article text matches",
866 "notextmatches" => "No article text matches",
867 "prevn" => "previous $1",
868 "nextn" => "next $1",
869 "viewprevnext" => "View ($1) ($2) ($3).",
870 "showingresults" => "Showing below <b>$1</b> results starting with #<b>$2</b>.",
871 "showingresultsnum" => "Showing below <b>$3</b> results starting with #<b>$2</b>.",
872 "nonefound" => "<strong>Note</strong>: unsuccessful searches are
873 often caused by searching for common words like \"have\" and \"from\",
874 which are not indexed, or by specifying more than one search term (only pages
875 containing all of the search terms will appear in the result).",
876 "powersearch" => "Search",
877 "powersearchtext" => "
878 Search in namespaces :<br>
879 $1<br>
880 $2 List redirects &nbsp; Search for $3 $9",
881 "searchdisabled" => "<p>Sorry! Full text search has been disabled temporarily, for performance reasons. In the meantime, you can use the Google search below, which may be out of date.</p>",
882 "googlesearch" => "
883 <!-- SiteSearch Google -->
884 <FORM method=GET action=\"http://www.google.com/search\">
885 <TABLE bgcolor=\"#FFFFFF\"><tr><td>
886 <A HREF=\"http://www.google.com/\">
887 <IMG SRC=\"http://www.google.com/logos/Logo_40wht.gif\"
888 border=\"0\" ALT=\"Google\"></A>
889 </td>
890 <td>
891 <INPUT TYPE=text name=q size=31 maxlength=255 value=\"$1\">
892 <INPUT type=submit name=btnG VALUE=\"Google Search\">
893 <font size=-1>
894 <input type=hidden name=domains value=\"{$wgServer}\"><br><input type=radio name=sitesearch value=\"\"> WWW <input type=radio name=sitesearch value=\"{$wgServer}\" checked> {$wgServer} <br>
895 <input type='hidden' name='ie' value='$2'>
896 <input type='hidden' name='oe' value='$2'>
897 </font>
898 </td></tr></TABLE>
899 </FORM>
900 <!-- SiteSearch Google -->",
901 "blanknamespace" => "(Main)",
902
903 # Preferences page
904 #
905 "preferences" => "Preferences",
906 "prefsnologin" => "Not logged in",
907 "prefsnologintext" => "You must be <a href=\"" .
908 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
909 to set user preferences.",
910 "prefslogintext" => "You are logged in as \"$1\".
911 Your internal ID number is $2.
912
913 See [[$wgMetaNamespace:User preferences help]] for help deciphering the options.",
914 "prefsreset" => "Preferences have been reset from storage.",
915 "qbsettings" => "Quickbar settings",
916 "changepassword" => "Change password",
917 "skin" => "Skin",
918 "math" => "Rendering math",
919 "dateformat" => "Date format",
920 "math_failure" => "Failed to parse",
921 "math_unknown_error" => "unknown error",
922 "math_unknown_function" => "unknown function ",
923 "math_lexing_error" => "lexing error",
924 "math_syntax_error" => "syntax error",
925 "math_image_error" => "PNG conversion failed; check for correct installation of latex, dvips, gs, and convert",
926 "math_bad_tmpdir" => "Can't write to or create math temp directory",
927 "math_bad_output" => "Can't write to or create math output directory",
928 "math_notexvc" => "Missing texvc executable; please see math/README to configure.",
929 "saveprefs" => "Save preferences",
930 "resetprefs" => "Reset preferences",
931 "oldpassword" => "Old password",
932 "newpassword" => "New password",
933 "retypenew" => "Retype new password",
934 "textboxsize" => "Textbox dimensions",
935 "rows" => "Rows",
936 "columns" => "Columns",
937 "searchresultshead" => "Search result settings",
938 "resultsperpage" => "Hits to show per page",
939 "contextlines" => "Lines to show per hit",
940 "contextchars" => "Characters of context per line",
941 "stubthreshold" => "Threshold for stub display",
942 "recentchangescount" => "Number of titles in recent changes",
943 "savedprefs" => "Your preferences have been saved.",
944 "timezonetext" => "Enter number of hours your local time differs
945 from server time (UTC).",
946 "localtime" => "Local time display",
947 "timezoneoffset" => "Offset",
948 "servertime" => "Server time is now",
949 "guesstimezone" => "Fill in from browser",
950 "emailflag" => "Disable e-mail from other users",
951 "defaultns" => "Search in these namespaces by default:",
952
953 # Recent changes
954 #
955 "changes" => "changes",
956 "recentchanges" => "Recent changes",
957 "recentchangestext" => "Track the most recent changes to the wiki on this page.",
958 "rcloaderr" => "Loading recent changes",
959 "rcnote" => "Below are the last <strong>$1</strong> changes in last <strong>$2</strong> days.",
960 "rcnotefrom" => "Below are the changes since <b>$2</b> (up to <b>$1</b> shown).",
961 "rclistfrom" => "Show new changes starting from $1",
962 # "rclinks" => "Show last $1 changes in last $2 hours / last $3 days",
963 # "rclinks" => "Show last $1 changes in last $2 days.",
964 "showhideminor" => "$1 minor edits | $2 bots | $3 logged in users ",
965 "rclinks" => "Show last $1 changes in last $2 days<br>$3",
966 "rchide" => "in $4 form; $1 minor edits; $2 secondary namespaces; $3 multiple edits.",
967 "rcliu" => "; $1 edits from logged in users",
968 "diff" => "diff",
969 "hist" => "hist",
970 "hide" => "hide",
971 "show" => "show",
972 "tableform" => "table",
973 "listform" => "list",
974 "nchanges" => "$1 changes",
975 "minoreditletter" => "M",
976 "newpageletter" => "N",
977
978 # Upload
979 #
980 "upload" => "Upload file",
981 "uploadbtn" => "Upload file",
982 "uploadlink" => "Upload images",
983 "reupload" => "Re-upload",
984 "reuploaddesc" => "Return to the upload form.",
985 "uploadnologin" => "Not logged in",
986 "uploadnologintext" => "You must be <a href=\"" .
987 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
988 to upload files.",
989 "uploadfile" => "Upload images, sounds, documents etc.",
990 "uploaderror" => "Upload error",
991 "uploadtext" => "<strong>STOP!</strong> Before you upload here,
992 make sure to read and follow the <a href=\"" .
993 wfLocalUrlE( "$wgMetaNamespace:Image_use_policy" ) . "\">image use policy</a>.
994 <p>If a file with the name you are specifying already
995 exists on the wiki, it'll be replaced without warning.
996 So unless you mean to update a file, it's a good idea
997 to first check if such a file exists.
998 <p>To view or search previously uploaded images,
999 go to the <a href=\"" . wfLocalUrlE( "Special:Imagelist" ) .
1000 "\">list of uploaded images</a>.
1001 Uploads and deletions are logged on the <a href=\"" .
1002 wfLocalUrlE( "$wgMetaNamespace:Upload_log" ) . "\">upload log</a>.
1003 <p>Use the form below to upload new image files for use in
1004 illustrating your articles.
1005 On most browsers, you will see a \"Browse...\" button, which will
1006 bring up your operating system's standard file open dialog.
1007 Choosing a file will fill the name of that file into the text
1008 field next to the button.
1009 You must also check the box affirming that you are not
1010 violating any copyrights by uploading the file.
1011 Press the \"Upload\" button to finish the upload.
1012 This may take some time if you have a slow internet connection.
1013 <p>The preferred formats are JPEG for photographic images, PNG
1014 for drawings and other iconic images, and OGG for sounds.
1015 Please name your files descriptively to avoid confusion.
1016 To include the image in an article, use a link in the form
1017 <b>[[image:file.jpg]]</b> or <b>[[image:file.png|alt text]]</b>
1018 or <b>[[media:file.ogg]]</b> for sounds.
1019 <p>Please note that as with wiki pages, others may edit or
1020 delete your uploads if they think it serves the encyclopedia, and
1021 you may be blocked from uploading if you abuse the system.",
1022
1023 "uploadlog" => "upload log",
1024 "uploadlogpage" => "Upload_log",
1025 "uploadlogpagetext" => "Below is a list of the most recent file uploads.
1026 All times shown are server time (UTC).
1027 <ul>
1028 </ul>
1029 ",
1030 "filename" => "Filename",
1031 "filedesc" => "Summary",
1032 "filestatus" => "Copyright status",
1033 "filesource" => "Source",
1034 "affirmation" => "I affirm that the copyright holder of this file
1035 agrees to license it under the terms of the $1.",
1036 "copyrightpage" => "$wgMetaNamespace:Copyrights",
1037 "copyrightpagename" => "$wgSitename copyright",
1038 "uploadedfiles" => "Uploaded files",
1039 "noaffirmation" => "You must affirm that your upload does not violate
1040 any copyrights.",
1041 "ignorewarning" => "Ignore warning and save file anyway.",
1042 "minlength" => "Image names must be at least three letters.",
1043 "badfilename" => "Image name has been changed to \"$1\".",
1044 "badfiletype" => "\".$1\" is not a recommended image file format.",
1045 "largefile" => "It is recommended that images not exceed 100k in size.",
1046 "successfulupload" => "Successful upload",
1047 "fileuploaded" => "File \"$1\" uploaded successfully.
1048 Please follow this link: ($2) to the description page and fill
1049 in information about the file, such as where it came from, when it was
1050 created and by whom, and anything else you may know about it.",
1051 "uploadwarning" => "Upload warning",
1052 "savefile" => "Save file",
1053 "uploadedimage" => "uploaded \"$1\"",
1054 "uploaddisabled" => "Sorry, uploading is disabled.",
1055
1056 # Image list
1057 #
1058 "imagelist" => "Image list",
1059 "imagelisttext" => "Below is a list of $1 images sorted $2.",
1060 "getimagelist" => "fetching image list",
1061 "ilshowmatch" => "Show all images with names matching",
1062 "ilsubmit" => "Search",
1063 "showlast" => "Show last $1 images sorted $2.",
1064 "all" => "all",
1065 "byname" => "by name",
1066 "bydate" => "by date",
1067 "bysize" => "by size",
1068 "imgdelete" => "del",
1069 "imgdesc" => "desc",
1070 "imglegend" => "Legend: (desc) = show/edit image description.",
1071 "imghistory" => "Image history",
1072 "revertimg" => "rev",
1073 "deleteimg" => "del",
1074 "imghistlegend" => "Legend: (cur) = this is the current image, (del) = delete
1075 this old version, (rev) = revert to this old version.
1076 <br><i>Click on date to see image uploaded on that date</i>.",
1077 "imagelinks" => "Image links",
1078 "linkstoimage" => "The following pages link to this image:",
1079 "nolinkstoimage" => "There are no pages that link to this image.",
1080
1081 # Statistics
1082 #
1083 "statistics" => "Statistics",
1084 "sitestats" => "Site statistics",
1085 "userstats" => "User statistics",
1086 "sitestatstext" => "There are <b>$1</b> total pages in the database.
1087 This includes \"talk\" pages, pages about $wgSitename, minimal \"stub\"
1088 pages, redirects, and others that probably don't qualify as articles.
1089 Excluding those, there are <b>$2</b> pages that are probably legitimate
1090 articles.<p>
1091 There have been a total of <b>$3</b> page views, and <b>$4</b> page edits
1092 since the software was upgraded (July 20, 2002).
1093 That comes to <b>$5</b> average edits per page, and <b>$6</b> views per edit.",
1094 "userstatstext" => "There are <b>$1</b> registered users.
1095 <b>$2</b> of these are administrators (see $3).",
1096
1097 # Maintenance Page
1098 #
1099 "maintenance" => "Maintenance page",
1100 "maintnancepagetext" => "This page includes several handy tools for everyday maintenance. Some of these functions tend to stress the database, so please do not hit reload after every item you fixed ;-)",
1101 "maintenancebacklink" => "Back to Maintenance Page",
1102 "disambiguations" => "Disambiguation pages",
1103 "disambiguationspage" => "$wgMetaNamespace:Links_to_disambiguating_pages",
1104 "disambiguationstext" => "The following articles link to a <i>disambiguation page</i>. They should link to the appropriate topic instead.<br>A page is treated as dismbiguation if it is linked from $1.<br>Links from other namespaces are <i>not</i> listed here.",
1105 "doubleredirects" => "Double Redirects",
1106 "doubleredirectstext" => "<b>Attention:</b> This list may contain false positives. That usually means there is additional text with links below the first #REDIRECT.<br>\nEach row contains links to the first and second redirect, as well as the first line of the second redirect text, usually giving the \"real\" taget article, which the first redirect should point to.",
1107 "brokenredirects" => "Broken Redirects",
1108 "brokenredirectstext" => "The following redirects link to a non-existing article.",
1109 "selflinks" => "Pages with Self Links",
1110 "selflinkstext" => "The following pages contain a link to themselves, which they should not.",
1111 "mispeelings" => "Pages with misspellings",
1112 "mispeelingstext" => "The following pages contain a common misspelling, which are listed on $1. The correct spelling might be given (like this).",
1113 "mispeelingspage" => "List of common misspellings",
1114 "missinglanguagelinks" => "Missing Language Links",
1115 "missinglanguagelinksbutton" => "Find missing language links for",
1116 "missinglanguagelinkstext" => "These articles do <i>not</i> link to their counterpart in $1. Redirects and subpages are <i>not</i> shown.",
1117
1118
1119 # Miscellaneous special pages
1120 #
1121 "orphans" => "Orphaned pages",
1122 "lonelypages" => "Orphaned pages",
1123 "unusedimages" => "Unused images",
1124 "popularpages" => "Popular pages",
1125 "nviews" => "$1 views",
1126 "wantedpages" => "Wanted pages",
1127 "nlinks" => "$1 links",
1128 "allpages" => "All pages",
1129 "randompage" => "Random page",
1130 "shortpages" => "Short pages",
1131 "longpages" => "Long pages",
1132 "deadendpages" => "Dead-end pages",
1133 "listusers" => "User list",
1134 "specialpages" => "Special pages",
1135 "spheading" => "Special pages for all users",
1136 "sysopspheading" => "For sysop use only",
1137 "developerspheading" => "For developer use only",
1138 "protectpage" => "Protect page",
1139 "recentchangeslinked" => "Related changes",
1140 "rclsub" => "(to pages linked from \"$1\")",
1141 "debug" => "Debug",
1142 "newpages" => "New pages",
1143 "ancientpages" => "Oldest articles",
1144 "intl" => "Interlanguage links",
1145 'move' => 'Move',
1146 "movethispage" => "Move this page",
1147 "unusedimagestext" => "<p>Please note that other web sites may link to an image with
1148 a direct URL, and so may still be listed here despite being
1149 in active use.",
1150 "booksources" => "Book sources",
1151 # FIXME: Other sites, of course, may have affiliate relations with the booksellers list
1152 "booksourcetext" => "Below is a list of links to other sites that
1153 sell new and used books, and may also have further information
1154 about books you are looking for.
1155 $wgSitename is not affiliated with any of these businesses, and
1156 this list should not be construed as an endorsement.",
1157 "rfcurl" => "http://www.faqs.org/rfcs/rfc$1.html",
1158 "alphaindexline" => "$1 to $2",
1159 "version" => "Version",
1160
1161 # Email this user
1162 #
1163 "mailnologin" => "No send address",
1164 "mailnologintext" => "You must be <a href=\"" .
1165 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
1166 and have a valid e-mail address in your <a href=\"" .
1167 wfLocalUrl( "Special:Preferences" ) . "\">preferences</a>
1168 to send e-mail to other users.",
1169 "emailuser" => "E-mail this user",
1170 "emailpage" => "E-mail user",
1171 "emailpagetext" => "If this user has entered a valid e-mail address in
1172 his or her user preferences, the form below will send a single message.
1173 The e-mail address you entered in your user preferences will appear
1174 as the \"From\" address of the mail, so the recipient will be able
1175 to reply.",
1176 "usermailererror" => "Mail object returned error: ",
1177 "defemailsubject" => "$wgSitename e-mail",
1178 "noemailtitle" => "No e-mail address",
1179 "noemailtext" => "This user has not specified a valid e-mail address,
1180 or has chosen not to receive e-mail from other users.",
1181 "emailfrom" => "From",
1182 "emailto" => "To",
1183 "emailsubject" => "Subject",
1184 "emailmessage" => "Message",
1185 "emailsend" => "Send",
1186 "emailsent" => "E-mail sent",
1187 "emailsenttext" => "Your e-mail message has been sent.",
1188
1189 # Watchlist
1190 #
1191 "watchlist" => "My watchlist",
1192 "watchlistsub" => "(for user \"$1\")",
1193 "nowatchlist" => "You have no items on your watchlist.",
1194 "watchnologin" => "Not logged in",
1195 "watchnologintext" => "You must be <a href=\"" .
1196 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
1197 to modify your watchlist.",
1198 "addedwatch" => "Added to watchlist",
1199 "addedwatchtext" => "The page \"$1\" has been added to your <a href=\"" .
1200 wfLocalUrl( "Special:Watchlist" ) . "\">watchlist</a>.
1201 Future changes to this page and its associated Talk page will be listed there,
1202 and the page will appear <b>bolded</b> in the <a href=\"" .
1203 wfLocalUrl( "Special:Recentchanges" ) . "\">list of recent changes</a> to
1204 make it easier to pick out.</p>
1205
1206 <p>If you want to remove the page from your watchlist later, click \"Stop watching\" in the sidebar.",
1207 "removedwatch" => "Removed from watchlist",
1208 "removedwatchtext" => "The page \"$1\" has been removed from your watchlist.",
1209 'watch' => 'Watch',
1210 "watchthispage" => "Watch this page",
1211 'unwatch' => 'Unwatch',
1212 "unwatchthispage" => "Stop watching",
1213 "notanarticle" => "Not an article",
1214 "watchnochange" => "None of your watched items were edited in the time period displayed.",
1215 "watchdetails" => "($1 pages watched not counting talk pages;
1216 $2 total pages edited since cutoff;
1217 $3...
1218 <a href='$4'>show and edit complete list</a>.)",
1219 "watchmethod-recent"=> "checking recent edits for watched pages",
1220 "watchmethod-list" => "checking watched pages for recent edits",
1221 "removechecked" => "Remove checked items from watchlist",
1222 "watchlistcontains" => "Your watchlist contains $1 pages.",
1223 "watcheditlist" => "Here's an alphabetical list of your
1224 watched pages. Check the boxes of pages you want to remove
1225 from your watchlist and click the 'remove checked' button
1226 at the bottom of the screen.",
1227 "removingchecked" => "Removing requested items from watchlist...",
1228 "couldntremove" => "Couldn't remove item '$1'...",
1229 "iteminvalidname" => "Problem with item '$1', invalid name...",
1230 "wlnote" => "Below are the last $1 changes in the last <b>$2</b> hours.",
1231 "wlshowlast" => "Show last $1 hours $2 days $3",
1232 "wlsaved" => "This is a saved version of your watchlist.",
1233
1234
1235 # Delete/protect/revert
1236 #
1237 "deletepage" => "Delete page",
1238 "confirm" => "Confirm",
1239 "excontent" => "content was:",
1240 "exbeforeblank" => "content before blanking was:",
1241 "exblank" => "page was empty",
1242 "confirmdelete" => "Confirm delete",
1243 "deletesub" => "(Deleting \"$1\")",
1244 "historywarning" => "Warning: The page you are about to delete has a history: ",
1245 "confirmdeletetext" => "You are about to permanently delete a page
1246 or image along with all of its history from the database.
1247 Please confirm that you intend to do this, that you understand the
1248 consequences, and that you are doing this in accordance with
1249 [[$wgMetaNamespace:Policy]].",
1250 "confirmcheck" => "Yes, I really want to delete this.",
1251 "actioncomplete" => "Action complete",
1252 "deletedtext" => "\"$1\" has been deleted.
1253 See $2 for a record of recent deletions.",
1254 "deletedarticle" => "deleted \"$1\"",
1255 "dellogpage" => "Deletion_log",
1256 "dellogpagetext" => "Below is a list of the most recent deletions.
1257 All times shown are server time (UTC).
1258 <ul>
1259 </ul>
1260 ",
1261 "deletionlog" => "deletion log",
1262 "reverted" => "Reverted to earlier revision",
1263 "deletecomment" => "Reason for deletion",
1264 "imagereverted" => "Revert to earlier version was successful.",
1265 "rollback" => "Roll back edits",
1266 'rollback_short' => 'Rollback',
1267 "rollbacklink" => "rollback",
1268 "rollbackfailed" => "Rollback failed",
1269 "cantrollback" => "Cannot revert edit; last contributor is only author of this article.",
1270 "alreadyrolled" => "Cannot rollback last edit of [[$1]]
1271 by [[User:$2|$2]] ([[User talk:$2|Talk]]); someone else has edited or rolled back the article already.
1272
1273 Last edit was by [[User:$3|$3]] ([[User talk:$3|Talk]]). ",
1274 # only shown if there is an edit comment
1275 "editcomment" => "The edit comment was: \"<i>$1</i>\".",
1276 "revertpage" => "Reverted edit of $2, changed back to last version by $1",
1277 "protectlogpage" => "Protection_log",
1278 "protectlogtext" => "Below is a list of page locks/unlocks.
1279 See [[$wgMetaNamespace:Protected page]] for more information.",
1280 "protectedarticle" => "protected [[$1]]",
1281 "unprotectedarticle" => "unprotected [[$1]]",
1282
1283 # Undelete
1284 "undelete" => "Restore deleted page",
1285 "undeletepage" => "View and restore deleted pages",
1286 "undeletepagetext" => "The following pages have been deleted but are still in the archive and
1287 can be restored. The archive may be periodically cleaned out.",
1288 "undeletearticle" => "Restore deleted article",
1289 "undeleterevisions" => "$1 revisions archived",
1290 "undeletehistory" => "If you restore the page, all revisions will be restored to the history.
1291 If a new page with the same name has been created since the deletion, the restored
1292 revisions will appear in the prior history, and the current revision of the live page
1293 will not be automatically replaced.",
1294 "undeleterevision" => "Deleted revision as of $1",
1295 "undeletebtn" => "Restore!",
1296 "undeletedarticle" => "restored \"$1\"",
1297 "undeletedtext" => "The article [[$1]] has been successfully restored.
1298 See [[$wgMetaNamespace:Deletion_log]] for a record of recent deletions and restorations.",
1299
1300 # Contributions
1301 #
1302 "contributions" => "User contributions",
1303 "mycontris" => "My contributions",
1304 "contribsub" => "For $1",
1305 "nocontribs" => "No changes were found matching these criteria.",
1306 "ucnote" => "Below are this user's last <b>$1</b> changes in the last <b>$2</b> days.",
1307 "uclinks" => "View the last $1 changes; view the last $2 days.",
1308 "uctop" => " (top)" ,
1309
1310 # What links here
1311 #
1312 "whatlinkshere" => "What links here",
1313 "notargettitle" => "No target",
1314 "notargettext" => "You have not specified a target page or user
1315 to perform this function on.",
1316 "linklistsub" => "(List of links)",
1317 "linkshere" => "The following pages link to here:",
1318 "nolinkshere" => "No pages link to here.",
1319 "isredirect" => "redirect page",
1320
1321 # Block/unblock IP
1322 #
1323 "blockip" => "Block user",
1324 "blockiptext" => "Use the form below to block write access
1325 from a specific IP address or username.
1326 This should be done only only to prevent vandalism, and in
1327 accordance with [[$wgMetaNamespace:Policy|policy]].
1328 Fill in a specific reason below (for example, citing particular
1329 pages that were vandalized).",
1330 "ipaddress" => "IP Address/username",
1331 "ipbexpiry" => "Expiry",
1332 "ipbreason" => "Reason",
1333 "ipbsubmit" => "Block this user",
1334 "badipaddress" => "Invalid IP address",
1335 "noblockreason" => "You must supply a reason for the block.",
1336 "blockipsuccesssub" => "Block succeeded",
1337 "blockipsuccesstext" => "\"$1\" has been blocked.
1338 <br>See [[Special:Ipblocklist|IP block list]] to review blocks.",
1339 "unblockip" => "Unblock user",
1340 "unblockiptext" => "Use the form below to restore write access
1341 to a previously blocked IP address or username.",
1342 "ipusubmit" => "Unblock this address",
1343 "ipusuccess" => "\"$1\" unblocked",
1344 "ipblocklist" => "List of blocked IP addresses and usernames",
1345 "blocklistline" => "$1, $2 blocked $3 (expires $4)",
1346 "blocklink" => "block",
1347 "unblocklink" => "unblock",
1348 "contribslink" => "contribs",
1349 "autoblocker" => "Autoblocked because you share an IP address with \"$1\". Reason \"$2\".",
1350 "blocklogpage" => "Block_log",
1351 "blocklogentry" => 'blocked "$1" with an expiry time of $2',
1352 "blocklogtext" => "This is a log of user blocking and unblocking actions. Automatically
1353 blocked IP addresses are not be listed. See the [[Special:Ipblocklist|IP block list]] for
1354 the list of currently operational bans and blocks.",
1355 "unblocklogentry" => 'unblocked "$1"',
1356 "range_block_disabled" => "The sysop ability to create range blocks is disabled.",
1357 "ipb_expiry_invalid" => "Expiry time invalid.",
1358 "ip_range_invalid" => "Invalid IP range.\n",
1359 "proxyblocker" => "Proxy blocker",
1360 "proxyblockreason" => "Your IP address has been blocked because it is an open proxy. Please contact your Internet service provider or tech support and inform them of this serious security problem.",
1361 "proxyblocksuccess" => "Done.\n",
1362
1363 # Developer tools
1364 #
1365 "lockdb" => "Lock database",
1366 "unlockdb" => "Unlock database",
1367 "lockdbtext" => "Locking the database will suspend the ability of all
1368 users to edit pages, change their preferences, edit their watchlists, and
1369 other things requiring changes in the database.
1370 Please confirm that this is what you intend to do, and that you will
1371 unlock the database when your maintenance is done.",
1372 "unlockdbtext" => "Unlocking the database will restore the ability of all
1373 users to edit pages, change their preferences, edit their watchlists, and
1374 other things requiring changes in the database.
1375 Please confirm that this is what you intend to do.",
1376 "lockconfirm" => "Yes, I really want to lock the database.",
1377 "unlockconfirm" => "Yes, I really want to unlock the database.",
1378 "lockbtn" => "Lock database",
1379 "unlockbtn" => "Unlock database",
1380 "locknoconfirm" => "You did not check the confirmation box.",
1381 "lockdbsuccesssub" => "Database lock succeeded",
1382 "unlockdbsuccesssub" => "Database lock removed",
1383 "lockdbsuccesstext" => "The database has been locked.
1384 <br>Remember to remove the lock after your maintenance is complete.",
1385 "unlockdbsuccesstext" => "The database has been unlocked.",
1386
1387 # SQL query
1388 #
1389 "asksql" => "SQL query",
1390 "asksqltext" => "Use the form below to make a direct query of the
1391 database.
1392 Use single quotes ('like this') to delimit string literals.
1393 This can often add considerable load to the server, so please use
1394 this function sparingly.",
1395 "sqlislogged" => "Please note that all queries are logged.",
1396 "sqlquery" => "Enter query",
1397 "querybtn" => "Submit query",
1398 "selectonly" => "Only read-only queries are allowed.",
1399 "querysuccessful" => "Query successful",
1400
1401 # Make sysop
1402 "makesysoptitle" => "Make a user into a sysop",
1403 "makesysoptext" => "This form is used by bureaucrats to turn ordinary users into administrators.
1404 Type the name of the user in the box and press the button to make the user an administrator",
1405 "makesysopname" => "Name of the user:",
1406 "makesysopsubmit" => "Make this user into a sysop",
1407 "makesysopok" => "<b>User \"$1\" is now a sysop</b>",
1408 "makesysopfail" => "<b>User \"$1\" could not be made into a sysop. (Did you enter the name correctly?)</b>",
1409 "setbureaucratflag" => "Set bureaucrat flag",
1410 "bureaucratlog" => "Bureaucrat_log",
1411 "bureaucratlogentry" => "Rights for user \"$1\" set \"$2\"",
1412 "rights" => "Rights:",
1413 "set_user_rights" => "Set user rights",
1414 "user_rights_set" => "<b>User rights for \"$1\" updated</b>",
1415 "set_rights_fail" => "<b>User rights for \"$1\" could not be set. (Did you enter the name correctly?)</b>",
1416 "makesysop" => "Make a user into a sysop",
1417
1418 # Move page
1419 #
1420 "movepage" => "Move page",
1421 "movepagetext" => "Using the form below will rename a page, moving all
1422 of its history to the new name.
1423 The old title will become a redirect page to the new title.
1424 Links to the old page title will not be changed; be sure to
1425 [[Special:Maintenance|check]] for double or broken redirects.
1426 You are responsible for making sure that links continue to
1427 point where they are supposed to go.
1428
1429 Note that the page will '''not''' be moved if there is already
1430 a page at the new title, unless it is empty or a redirect and has no
1431 past edit history. This means that you can rename a page back to where
1432 it was just renamed from if you make a mistake, and you cannot overwrite
1433 an existing page.
1434
1435 <b>WARNING!</b>
1436 This can be a drastic and unexpected change for a popular page;
1437 please be sure you understand the consequences of this before
1438 proceeding.",
1439 "movepagetalktext" => "The associated talk page, if any, will be automatically moved along with it '''unless:'''
1440 *You are moving the page across namespaces,
1441 *A non-empty talk page already exists under the new name, or
1442 *You uncheck the box below.
1443
1444 In those cases, you will have to move or merge the page manually if desired.",
1445 "movearticle" => "Move page",
1446 "movenologin" => "Not logged in",
1447 "movenologintext" => "You must be a registered user and <a href=\"" .
1448 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
1449 to move a page.",
1450 "newtitle" => "To new title",
1451 "movepagebtn" => "Move page",
1452 "pagemovedsub" => "Move succeeded",
1453 "pagemovedtext" => "Page \"[[$1]]\" moved to \"[[$2]]\".",
1454 "articleexists" => "A page of that name already exists, or the
1455 name you have chosen is not valid.
1456 Please choose another name.",
1457 "talkexists" => "The page itself was moved successfully, but the
1458 talk page could not be moved because one already exists at the new
1459 title. Please merge them manually.",
1460 "movedto" => "moved to",
1461 "movetalk" => "Move \"talk\" page as well, if applicable.",
1462 "talkpagemoved" => "The corresponding talk page was also moved.",
1463 "talkpagenotmoved" => "The corresponding talk page was <strong>not</strong> moved.",
1464 "1movedto2" => "$1 moved to $2",
1465
1466 # Export
1467
1468 "export" => "Export pages",
1469 "exporttext" => "You can export the text and editing history of a particular
1470 page or set of pages wrapped in some XML; this can then be imported into another
1471 wiki running MediaWiki software, transformed, or just kept for your private
1472 amusement.",
1473 "exportcuronly" => "Include only the current revision, not the full history",
1474
1475 # Namespace 8 related
1476
1477 "allmessages" => "All system messages",
1478 "allmessagestext" => "This is a list of all system messages available in the MediaWiki: namespace.",
1479
1480 # Thumbnails
1481
1482 "thumbnail-more" => "Enlarge",
1483 "missingimage" => "<b>Missing image</b><br><i>$1</i>\n",
1484
1485 # Special:Import
1486 "import" => "Import pages",
1487 "importtext" => "Blah blah blah",
1488 "importfailed" => "Import failed: $1",
1489 "importnotext" => "Empty or no text",
1490 "importsuccess" => "Import succeeded!",
1491
1492 # Keyboard access keys for power users
1493 'accesskey-article' => 'a',
1494 'accesskey-talk' => 't',
1495 'accesskey-edit' => 'e',
1496 'accesskey-history' => 'h',
1497 'accesskey-protect' => 'p',
1498 'accesskey-delete' => 'd',
1499 'accesskey-move' => 'm',
1500 'accesskey-watch' => '',
1501 'accesskey-unwatch' => '',
1502 'accesskey-watchlist' => 'w',
1503 'accesskey-userpage' => '',
1504 'accesskey-mytalk' => '',
1505 'accesskey-preferences' => '',
1506 'accesskey-mycontris' => '',
1507 'accesskey-login' => 'l',
1508 'accesskey-search' => 's',
1509 'accesskey-mainpage' => '',
1510 'accesskey-randompage' => 'x',
1511 'accesskey-currentevents' => '',
1512 'accesskey-sitesupport' => '',
1513 'accesskey-help' => '',
1514 'accesskey-recentchanges' => 'r',
1515 'accesskey-recentchangeslinked' => 'c',
1516 'accesskey-whatlinkshere' => 'b',
1517 'accesskey-specialpages' => '',
1518 'accesskey-specialpage' => '',
1519 'accesskey-upload' => 'u',
1520
1521 # tooltip help for the main actions
1522 'tooltip-article' => 'View the article [alt-a]',
1523 'tooltip-talk' => 'Discussion about the article [alt-t]',
1524 'tooltip-edit' => 'You can edit this page. Please use the preview button before saving. [alt-e]',
1525 'tooltip-history' => 'Past versions of this page, [alt-h]',
1526 'tooltip-protect' => 'Protect this page [alt-p]',
1527 'tooltip-delete' => 'Delete this page [alt-d]',
1528 'tooltip-move' => 'Move this page [alt-m]',
1529 'tooltip-nomove' => 'You don\'t have the permissions to move this page',
1530 'tooltip-watch' => 'Add this page to your watchlist',
1531 'tooltip-unwatch' => 'Remove this page from your watchlist',
1532 'tooltip-watchlist' => 'The watchlist is the list of pages you\'re monitoring for changes. [alt-w]',
1533 'tooltip-userpage' => 'My user page',
1534 'tooltip-mytalk' => 'My talk page',
1535 'tooltip-preferences' => 'My preferences',
1536 'tooltip-mycontris' => 'List of my contributions',
1537 'tooltip-login' => 'You are encouraged to log in before editing, it\'s not mandatory however.',
1538 'tooltip-logout' => 'The start button',
1539 'tooltip-search' => 'Search this wiki',
1540 'tooltip-mainpage' => 'Visit the Main Page',
1541 'tooltip-randompage' => 'Load a random page [alt-x]',
1542 'tooltip-currentevents' => 'Find background information on current events',
1543 'tooltip-sitesupport' => 'Support '.$wgSitename,
1544 'tooltip-help' => 'The place to find out.',
1545 'tooltip-recentchanges' => 'The list of recent changes in the wiki. [alt-r]',
1546 'tooltip-recentchangeslinked' => 'Recent changes in pages linking to this page [alt-c]',
1547 'tooltip-whatlinkshere' => 'List of all wiki pages that link here [alt-b]',
1548 'tooltip-specialpages' => 'List of all special pages',
1549 'tooltip-upload' => 'Upload images or media files [alt-u]',
1550 'tooltip-specialpage' => 'This is a special page, you can\'t edit the page itself.',
1551 );
1552
1553 #--------------------------------------------------------------------------
1554 # Internationalisation code
1555 #--------------------------------------------------------------------------
1556
1557 class Language {
1558 function Language(){
1559 # Copies any missing values in the specified arrays from En to the current language
1560 $fillin = array( "wgSysopSpecialPages", "wgValidSpecialPages", "wgDeveloperSpecialPages" );
1561 $name = get_class( $this );
1562 if( strpos( $name, "language" ) == 0){
1563 $lang = ucfirst( substr( $name, 8 ) );
1564 foreach( $fillin as $arrname ){
1565 $langver = "{$arrname}{$lang}";
1566 $enver = "{$arrname}En";
1567 if( ! isset( $GLOBALS[$langver] ) || ! isset( $GLOBALS[$enver] ))
1568 continue;
1569 foreach($GLOBALS[$enver] as $spage => $text){
1570 if( ! isset( $GLOBALS[$langver][$spage] ) )
1571 $GLOBALS[$langver][$spage] = $text;
1572 }
1573 }
1574 }
1575 }
1576
1577 function getDefaultUserOptions () {
1578 global $wgDefaultUserOptionsEn ;
1579 return $wgDefaultUserOptionsEn ;
1580 }
1581
1582 function getBookstoreList () {
1583 global $wgBookstoreListEn ;
1584 return $wgBookstoreListEn ;
1585 }
1586
1587 function getNamespaces() {
1588 global $wgNamespaceNamesEn;
1589 return $wgNamespaceNamesEn;
1590 }
1591
1592 function getNsText( $index ) {
1593 global $wgNamespaceNamesEn;
1594 return $wgNamespaceNamesEn[$index];
1595 }
1596
1597 function getNsIndex( $text ) {
1598 global $wgNamespaceNamesEn;
1599
1600 foreach ( $wgNamespaceNamesEn as $i => $n ) {
1601 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
1602 }
1603 return false;
1604 }
1605
1606 function specialPage( $name ) {
1607 return $this->getNsText( Namespace::getSpecial() ) . ":" . $name;
1608 }
1609
1610 function getQuickbarSettings() {
1611 global $wgQuickbarSettingsEn;
1612 return $wgQuickbarSettingsEn;
1613 }
1614
1615 function getSkinNames() {
1616 global $wgSkinNamesEn;
1617 return $wgSkinNamesEn;
1618 }
1619
1620 function getMathNames() {
1621 global $wgMathNamesEn;
1622 return $wgMathNamesEn;
1623 }
1624
1625 function getDateFormats() {
1626 global $wgDateFormatsEn;
1627 return $wgDateFormatsEn;
1628 }
1629
1630 function getUserToggles() {
1631 global $wgUserTogglesEn;
1632 return $wgUserTogglesEn;
1633 }
1634
1635 function getLanguageNames() {
1636 global $wgLanguageNamesEn;
1637 return $wgLanguageNamesEn;
1638 }
1639
1640 function getLanguageName( $code ) {
1641 global $wgLanguageNamesEn;
1642 if ( ! array_key_exists( $code, $wgLanguageNamesEn ) ) {
1643 return "";
1644 }
1645 return $wgLanguageNamesEn[$code];
1646 }
1647
1648 function getMonthName( $key )
1649 {
1650 global $wgMonthNamesEn;
1651 return $wgMonthNamesEn[$key-1];
1652 }
1653
1654 /* by default we just return base form */
1655 function getMonthNameGen( $key )
1656 {
1657 return $this->getMonthName( $key );
1658 }
1659
1660 function getMonthAbbreviation( $key )
1661 {
1662 global $wgMonthAbbreviationsEn;
1663 return $wgMonthAbbreviationsEn[$key-1];
1664 }
1665
1666 function getWeekdayName( $key )
1667 {
1668 global $wgWeekdayNamesEn;
1669 return $wgWeekdayNamesEn[$key-1];
1670 }
1671
1672 function userAdjust( $ts )
1673 {
1674 global $wgUser, $wgLocalTZoffset;
1675
1676 $tz = $wgUser->getOption( "timecorrection" );
1677 if ( $tz === "" ) {
1678 $hrDiff = isset( $wgLocalTZoffset ) ? $wgLocalTZoffset : 0;
1679 $minDiff = 0;
1680 } elseif ( strpos( $tz, ":" ) !== false ) {
1681 $tzArray = explode( ":", $tz );
1682 $hrDiff = intval($tzArray[0]);
1683 $minDiff = intval($hrDiff < 0 ? -$tzArray[1] : $tzArray[1]);
1684 } else {
1685 $hrDiff = intval( $tz );
1686 }
1687 if ( 0 == $hrDiff && 0 == $minDiff ) { return $ts; }
1688
1689 $t = mktime( (
1690 (int)substr( $ts, 8, 2) ) + $hrDiff, # Hours
1691 (int)substr( $ts, 10, 2 ) + $minDiff, # Minutes
1692 (int)substr( $ts, 12, 2 ), # Seconds
1693 (int)substr( $ts, 4, 2 ), # Month
1694 (int)substr( $ts, 6, 2 ), # Day
1695 (int)substr( $ts, 0, 4 ) ); #Year
1696 return date( "YmdHis", $t );
1697 }
1698
1699 function date( $ts, $adj = false )
1700 {
1701 global $wgAmericanDates, $wgUser, $wgUseDynamicDates;
1702
1703 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1704
1705 if ( $wgUseDynamicDates ) {
1706 $datePreference = $wgUser->getOption( 'date' );
1707 if ( $datePreference == 0 ) {
1708 $datePreference = $wgAmericanDates ? 1 : 2;
1709 }
1710 } else {
1711 $datePreference = $wgAmericanDates ? 1 : 2;
1712 }
1713
1714 $month = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) );
1715 $day = $this->formatNum( 0 + substr( $ts, 6, 2 ) );
1716 $year = $this->formatNum( substr( $ts, 0, 4 ) );
1717
1718 switch( $datePreference ) {
1719 case 1: return "$month $day, $year";
1720 case 2: return "$day $month $year";
1721 default: return "$year $month $day";
1722 }
1723 }
1724
1725 function time( $ts, $adj = false, $seconds = false )
1726 {
1727 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1728
1729 $t = substr( $ts, 8, 2 ) . ":" . substr( $ts, 10, 2 );
1730 if ( $seconds ) {
1731 $t .= ":" . substr( $ts, 12, 2 );
1732 }
1733 return $this->formatNum( $t );
1734 }
1735
1736 function timeanddate( $ts, $adj = false )
1737 {
1738 return $this->time( $ts, $adj ) . ", " . $this->date( $ts, $adj );
1739 }
1740
1741 function rfc1123( $ts )
1742 {
1743 return date( "D, d M Y H:i:s T", $ts );
1744 }
1745
1746 function getValidSpecialPages()
1747 {
1748 global $wgValidSpecialPagesEn;
1749 return $wgValidSpecialPagesEn;
1750 }
1751
1752 function getSysopSpecialPages()
1753 {
1754 global $wgSysopSpecialPagesEn;
1755 return $wgSysopSpecialPagesEn;
1756 }
1757
1758 function getDeveloperSpecialPages()
1759 {
1760 global $wgDeveloperSpecialPagesEn;
1761 return $wgDeveloperSpecialPagesEn;
1762 }
1763
1764 function getMessage( $key )
1765 {
1766 global $wgAllMessagesEn;
1767 return $wgAllMessagesEn[$key];
1768 }
1769
1770 function getAllMessages()
1771 {
1772 global $wgAllMessagesEn;
1773 return $wgAllMessagesEn;
1774 }
1775
1776 function iconv( $in, $out, $string ) {
1777 # For most languages, this is a wrapper for iconv
1778 return iconv( $in, $out, $string );
1779 }
1780
1781 function ucfirst( $string ) {
1782 # For most languages, this is a wrapper for ucfirst()
1783 return ucfirst( $string );
1784 }
1785
1786 function lcfirst( $s ) {
1787 return strtolower( $s{0} ). substr( $s, 1 );
1788 }
1789
1790 function checkTitleEncoding( $s ) {
1791 global $wgInputEncoding;
1792
1793 # Check for UTF-8 URLs; Internet Explorer produces these if you
1794 # type non-ASCII chars in the URL bar or follow unescaped links.
1795 $ishigh = preg_match( '/[\x80-\xff]/', $s);
1796 $isutf = ($ishigh ? preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|' .
1797 '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s ) : true );
1798
1799 if( ($wgInputEncoding != "utf-8") and $ishigh and $isutf )
1800 return iconv( "UTF-8", $wgInputEncoding, $s );
1801
1802 if( ($wgInputEncoding == "utf-8") and $ishigh and !$isutf )
1803 return utf8_encode( $s );
1804
1805 # Other languages can safely leave this function, or replace
1806 # it with one to detect and convert another legacy encoding.
1807 return $s;
1808 }
1809
1810 function stripForSearch( $in ) {
1811 # Some languages have special punctuation to strip out
1812 # or characters which need to be converted for MySQL's
1813 # indexing to grok it correctly. Make such changes here.
1814 return $in;
1815 }
1816
1817
1818 function setAltEncoding() {
1819 # Some languages may have an alternate char encoding option
1820 # (Esperanto X-coding, Japanese furigana conversion, etc)
1821 # If 'altencoding' is checked in user prefs, this gives a
1822 # chance to swap out the default encoding settings.
1823 #global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1824 }
1825
1826 function recodeForEdit( $s ) {
1827 # For some languages we'll want to explicitly specify
1828 # which characters make it into the edit box raw
1829 # or are converted in some way or another.
1830 # Note that if wgOutputEncoding is different from
1831 # wgInputEncoding, this text will be further converted
1832 # to wgOutputEncoding.
1833 global $wgInputEncoding, $wgEditEncoding;
1834 if( $wgEditEncoding == "" or
1835 $wgEditEncoding == $wgInputEncoding ) {
1836 return $s;
1837 } else {
1838 return $this->iconv( $wgInputEncoding, $wgEditEncoding, $s );
1839 }
1840 }
1841
1842 function recodeInput( $s ) {
1843 # Take the previous into account.
1844 global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1845 if($wgEditEncoding != "") {
1846 $enc = $wgEditEncoding;
1847 } else {
1848 $enc = $wgOutputEncoding;
1849 }
1850 if( $enc == $wgInputEncoding ) {
1851 return $s;
1852 } else {
1853 return $this->iconv( $enc, $wgInputEncoding, $s );
1854 }
1855 }
1856
1857 # For right-to-left language support
1858 function isRTL() { return false; }
1859
1860 # To allow "foo[[bar]]" to extend the link over the whole word "foobar"
1861 function linkPrefixExtension() { return false; }
1862
1863
1864 function &getMagicWords()
1865 {
1866 global $wgMagicWordsEn;
1867 return $wgMagicWordsEn;
1868 }
1869
1870 # Fill a MagicWord object with data from here
1871 function getMagic( &$mw )
1872 {
1873 $raw =& $this->getMagicWords();
1874 $rawEntry = $raw[$mw->mId];
1875 $mw->mCaseSensitive = $rawEntry[0];
1876 $mw->mSynonyms = array_slice( $rawEntry, 1 );
1877 }
1878
1879 # Italic is unsuitable for some languages
1880 function emphasize( $text )
1881 {
1882 return "<em>$text</em>";
1883 }
1884
1885 # returns additional Regex for the tokenizer. See LanguageFr.php for an example
1886 function tokenizerRegex()
1887 {
1888 return "";
1889 }
1890
1891 # Process the token generated from the tokenizer by the above regex. Return
1892 # NULL if the token is unknown, and the text to be added to the output otherwise
1893 function processToken( &$token , &$tokenStack)
1894 {
1895 return NULL;
1896 }
1897
1898 # Normally we use the plain ASCII digits. Some languages such as Arabic will
1899 # want to output numbers using script-appropriate characters: override this
1900 # function with a translator. See LanguageAr.php for an example.
1901 function formatNum( $number ) {
1902 return $number;
1903 }
1904
1905 }
1906
1907 @include_once( "Language" . ucfirst( $wgLanguageCode ) . ".php" );
1908
1909 ?>