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