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