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