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