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