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