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