Remove mistaken and miscoded translits in language list; add some comments; remove...
[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
43 $wgVariableIDs = array(
44 MAG_CURRENTMONTH,
45 MAG_CURRENTMONTHNAME,
46 MAG_CURRENTDAY,
47 MAG_CURRENTDAYNAME,
48 MAG_CURRENTYEAR,
49 MAG_CURRENTTIME,
50 MAG_NUMBEROFARTICLES,
51 MAG_CURRENTMONTHNAMEGEN
52 );
53
54
55
56 #--------------------------------------------------------------------------
57 # Language-specific text
58 #--------------------------------------------------------------------------
59
60 # NOTE: To turn off "Current Events" in the sidebar,
61 # set "currentevents" => "-"
62
63 # NOTE: To turn off "Disclaimers" in the title links,
64 # set "disclaimers" => "-"
65
66 # The names of the namespaces can be set here, but the numbers
67 # are magical, so don't change or move them! The Namespace class
68 # encapsulates some of the magic-ness.
69 #
70
71 if($wgMetaNamespace === FALSE)
72 $wgMetaNamespace = str_replace( " ", "_", $wgSitename );
73
74 /* private */ $wgNamespaceNamesEn = array(
75 NS_MEDIA => "Media",
76 NS_SPECIAL => "Special",
77 NS_MAIN => "",
78 NS_TALK => "Talk",
79 NS_USER => "User",
80 NS_USER_TALK => "User_talk",
81 NS_WIKIPEDIA => $wgMetaNamespace,
82 NS_WIKIPEDIA_TALK => $wgMetaNamespace . "_talk",
83 NS_IMAGE => "Image",
84 NS_IMAGE_TALK => "Image_talk",
85 NS_MEDIAWIKI => "MediaWiki",
86 NS_MEDIAWIKI_TALK => "MediaWiki_talk",
87 NS_TEMPLATE => "Template",
88 NS_TEMPLATE_TALK => "Template_talk",
89 NS_HELP => "Help",
90 NS_HELP_TALK => "Help_talk"
91 );
92
93 /* private */ $wgDefaultUserOptionsEn = array(
94 "quickbar" => 1, "underline" => 1, "hover" => 1,
95 "cols" => 80, "rows" => 25, "searchlimit" => 20,
96 "contextlines" => 5, "contextchars" => 50,
97 "skin" => 'standard', "math" => 1, "rcdays" => 7, "rclimit" => 50,
98 "highlightbroken" => 1, "stubthreshold" => 0,
99 "previewontop" => 1, "editsection"=>1,"editsectiononrightclick"=>0, "showtoc"=>1,
100 "showtoolbar" =>1,
101 "date" => 0
102 );
103
104 /* private */ $wgQuickbarSettingsEn = array(
105 "None", "Fixed left", "Fixed right", "Floating left"
106 );
107
108 /* private */ $wgSkinNamesEn = array(
109 'standard' => "Standard",
110 'nostalgia' => "Nostalgia",
111 'cologneblue' => "Cologne Blue",
112 'smarty' => "Paddington",
113 'montparnasse' => "Montparnasse",
114 'davinci' => "DaVinci",
115 'mono' => "Mono",
116 'monobook' => "MonoBook"
117 );
118
119 /* private */ $wgMathNamesEn = array(
120 "Always render PNG",
121 "HTML if very simple or else PNG",
122 "HTML if possible or else PNG",
123 "Leave it as TeX (for text browsers)",
124 "Recommended for modern browsers"
125 );
126
127 /* private */ $wgDateFormatsEn = array(
128 "No preference",
129 "January 15, 2001",
130 "15 January 2001",
131 "2001 January 15",
132 "2001-01-15"
133 );
134
135 /* private */ $wgUserTogglesEn = array(
136 "hover" => "Show hoverbox over wiki links",
137 "underline" => "Underline links",
138 "highlightbroken" => "Format broken links <a href=\"\" class=\"new\">like
139 this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
140 "justify" => "Justify paragraphs",
141 "hideminor" => "Hide minor edits in recent changes",
142 "usenewrc" => "Enhanced recent changes (not for all browsers)",
143 "numberheadings" => "Auto-number headings",
144 "showtoolbar"=>"Show edit box toolbar",
145 "editondblclick" => "Edit pages on double click (JavaScript)",
146 "editsection"=>"Enable section editing via [edit] links",
147 "editsectiononrightclick"=>"Enable section editing by right clicking<br> on section titles (JavaScript)",
148 "showtoc"=>"Show table of contents<br>(for articles with more than 3 headings)",
149 "rememberpassword" => "Remember password across sessions",
150 "editwidth" => "Edit box has full width",
151 "watchdefault" => "Add pages you edit to your watchlist",
152 "minordefault" => "Mark all edits minor by default",
153 "previewontop" => "Show preview before edit box and not after it",
154 "nocache" => "Disable page caching"
155 );
156
157 /* private */ $wgBookstoreListEn = array(
158 "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
159 "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1",
160 "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
161 "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
162 );
163
164 /* The following list is in native languages, not in English */
165 /* private */ $wgLanguageNames = array(
166 "aa" => "Afar", # Afar
167 "ab" => "Abkhazian", # Abkhazian - FIXME
168 "af" => "Afrikaans", # Afrikaans
169 "ak" => "Akana", # Akan
170 "als" => "Els&auml;ssische", # Alsatian
171 "am" => "&#4768;&#4635;&#4653;&#4763;", # Amharic
172 "ar" => "&#1575;&#1604;&#1593;&#1585;&#1576;&#1610;&#1577;", # Arabic
173 "arc" => "&#1813;&#1829;&#1810;&#1834;&#1848;&#1821;&#1819;", # Aramaic
174 "as" => "&#2437;&#2488;&#2478;&#2496;&#2527;&#2494;", # Assamese
175 "av" => "&#1040;&#1074;&#1072;&#1088;", # Avar
176 "ay" => "Aymar", # Aymara
177 "az" => "Az&#601;rbaycan", # Azerbaijani
178 "ba" => "&#1041;&#1072;&#1096;&#1185;&#1086;&#1088;&#1090;", # Bashkir
179 "be" => "&#1041;&#1077;&#1083;&#1072;&#1088;&#1091;&#1089;&#1082;&#1072;&#1103;", # Belarusian ''or'' Byelarussian
180 "bg" => "&#1041;&#1098;&#1083;&#1075;&#1072;&#1088;&#1089;&#1082;&#1080;", # Bulgarian
181 "bh" => "Bihara",
182 "bi" => "Bislama", # Bislama
183 "bn" => "&#2476;&#2494;&#2434;&#2482;&#2494; - (Bangla)", # Bengali
184 "bo" => "Bod skad", # Tibetan
185 "br" => "Brezhoneg", # Breton
186 "bs" => "Bosanski", # Bosnian
187 "ca" => "Catal&agrave;", # Catalan
188 "ce" => "&#1053;&#1086;&#1093;&#1095;&#1080;&#1081;&#1085;", # Chechen
189 "ch" => "Chamoru", # Chamorro
190 "chy" => "Tsets&ecirc;hest&acirc;hese", # Cheyenne
191 "co" => "Corsu", # Corsican
192 "cr" => "Nehiyaw", # Cree
193 "cs" => "&#268;esky", # Czech
194 "csb" => "Cassubian", # Cassubian - FIXME
195 "cv" => "&#1063;&#1233;&#1074;&#1072;&#1096; - (&#264;&#259;va&#349;)", # Chuvash
196 "cy" => "Cymraeg", # Welsh
197 "da" => "Dansk", # Danish
198 "de" => "Deutsch", # German
199 "dk" => "Dansk", # 'da' is correct for the language.
200 "dv" => "Dhivehi", # Dhivehi
201 "dz" => "(Dzongkha)", # Bhutani
202 "ee" => "Eve", # Eve
203 "el" => "&#917;&#955;&#955;&#951;&#957;&#953;&#954;&#940;", # Greek
204 "en" => "English", # English
205 "eo" => "Esperanto", # Esperanto
206 "es" => "Espa&ntilde;ol", # Spanish
207 "et" => "Eesti", # Estonian
208 "eu" => "Euskara", # Basque
209 "fa" => "&#1601;&#1575;&#1585;&#1587;&#1740;", # Persian
210 "ff" => "Fulfulde", # Fulfulde
211 "fi" => "Suomi", # Finnish
212 "fj" => "Na Vosa Vakaviti", # Fijian
213 "fo" => "F&oslash;royskt", # Faroese
214 "fr" => "Fran&ccedil;ais", # French
215 "fy" => "Frysk", # Frisian
216 "ga" => "Gaeilge", # Irish
217 "gd" => "G&agrave;idhlig", # Scots Gaelic
218 "gl" => "Galego", # Gallegan
219 "gn" => "Ava&ntilde;e'&#7869;", # Guarani
220 "gu" => "&#2711;&#2753;&#2716;&#2736;&#2750;&#2724;&#2752;", # Gujarati
221 "gv" => "Gaelg", # Manx
222 "ha" => "&#1607;&#1614;&#1608;&#1615;&#1587;&#1614;", # Hausa
223 "haw" => "Hawai`i", # Hawaiian
224 "he" => "&#1506;&#1489;&#1512;&#1497;&#1514;", # Hebrew
225 "hi" => "&#2361;&#2367;&#2344;&#2381;&#2342;&#2368;", # Hindi
226 "hr" => "Hrvatski", # Croatian
227 "hu" => "Magyar", # Hungarian
228 "hy" => "&#1344;&#1377;&#1397;&#1381;&#1408;&#1381;&#1398;", # Armenian
229 "hz" => "Otsiherero", # Herero
230 "ia" => "Interlingua", # Interlingua (IALA)
231 "id" => "Bahasa Indonesia", # Indonesian
232 "ie" => "Interlingue", # Interlingue (Occidental)
233 "ig" => "Igbo", # Igbo
234 "ik" => "I&ntilde;upiak", # Inupiak
235 "io" => "Ido", # Ido
236 "is" => "&Iacute;slensk", # Icelandic
237 "it" => "Italiano", # Italian
238 "iu" => "&#5123;&#5316;&#5251;&#5198;&#5200;&#5222;", # Inuktitut
239 "ja" => "&#26085;&#26412;&#35486;", # Japanese
240 "jv" => "Bahasa Jawa", # Javanese
241 "ka" => "&#4325;&#4304;&#4320;&#4311;&#4323;&#4314;&#4312;", # Georgian
242 "kk" => "&#1179;&#1072;&#1079;&#1072;&#1179;&#1096;&#1072;", # Kazakh
243 "kl" => "Kalaallisut", # Greenlandic
244 "km" => "&#6039;&#6070;&#6047;&#6070;&#6017;&#6098;&#6040;&#6082;&#6042;", # Cambodian
245 "kn" => "&#3221;&#3240;&#3277;&#3240;&#3233;", # Kannada
246 "ko" => "&#54620;&#44397;&#50612;", # Korean
247 "ks" => "&#2325;&#2358;&#2381;&#2350;&#2368;&#2352;&#2368; - (&#1603;&#1588;&#1605;&#1610;&#1585;&#1610;)", # Kashmiri
248 "ku" => "Kurd&icirc;", # Kurdish
249 "kw" => "Kernewek", # Cornish
250 "ky" => "Kirghiz",
251 "la" => "Latina", # Latin
252 "lb" => "L&euml;tzebuergesch", # Luxemburguish
253 "li" => "Limburgs", # Limburgian
254 "ln" => "Lingala", # Lingala
255 "lo" => "(Pha xa lao)", # Laotian
256 "lt" => "Lietuvi&#371;", # Lithuanian
257 "lv" => "Latvie&scaron;u", # Latvian
258 "mi" => "Malagasy", # Malagasy - FIXME
259 "mh" => "Ebon", # Marshallese
260 "mi" => "M&#257;ori", # Maori
261 "mk" => "&#1052;&#1072;&#1082;&#1077;&#1076;&#1086;&#1085;&#1089;&#1082;&#1080;", # Macedonian
262 "ml" => "&#3374;&#3378;&#3375;&#3390;&#3379;&#3330;", # Malayalam
263 "mn" => "&#1052;&#1086;&#1085;&#1075;&#1086;&#1083;", # Mongoloian
264 "mo" => "Moldoveana", # Moldovan
265 "mr" => "&#2350;&#2352;&#2366;&#2336;&#2368;", # Marathi
266 "ms" => "Bahasa Melayu", # Malay
267 "mt" => "bil-Malti", # Maltese
268 "my" => "(Myanmasa)", # Burmese
269 "na" => "Nauru", # Nauruan
270 "nah" => "Nahuatl",
271 "nds" => "Platd&uuml;&uuml;tsch", # Low German ''or'' Low Saxon
272 "ne" => "&#2344;&#2375;&#2346;&#2366;&#2354;&#2368;", # Nepali
273 "nl" => "Nederlands", # Dutch
274 "nb" => "Norsk", # Norwegian [currently using old '''no''' code]
275 "ne" => "&#2344;&#2375;&#2346;&#2366;&#2354;&#2368;", # Nepali
276 "nn" => "Nynorsk" , # (Norwegian) Nynorsk
277 "no" => "Norsk",
278 "nv" => "Din&eacute; bizaad", # Navajo
279 "ny" => "Chi-Chewa", # Chichewa
280 "oc" => "Occitan", # Occitan
281 "om" => "Oromoo", # Oromo
282 "or" => "Oriya", # Oriya - FIXME
283 "pa" => "&#2346;&#2306;&#2332;&#2366;&#2348;&#2368; / &#2602;&#2588;&#2622;&#2604;&#2624; / &#1662;&#1606;&#1580;&#1575;&#1576;&#1610;", # Punjabi
284 "pi" => "&#2346;&#2366;&#2367;&#2356;", # Pali
285 "pl" => "Polski", # Polish
286 "ps" => "&#1662;&#1690;&#1578;&#1608;", # Pashto
287 "pt" => "Portugu&ecirc;s", # Portuguese
288 "qu" => "Runa Simi", # Quechua
289 "rm" => "Rumantsch", # Raeto-Romance
290 "rn" => "Kirundi", # Kirundi
291 "ro" => "Rom&acirc;n&#259;", # Romanian
292 "ru" => "&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;", # Russian
293 "rw" => "Kinyarwanda",
294 "sa" => "&#2360;&#2306;&#2360;&#2381;&#2325;&#2371;&#2340;", # Sanskrit
295 "sc" => "Sardu", # Sardinian
296 "sd" => "&#2360;&#2367;&#2344;&#2343;&#2367;", # Sindhi
297 "se" => "S&aacute;megiella", # (Northern) Sami
298 "sg" => "Sangro",
299 # "sh" => "&#1057;&#1088;&#1087;&#1089;&#1082;&#1086;&#1093;&#1088;&#1074;&#1072;&#1090;&#1089;&#1082;&#1080; (Srbskohrvatski)", ## -- Obsolete
300 "si" => "(Simhala)", # Sinhalese
301 "simple" => "Simple English",
302 "sk" => "Sloven&#269;ina", # Slovak
303 "sl" => "Sloven&scaron;&#269;ina", # Slovenian
304 "sm" => "Gagana Samoa", # Samoan
305 "sn" => "chiShona", # Shona
306 "so" => "Soomaaliga", # Somali
307 "sq" => "Shqip", # Albanian
308 "sr" => "&#1057;&#1088;&#1087;&#1089;&#1082;&#1080; / Srpski", # Serbian
309 "ss" => "SiSwati", # Swati
310 "st" => "seSotho", # (Southern) Sotho
311 "su" => "Bahasa Sunda", # Sundanese
312 "sv" => "Svenska", # Swedish
313 "sw" => "Kiswahili", # Swahili
314 "ta" => "&#2980;&#2990;&#3007;&#2996;&#3021;", # Tamil
315 "te" => "&#3108;&#3142;&#3122;&#3137;&#3095;&#3137;", # Telugu
316 "tg" => "&#1058;&#1086;&#1207;&#1080;&#1082;&#1251;", # Tajik
317 "th" => "&#3652;&#3607;&#3618;", # Thai
318 "ti" => "Tigrinya", # Tigrinya - FIXME
319 "tk" => "&#1578;&#1585;&#1603;&#1605;&#1606; / &#1058;&#1091;&#1088;&#1082;&#1084;&#1077;&#1085;", # Turkmen
320 "tl" => "Tagalog", # Tagalog (Filipino)
321 "tn" => "Setswana", # Setswana
322 "to" => "Tonga", # Tonga - FIXME
323 "tpi" => "Tok Pisin", # Tok Pisin
324 "tr" => "T&uuml;rk&ccedil;e", # Turkish
325 "ts" => "Xitsonga", # Tsonga
326 "tt" => "Tatar", # Tatar
327 "tw" => "Twi", # Twi -- FIXME
328 "ty" => "Reo M&#257;`ohi", # Tahitian
329 "ug" => "Oyghurque", # Uyghur
330 "uk" => "&#1059;&#1082;&#1088;&#1072;&#1111;&#1085;&#1089;&#1100;&#1082;&#1072;", # Ukrainian
331 "ur" => "&#1575;&#1585;&#1583;&#1608;", # Urdu
332 "uz" => "&#1038;&#1079;&#1073;&#1077;&#1082;", # Uzbek
333 "ve" => "Venda", # Venda
334 "vi" => "Ti&#7871;ng Vi&#7879;t", # Vietnamese
335 "vo" => "Volap&uuml;k", # Volapük
336 "wa" => "Walon", # Walloon
337 "wo" => "Wollof", # Wolof
338 "xh" => "isiXhosa", # Xhosan
339 "yi" => "&#1497;&#1497;&#1460;&#1491;&#1497;&#1513;", # Yiddish
340 "yo" => "Yor&ugrave;b&aacute;", # Yoruba
341 "za" => "(Cuengh)", # Zhuang
342 "zh" => "&#20013;&#25991;", # (Zh&#333;ng Wén) - Chinese
343 "zh-cn" => "&#20013;&#25991;(&#31616;&#20307;)", # Simplified
344 "zh-tw" => "&#20013;&#25991;(&#32321;&#20307;)", # Traditional
345 "zu" => "isiZulu", # Zulu
346 );
347
348 $wgLanguageNamesEn =& $wgLanguageNames;
349
350
351 /* private */ $wgWeekdayNamesEn = array(
352 "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",
353 "Friday", "Saturday"
354 );
355
356 /* private */ $wgMonthNamesEn = array(
357 "January", "February", "March", "April", "May", "June",
358 "July", "August", "September", "October", "November",
359 "December"
360 );
361
362 /* private */ $wgMonthAbbreviationsEn = array(
363 "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug",
364 "Sep", "Oct", "Nov", "Dec"
365 );
366
367 # Note to translators:
368 # Please include the English words as synonyms. This allows people
369 # from other wikis to contribute more easily.
370 #
371 /* private */ $wgMagicWordsEn = array(
372 # ID CASE SYNONYMS
373 MAG_REDIRECT => array( 0, "#redirect" ),
374 MAG_NOTOC => array( 0, "__NOTOC__" ),
375 MAG_NOEDITSECTION => array( 0, "__NOEDITSECTION__" ),
376 MAG_START => array( 0, "__START__" ),
377 MAG_CURRENTMONTH => array( 1, "CURRENTMONTH" ),
378 MAG_CURRENTMONTHNAME => array( 1, "CURRENTMONTHNAME" ),
379 MAG_CURRENTDAY => array( 1, "CURRENTDAY" ),
380 MAG_CURRENTDAYNAME => array( 1, "CURRENTDAYNAME" ),
381 MAG_CURRENTYEAR => array( 1, "CURRENTYEAR" ),
382 MAG_CURRENTTIME => array( 1, "CURRENTTIME" ),
383 MAG_NUMBEROFARTICLES => array( 1, "NUMBEROFARTICLES" ),
384 MAG_CURRENTMONTHNAMEGEN => array( 1, "CURRENTMONTHNAMEGEN" ),
385 MAG_MSG => array( 0, "MSG:" ),
386 MAG_SUBST => array( 0, "SUBST:" ),
387 MAG_MSGNW => array( 0, "MSGNW:" ),
388 MAG_END => array( 0, "__END__" ),
389 MAG_IMG_THUMBNAIL => array( 1, "thumbnail", "thumb" ),
390 MAG_IMG_RIGHT => array( 1, "right" ),
391 MAG_IMG_LEFT => array( 1, "left" ),
392 MAG_IMG_NONE => array( 1, "none" ),
393 MAG_IMG_WIDTH => array( 1, "$1px" ),
394 MAG_IMG_CENTER => array( 1, "center", "centre" ),
395 MAG_INT => array( 0, "INT:" )
396
397 );
398
399 # All special pages have to be listed here: a description of ""
400 # will make them not show up on the "Special Pages" page, which
401 # is the right thing for some of them (such as the "targeted" ones).
402 #
403 /* private */ $wgValidSpecialPagesEn = array(
404 "Userlogin" => "",
405 "Userlogout" => "",
406 "Preferences" => "Set my user preferences",
407 "Watchlist" => "My watchlist",
408 "Recentchanges" => "Recently updated pages",
409 "Upload" => "Upload image files",
410 "Imagelist" => "Image list",
411 "Listusers" => "Registered users",
412 "Statistics" => "Site statistics",
413 "Randompage" => "Random article",
414
415 "Lonelypages" => "Orphaned articles",
416 "Unusedimages" => "Orphaned images",
417 "Popularpages" => "Popular articles",
418 "Wantedpages" => "Most wanted articles",
419 "Shortpages" => "Short articles",
420 "Longpages" => "Long articles",
421 "Newpages" => "Newly created articles",
422 "Ancientpages" => "Oldest articles",
423 "Deadendpages" => "Dead-end pages",
424 # "Intl" => "Interlanguage Links",
425 "Allpages" => "All pages by title",
426
427 "Ipblocklist" => "Blocked users/IP addresses",
428 "Maintenance" => "Maintenance page",
429 "Specialpages" => "",
430 "Contributions" => "",
431 "Emailuser" => "",
432 "Whatlinkshere" => "",
433 "Recentchangeslinked" => "",
434 "Movepage" => "",
435 "Blockme" => "",
436 "Booksources" => "External book sources",
437 # "Categories" => "Page categories",
438 "Export" => "XML page export",
439 "Version" => "Show MediaWiki version",
440 "Allmessages" => "All system messages"
441 );
442
443 /* private */ $wgSysopSpecialPagesEn = array(
444 "Blockip" => "Block a user/IP address",
445 "Asksql" => "Query the database",
446 "Undelete" => "Restore deleted pages",
447 "Makesysop" => "Turn a user into a sysop",
448 "Import" => "Import a page with history",
449 );
450
451 /* private */ $wgDeveloperSpecialPagesEn = array(
452 "Lockdb" => "Make database read-only",
453 "Unlockdb" => "Restore DB write access"
454 );
455
456 #-------------------------------------------------------------------
457 # Default messages
458 #-------------------------------------------------------------------
459 # Allowed characters in keys are: A-Z, a-z, 0-9, underscore (_) and
460 # hyphen (-). If you need more characters, you may be able to change
461 # the regex in MagicWord::initRegex
462
463 /* private */ $wgAllMessagesEn = array(
464
465 # Bits of text used by many pages:
466 #
467 "categories" => "Page categories",
468 "category" => "category",
469 "category_header" => "Articles in category \"$1\"",
470 "subcategories" => "Subcategories",
471
472
473 "linktrail" => "/^([a-z]+)(.*)\$/sD",
474 "mainpage" => "Main Page",
475 "mainpagetext" => "Wiki software successfully installed.",
476 "about" => "About",
477 "aboutwikipedia" => "About $wgSitename",
478 "aboutpage" => "$wgMetaNamespace:About",
479 'article' => 'Article',
480 "help" => "Help",
481 "helppage" => $wgNamespaceNamesEn[NS_HELP].":Contents",
482 "wikititlesuffix" => "$wgSitename",
483 "bugreports" => "Bug reports",
484 "bugreportspage" => "$wgMetaNamespace:Bug_reports",
485 "sitesupport" => "Donations", # Set a URL in $wgSiteSupportPage in LocalSettings.php
486 "faq" => "FAQ",
487 "faqpage" => "$wgMetaNamespace:FAQ",
488 "edithelp" => "Editing help",
489 "edithelppage" => $wgNamespaceNamesEn[NS_HELP].":Editing",
490 "cancel" => "Cancel",
491 "qbfind" => "Find",
492 "qbbrowse" => "Browse",
493 "qbedit" => "Edit",
494 "qbpageoptions" => "This page",
495 "qbpageinfo" => "Context",
496 "qbmyoptions" => "My pages",
497 "qbspecialpages" => "Special pages",
498 "moredotdotdot" => "More...",
499 "mypage" => "My page",
500 "mytalk" => "My talk",
501 'navigation' => 'Navigation',
502 "currentevents" => "Current events",
503 "disclaimers" => "Disclaimers",
504 "disclaimerpage" => "$wgMetaNamespace:General_disclaimer",
505 "errorpagetitle" => "Error",
506 "returnto" => "Return to $1.",
507 "fromwikipedia" => "From $wgSitename, the free encyclopedia.",
508 "whatlinkshere" => "Pages that link here",
509 "help" => "Help",
510 "search" => "Search",
511 "go" => "Go",
512 "history" => "Page history",
513 'history_short' => 'History',
514 "printableversion" => "Printable version",
515 'edit' => 'Edit',
516 "editthispage" => "Edit this page",
517 'delete' => 'Delete',
518 "deletethispage" => "Delete this page",
519 'protect' => 'Protect',
520 "protectthispage" => "Protect this page",
521 'unprotect' => 'Unprotect',
522 "unprotectthispage" => "Unprotect this page",
523 "newpage" => "New page",
524 "talkpage" => "Discuss this page",
525 'specialpage' => 'Special Page',
526 'personaltools' => 'Personal tools',
527 "postcomment" => "Post a comment",
528 "articlepage" => "View article",
529 "subjectpage" => "View subject", # For compatibility
530 'talk' => 'Discussion',
531 'toolbox' => 'Toolbox',
532 "userpage" => "View user page",
533 "wikipediapage" => "View meta page",
534 "imagepage" => "View image page",
535 "viewtalkpage" => "View discussion",
536 "otherlanguages" => "Other languages",
537 "redirectedfrom" => "(Redirected from $1)",
538 "lastmodified" => "This page was last modified $1.",
539 "viewcount" => "This page has been accessed $1 times.",
540 "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>.",
541 "printsubtitle" => "(From $wgServer)",
542 "protectedpage" => "Protected page",
543 "administrators" => "$wgMetaNamespace:Administrators",
544 "sysoptitle" => "Sysop access required",
545 "sysoptext" => "The action you have requested can only be
546 performed by users with \"sysop\" status.
547 See $1.",
548 "developertitle" => "Developer access required",
549 "developertext" => "The action you have requested can only be
550 performed by users with \"developer\" status.
551 See $1.",
552 "bureaucrattitle" => "Bureaucrat access required",
553 "bureaucrattext" => "The action you have requested can only be
554 performed by sysops with \"bureaucrat\" status.",
555 "nbytes" => "$1 bytes",
556 "go" => "Go",
557 "ok" => "OK",
558 "sitetitle" => "$wgSitename",
559 "sitesubtitle" => "The Free Encyclopedia",
560 "retrievedfrom" => "Retrieved from \"$1\"",
561 "newmessages" => "You have $1.",
562 "newmessageslink" => "new messages",
563 "editsection"=>"edit",
564 "toc" => "Table of contents",
565 "showtoc" => "show",
566 "hidetoc" => "hide",
567 "thisisdeleted" => "View or restore $1?",
568 "restorelink" => "$1 deleted edits",
569
570 # Main script and global functions
571 #
572 "nosuchaction" => "No such action",
573 "nosuchactiontext" => "The action specified by the URL is not
574 recognized by the wiki",
575 "nosuchspecialpage" => "No such special page",
576 "nospecialpagetext" => "You have requested a special page that is not
577 recognized by the wiki.",
578
579 # General errors
580 #
581 "error" => "Error",
582 "databaseerror" => "Database error",
583 "dberrortext" => "A database query syntax error has occurred.
584 This could be because of an illegal search query (see $5),
585 or it may indicate a bug in the software.
586 The last attempted database query was:
587 <blockquote><tt>$1</tt></blockquote>
588 from within function \"<tt>$2</tt>\".
589 MySQL returned error \"<tt>$3: $4</tt>\".",
590 "dberrortextcl" => "A database query syntax error has occurred.
591 The last attempted database query was:
592 \"$1\"
593 from within function \"$2\".
594 MySQL returned error \"$3: $4\".\n",
595 "noconnect" => "Sorry! The wiki is experiencing some technical difficulties, and cannot contact the database server.",
596 "nodb" => "Could not select database $1",
597 "cachederror" => "The following is a cached copy of the requested page, and may not be up to date.",
598 "readonly" => "Database locked",
599 "enterlockreason" => "Enter a reason for the lock, including an estimate
600 of when the lock will be released",
601 "readonlytext" => "The database is currently locked to new
602 entries and other modifications, probably for routine database maintenance,
603 after which it will be back to normal.
604 The administrator who locked it offered this explanation:
605 <p>$1",
606 "missingarticle" => "The database did not find the text of a page
607 that it should have found, named \"$1\".
608
609 <p>This is usually caused by following an outdated diff or history link to a
610 page that has been deleted.
611
612 <p>If this is not the case, you may have found a bug in the software.
613 Please report this to an administrator, making note of the URL.",
614 "internalerror" => "Internal error",
615 "filecopyerror" => "Could not copy file \"$1\" to \"$2\".",
616 "filerenameerror" => "Could not rename file \"$1\" to \"$2\".",
617 "filedeleteerror" => "Could not delete file \"$1\".",
618 "filenotfound" => "Could not find file \"$1\".",
619 "unexpected" => "Unexpected value: \"$1\"=\"$2\".",
620 "formerror" => "Error: could not submit form",
621 "badarticleerror" => "This action cannot be performed on this page.",
622 "cannotdelete" => "Could not delete the page or image specified. (It may have already been deleted by someone else.)",
623 "badtitle" => "Bad title",
624 "badtitletext" => "The requested page title was invalid, empty, or
625 an incorrectly linked inter-language or inter-wiki title.",
626 "perfdisabled" => "Sorry! This feature has been temporarily disabled
627 because it slows the database down to the point that no one can use
628 the wiki.",
629 "perfdisabledsub" => "Here's a saved copy from $1:",
630 "wrong_wfQuery_params" => "Incorrect parameters to wfQuery()<br>
631 Function: $1<br>
632 Query: $2
633 ",
634 "viewsource" => "View source",
635 "protectedtext" => "This page has been locked to prevent editing; there are
636 a number of reasons why this may be so, please see
637 [[$wgMetaNamespace:Protected page]].
638
639 You can view and copy the source of this page:",
640
641 # Login and logout pages
642 #
643 "logouttitle" => "User logout",
644 "logouttext" => "You are now logged out.
645 You can continue to use $wgSitename anonymously, or you can log in
646 again as the same or as a different user. Note that some pages may
647 continue to be displayed as if you were still logged in, until you clear
648 your browser cache\n",
649
650 "welcomecreation" => "<h2>Welcome, $1!</h2><p>Your account has been created.
651 Don't forget to change your $wgSitename preferences.",
652
653 "loginpagetitle" => "User login",
654 "yourname" => "Your user name",
655 "yourpassword" => "Your password",
656 "yourpasswordagain" => "Retype password",
657 "newusersonly" => " (new users only)",
658 "remembermypassword" => "Remember my password across sessions.",
659 "loginproblem" => "<b>There has been a problem with your login.</b><br>Try again!",
660 "alreadyloggedin" => "<font color=red><b>User $1, you are already logged in!</b></font><br>\n",
661
662 "login" => "Log in",
663 "loginprompt" => "You must have cookies enabled to log in to $wgSitename.",
664 "userlogin" => "Log in",
665 "logout" => "Log out",
666 "userlogout" => "Log out",
667 "notloggedin" => "Not logged in",
668 "createaccount" => "Create new account",
669 "createaccountmail" => "by email",
670 "badretype" => "The passwords you entered do not match.",
671 "userexists" => "The user name you entered is already in use. Please choose a different name.",
672 "youremail" => "Your email*",
673 "yournick" => "Your nickname (for signatures)",
674 "emailforlost" => "* Entering an email address is optional. But it enables people to
675 contact you through the website without you having to reveal your
676 email address to them, and it also helps you if you forget your
677 password.",
678 "loginerror" => "Login error",
679 "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.",
680 "nocookieslogin" => "$wgSitename uses cookies to log in users. You have cookies disabled. Please enable them and try again.",
681 "noname" => "You have not specified a valid user name.",
682 "loginsuccesstitle" => "Login successful",
683 "loginsuccess" => "You are now logged in to $wgSitename as \"$1\".",
684 "nosuchuser" => "There is no user by the name \"$1\".
685 Check your spelling, or use the form below to create a new user account.",
686 "wrongpassword" => "The password you entered is incorrect. Please try again.",
687 "mailmypassword" => "Mail me a new password",
688 "passwordremindertitle" => "Password reminder from $wgSitename",
689 "passwordremindertext" => "Someone (probably you, from IP address $1)
690 requested that we send you a new $wgSitename login password.
691 The password for user \"$2\" is now \"$3\".
692 You should log in and change your password now.",
693 "noemail" => "There is no e-mail address recorded for user \"$1\".",
694 "passwordsent" => "A new password has been sent to the e-mail address
695 registered for \"$1\".
696 Please log in again after you receive it.",
697 "loginend" => "&nbsp;",
698 "mailerror" => "Error sending mail: $1",
699
700 # Edit page toolbar
701 "bold_sample"=>"Bold text",
702 "bold_tip"=>"Bold text",
703 "italic_sample"=>"Italic text",
704 "italic_tip"=>"Italic text",
705 "link_sample"=>"Link title",
706 "link_tip"=>"Internal link",
707 "extlink_sample"=>"http://www.example.com link title",
708 "extlink_tip"=>"External link (remember http:// prefix)",
709 "headline_sample"=>"Headline text",
710 "headline_tip"=>"Level 2 headline",
711 "math_sample"=>"Insert formula here",
712 "math_tip"=>"Mathematical formula (LaTeX)",
713 "nowiki_sample"=>"Insert non-formatted text here",
714 "nowiki_tip"=>"Ignore wiki formatting",
715 "image_sample"=>"Example.jpg",
716 "image_tip"=>"Embedded image",
717 "media_sample"=>"Example.mp3",
718 "media_tip"=>"Media file link",
719 "sig_tip"=>"Your signature with timestamp",
720 "hr_tip"=>"Horizontal line (use sparingly)",
721 "infobox"=>"Click a button to get an example text",
722 # alert box shown in browsers where text selection does not work, test e.g. with mozilla or konqueror
723 "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",
724 # only shown for Mozilla users
725 "infobox_mozvote"=>"\\nPlease vote for bug #231389 to make text selection work in Mozilla!",
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-rollback' => 'r',
1482 'accesskey-protect' => 'p',
1483 'accesskey-delete' => 'd',
1484 'accesskey-move' => 'm',
1485 'accesskey-watch' => '',
1486 'accesskey-unwatch' => '',
1487 'accesskey-watchlist' => 'w',
1488 'accesskey-userpage' => '',
1489 'accesskey-mytalk' => '',
1490 'accesskey-preferences' => '',
1491 'accesskey-mycontris' => '',
1492 'accesskey-login' => 'l',
1493 'accesskey-search' => 's',
1494 'accesskey-mainpage' => '',
1495 'accesskey-randompage' => 'x',
1496 'accesskey-help' => '',
1497 'accesskey-recentchanges' => 'c',
1498 'accesskey-recentchangeslinked' => '',
1499 'accesskey-whatlinkshere' => 'b',
1500 'accesskey-specialpages' => '',
1501 'accesskey-specialpage' => '',
1502 'accesskey-upload' => 'u',
1503
1504 # tooltip help for the main actions
1505 'tooltip-article' => 'View the article [alt-a]',
1506 'tooltip-talk' => 'Discussion about the article [alt-t]',
1507 'tooltip-edit' => 'You can edit this page. Please use the preview button before saving. [alt-e]',
1508 'tooltip-history' => 'Past versions of this page, [alt-h]',
1509 'tooltip-rollback' => 'Roll back edits, [alt-r]',
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-watch' => 'Add this page to your watchlist',
1514 'tooltip-unwatch' => 'Remove this page from your watchlist',
1515 'tooltip-watchlist' => 'The watchlist is the list of pages you\'re monitoring for changes. [alt-w]',
1516 'tooltip-userpage' => 'My user page',
1517 'tooltip-mytalk' => 'My talk page',
1518 'tooltip-preferences' => 'My preferences',
1519 'tooltip-mycontris' => 'List of my contributions',
1520 'tooltip-login' => 'You are not currently logged in. It is encouraged that you log in to edit, it\'s not mandatory however.',
1521 'tooltip-logout' => '',
1522 'tooltip-search' => 'Search this wiki',
1523 'tooltip-mainpage' => 'Visit the Front Page',
1524 'tooltip-randompage' => 'Get a random page [alt-x]',
1525 'tooltip-help' => '',
1526 'tooltip-recentchanges' => 'The list of recent changes in the entire wiki. [alt-c]',
1527 'tooltip-recentchangeslinked' => 'Recent changes in pages linking to this page',
1528 'tooltip-whatlinkshere' => '',
1529 'tooltip-specialpages' => '',
1530 'tooltip-upload' => 'u',
1531 'tooltip-specialpage' => 'This is a special page, you can\'t edit the page itself.',
1532 );
1533
1534 #--------------------------------------------------------------------------
1535 # Internationalisation code
1536 #--------------------------------------------------------------------------
1537
1538 class Language {
1539 function Language(){
1540 # Copies any missing values in the specified arrays from En to the current language
1541 $fillin = array( "wgSysopSpecialPages", "wgValidSpecialPages", "wgDeveloperSpecialPages" );
1542 $name = get_class( $this );
1543 if( strpos( $name, "language" ) == 0){
1544 $lang = ucfirst( substr( $name, 8 ) );
1545 foreach( $fillin as $arrname ){
1546 $langver = "{$arrname}{$lang}";
1547 $enver = "{$arrname}En";
1548 if( ! isset( $GLOBALS[$langver] ) || ! isset( $GLOBALS[$enver] ))
1549 continue;
1550 foreach($GLOBALS[$enver] as $spage => $text){
1551 if( ! isset( $GLOBALS[$langver][$spage] ) )
1552 $GLOBALS[$langver][$spage] = $text;
1553 }
1554 }
1555 }
1556 }
1557
1558 function getDefaultUserOptions () {
1559 global $wgDefaultUserOptionsEn ;
1560 return $wgDefaultUserOptionsEn ;
1561 }
1562
1563 function getBookstoreList () {
1564 global $wgBookstoreListEn ;
1565 return $wgBookstoreListEn ;
1566 }
1567
1568 function getNamespaces() {
1569 global $wgNamespaceNamesEn;
1570 return $wgNamespaceNamesEn;
1571 }
1572
1573 function getNsText( $index ) {
1574 global $wgNamespaceNamesEn;
1575 return $wgNamespaceNamesEn[$index];
1576 }
1577
1578 function getNsIndex( $text ) {
1579 global $wgNamespaceNamesEn;
1580
1581 foreach ( $wgNamespaceNamesEn as $i => $n ) {
1582 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
1583 }
1584 return false;
1585 }
1586
1587 function specialPage( $name ) {
1588 return $this->getNsText( Namespace::getSpecial() ) . ":" . $name;
1589 }
1590
1591 function getQuickbarSettings() {
1592 global $wgQuickbarSettingsEn;
1593 return $wgQuickbarSettingsEn;
1594 }
1595
1596 function getSkinNames() {
1597 global $wgSkinNamesEn;
1598 return $wgSkinNamesEn;
1599 }
1600
1601 function getMathNames() {
1602 global $wgMathNamesEn;
1603 return $wgMathNamesEn;
1604 }
1605
1606 function getDateFormats() {
1607 global $wgDateFormatsEn;
1608 return $wgDateFormatsEn;
1609 }
1610
1611 function getUserToggles() {
1612 global $wgUserTogglesEn;
1613 return $wgUserTogglesEn;
1614 }
1615
1616 function getLanguageNames() {
1617 global $wgLanguageNamesEn;
1618 return $wgLanguageNamesEn;
1619 }
1620
1621 function getLanguageName( $code ) {
1622 global $wgLanguageNamesEn;
1623 if ( ! array_key_exists( $code, $wgLanguageNamesEn ) ) {
1624 return "";
1625 }
1626 return $wgLanguageNamesEn[$code];
1627 }
1628
1629 function getMonthName( $key )
1630 {
1631 global $wgMonthNamesEn;
1632 return $wgMonthNamesEn[$key-1];
1633 }
1634
1635 /* by default we just return base form */
1636 function getMonthNameGen( $key )
1637 {
1638 return $this->getMonthName( $key );
1639 }
1640
1641 function getMonthAbbreviation( $key )
1642 {
1643 global $wgMonthAbbreviationsEn;
1644 return $wgMonthAbbreviationsEn[$key-1];
1645 }
1646
1647 function getWeekdayName( $key )
1648 {
1649 global $wgWeekdayNamesEn;
1650 return $wgWeekdayNamesEn[$key-1];
1651 }
1652
1653 function userAdjust( $ts )
1654 {
1655 global $wgUser, $wgLocalTZoffset;
1656
1657 $tz = $wgUser->getOption( "timecorrection" );
1658 if ( $tz === "" ) {
1659 $hrDiff = isset( $wgLocalTZoffset ) ? $wgLocalTZoffset : 0;
1660 $minDiff = 0;
1661 } elseif ( strpos( $tz, ":" ) !== false ) {
1662 $tzArray = explode( ":", $tz );
1663 $hrDiff = intval($tzArray[0]);
1664 $minDiff = intval($hrDiff < 0 ? -$tzArray[1] : $tzArray[1]);
1665 } else {
1666 $hrDiff = intval( $tz );
1667 }
1668 if ( 0 == $hrDiff && 0 == $minDiff ) { return $ts; }
1669
1670 $t = mktime( (
1671 (int)substr( $ts, 8, 2) ) + $hrDiff, # Hours
1672 (int)substr( $ts, 10, 2 ) + $minDiff, # Minutes
1673 (int)substr( $ts, 12, 2 ), # Seconds
1674 (int)substr( $ts, 4, 2 ), # Month
1675 (int)substr( $ts, 6, 2 ), # Day
1676 (int)substr( $ts, 0, 4 ) ); #Year
1677 return date( "YmdHis", $t );
1678 }
1679
1680 function date( $ts, $adj = false )
1681 {
1682 global $wgAmericanDates, $wgUser, $wgUseDynamicDates;
1683
1684 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1685
1686 if ( $wgUseDynamicDates ) {
1687 $datePreference = $wgUser->getOption( 'date' );
1688 if ( $datePreference == 0 ) {
1689 $datePreference = $wgAmericanDates ? 1 : 2;
1690 }
1691 } else {
1692 $datePreference = $wgAmericanDates ? 1 : 2;
1693 }
1694
1695 $month = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) );
1696 $day = $this->formatNum( 0 + substr( $ts, 6, 2 ) );
1697 $year = $this->formatNum( substr( $ts, 0, 4 ) );
1698
1699 switch( $datePreference ) {
1700 case 1: return "$month $day, $year";
1701 case 2: return "$day $month $year";
1702 default: return "$year $month $day";
1703 }
1704 }
1705
1706 function time( $ts, $adj = false )
1707 {
1708 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1709
1710 $t = substr( $ts, 8, 2 ) . ":" . substr( $ts, 10, 2 );
1711 return $this->formatNum( $t );
1712 }
1713
1714 function timeanddate( $ts, $adj = false )
1715 {
1716 return $this->time( $ts, $adj ) . ", " . $this->date( $ts, $adj );
1717 }
1718
1719 function rfc1123( $ts )
1720 {
1721 return date( "D, d M Y H:i:s T", $ts );
1722 }
1723
1724 function getValidSpecialPages()
1725 {
1726 global $wgValidSpecialPagesEn;
1727 return $wgValidSpecialPagesEn;
1728 }
1729
1730 function getSysopSpecialPages()
1731 {
1732 global $wgSysopSpecialPagesEn;
1733 return $wgSysopSpecialPagesEn;
1734 }
1735
1736 function getDeveloperSpecialPages()
1737 {
1738 global $wgDeveloperSpecialPagesEn;
1739 return $wgDeveloperSpecialPagesEn;
1740 }
1741
1742 function getMessage( $key )
1743 {
1744 global $wgAllMessagesEn;
1745 return $wgAllMessagesEn[$key];
1746 }
1747
1748 function getAllMessages()
1749 {
1750 global $wgAllMessagesEn;
1751 return $wgAllMessagesEn;
1752 }
1753
1754 function iconv( $in, $out, $string ) {
1755 # For most languages, this is a wrapper for iconv
1756 return iconv( $in, $out, $string );
1757 }
1758
1759 function ucfirst( $string ) {
1760 # For most languages, this is a wrapper for ucfirst()
1761 return ucfirst( $string );
1762 }
1763
1764 function lcfirst( $s ) {
1765 return strtolower( $s{0} ). substr( $s, 1 );
1766 }
1767
1768 function checkTitleEncoding( $s ) {
1769 global $wgInputEncoding;
1770
1771 # Check for UTF-8 URLs; Internet Explorer produces these if you
1772 # type non-ASCII chars in the URL bar or follow unescaped links.
1773 $ishigh = preg_match( '/[\x80-\xff]/', $s);
1774 $isutf = ($ishigh ? preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|' .
1775 '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s ) : true );
1776
1777 if( ($wgInputEncoding != "utf-8") and $ishigh and $isutf )
1778 return iconv( "UTF-8", $wgInputEncoding, $s );
1779
1780 if( ($wgInputEncoding == "utf-8") and $ishigh and !$isutf )
1781 return utf8_encode( $s );
1782
1783 # Other languages can safely leave this function, or replace
1784 # it with one to detect and convert another legacy encoding.
1785 return $s;
1786 }
1787
1788 function stripForSearch( $in ) {
1789 # Some languages have special punctuation to strip out
1790 # or characters which need to be converted for MySQL's
1791 # indexing to grok it correctly. Make such changes here.
1792 return $in;
1793 }
1794
1795
1796 function setAltEncoding() {
1797 # Some languages may have an alternate char encoding option
1798 # (Esperanto X-coding, Japanese furigana conversion, etc)
1799 # If 'altencoding' is checked in user prefs, this gives a
1800 # chance to swap out the default encoding settings.
1801 #global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1802 }
1803
1804 function recodeForEdit( $s ) {
1805 # For some languages we'll want to explicitly specify
1806 # which characters make it into the edit box raw
1807 # or are converted in some way or another.
1808 # Note that if wgOutputEncoding is different from
1809 # wgInputEncoding, this text will be further converted
1810 # to wgOutputEncoding.
1811 global $wgInputEncoding, $wgEditEncoding;
1812 if( $wgEditEncoding == "" or
1813 $wgEditEncoding == $wgInputEncoding ) {
1814 return $s;
1815 } else {
1816 return $this->iconv( $wgInputEncoding, $wgEditEncoding, $s );
1817 }
1818 }
1819
1820 function recodeInput( $s ) {
1821 # Take the previous into account.
1822 global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1823 if($wgEditEncoding != "") {
1824 $enc = $wgEditEncoding;
1825 } else {
1826 $enc = $wgOutputEncoding;
1827 }
1828 if( $enc == $wgInputEncoding ) {
1829 return $s;
1830 } else {
1831 return $this->iconv( $enc, $wgInputEncoding, $s );
1832 }
1833 }
1834
1835 # For right-to-left language support
1836 function isRTL() { return false; }
1837
1838 # To allow "foo[[bar]]" to extend the link over the whole word "foobar"
1839 function linkPrefixExtension() { return false; }
1840
1841
1842 function &getMagicWords()
1843 {
1844 global $wgMagicWordsEn;
1845 return $wgMagicWordsEn;
1846 }
1847
1848 # Fill a MagicWord object with data from here
1849 function getMagic( &$mw )
1850 {
1851 $raw =& $this->getMagicWords();
1852 $rawEntry = $raw[$mw->mId];
1853 $mw->mCaseSensitive = $rawEntry[0];
1854 $mw->mSynonyms = array_slice( $rawEntry, 1 );
1855 }
1856
1857 # Italic is unsuitable for some languages
1858 function emphasize( $text )
1859 {
1860 return "<em>$text</em>";
1861 }
1862
1863 # returns additional Regex for the tokenizer. See LanguageFr.php for an example
1864 function tokenizerRegex()
1865 {
1866 return "";
1867 }
1868
1869 # Process the token generated from the tokenizer by the above regex. Return
1870 # NULL if the token is unknown, and the text to be added to the output otherwise
1871 function processToken( &$token , &$tokenStack)
1872 {
1873 return NULL;
1874 }
1875
1876 # Normally we use the plain ASCII digits. Some languages such as Arabic will
1877 # want to output numbers using script-appropriate characters: override this
1878 # function with a translator. See LanguageAr.php for an example.
1879 function formatNum( $number ) {
1880 return $number;
1881 }
1882
1883 }
1884
1885 @include_once( "Language" . ucfirst( $wgLanguageCode ) . ".php" );
1886
1887 ?>