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