Added "searchdisabled" key for reference
[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", "Paddington", "Montparnasse"
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 "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>
678
679 <!-- SiteSearch Google -->
680 <FORM method=GET action=\"http://www.google.com/search\">
681 <TABLE bgcolor=\"#FFFFFF\"><tr><td>
682 <A HREF=\"http://www.google.com/\">
683 <IMG SRC=\"http://www.google.com/logos/Logo_40wht.gif\"
684 border=\"0\" ALT=\"Google\"></A>
685 </td>
686 <td>
687 <INPUT TYPE=text name=q size=31 maxlength=255 value=\"\">
688 <INPUT type=submit name=btnG VALUE=\"Google Search\">
689 <font size=-1>
690 <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>
691 </font>
692 </td></tr></TABLE>
693 </FORM>
694 <!-- SiteSearch Google -->",
695 "blanknamespace" => "(Main)",
696
697 # Preferences page
698 #
699 "preferences" => "Preferences",
700 "prefsnologin" => "Not logged in",
701 "prefsnologintext" => "You must be <a href=\"" .
702 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
703 to set user preferences.",
704 "prefslogintext" => "You are logged in as \"$1\".
705 Your internal ID number is $2.
706
707 See [[Wikipedia:User preferences help]] for help deciphering the options.",
708 "prefsreset" => "Preferences have been reset from storage.",
709 "qbsettings" => "Quickbar settings",
710 "changepassword" => "Change password",
711 "skin" => "Skin",
712 "math" => "Rendering math",
713 "dateformat" => "Date format",
714 "math_failure" => "Failed to parse",
715 "math_unknown_error" => "unknown error",
716 "math_unknown_function" => "unknown function ",
717 "math_lexing_error" => "lexing error",
718 "math_syntax_error" => "syntax error",
719 "saveprefs" => "Save preferences",
720 "resetprefs" => "Reset preferences",
721 "oldpassword" => "Old password",
722 "newpassword" => "New password",
723 "retypenew" => "Retype new password",
724 "textboxsize" => "Textbox dimensions",
725 "rows" => "Rows",
726 "columns" => "Columns",
727 "searchresultshead" => "Search result settings",
728 "resultsperpage" => "Hits to show per page",
729 "contextlines" => "Lines to show per hit",
730 "contextchars" => "Characters of context per line",
731 "stubthreshold" => "Threshold for stub display",
732 "recentchangescount" => "Number of titles in recent changes",
733 "savedprefs" => "Your preferences have been saved.",
734 "timezonetext" => "Enter number of hours your local time differs
735 from server time (UTC).",
736 "localtime" => "Local time display",
737 "timezoneoffset" => "Offset",
738 "servertime" => "Server time is now",
739 "guesstimezone" => "Fill in from browser",
740 "emailflag" => "Disable e-mail from other users",
741 "defaultns" => "Search in these namespaces by default:",
742
743 # Recent changes
744 #
745 "changes" => "changes",
746 "recentchanges" => "Recent changes",
747 "recentchangestext" =>
748 "Track the most recent changes to Wikipedia on this page.
749 [[Wikipedia:Welcome,_newcomers|Welcome, newcomers]]!
750 Please have a look at these pages: [[wikipedia:FAQ|Wikipedia FAQ]],
751 [[Wikipedia:Policies and guidelines|Wikipedia policy]]
752 (especially [[wikipedia:Naming conventions|naming conventions]],
753 [[wikipedia:Neutral point of view|neutral point of view]]),
754 and [[wikipedia:Most common Wikipedia faux pas|most common Wikipedia faux pas]].
755
756 If you want to see Wikipedia succeed, it's very important that you don't add
757 material restricted by others' [[wikipedia:Copyrights|copyrights]].
758 The legal liability could really hurt the project, so please don't do it.
759 See also the [http://meta.wikipedia.org/wiki/Special:Recentchanges recent meta discussion].",
760 "rcloaderr" => "Loading recent changes",
761 "rcnote" => "Below are the last <strong>$1</strong> changes in last <strong>$2</strong> days.",
762 "rcnotefrom" => "Below are the changes since <b>$2</b> (up to <b>$1</b> shown).",
763 "rclistfrom" => "Show new changes starting from $1",
764 # "rclinks" => "Show last $1 changes in last $2 hours / last $3 days",
765 # "rclinks" => "Show last $1 changes in last $2 days.",
766 "rclinks" => "Show last $1 changes in last $2 days; $3 minor edits",
767 "rchide" => "in $4 form; $1 minor edits; $2 secondary namespaces; $3 multiple edits.",
768 "rcliu" => "; $1 edits from logged in users",
769 "diff" => "diff",
770 "hist" => "hist",
771 "hide" => "hide",
772 "show" => "show",
773 "tableform" => "table",
774 "listform" => "list",
775 "nchanges" => "$1 changes",
776 "minoreditletter" => "M",
777 "newpageletter" => "N",
778
779 # Upload
780 #
781 "upload" => "Upload file",
782 "uploadbtn" => "Upload file",
783 "uploadlink" => "Upload images",
784 "reupload" => "Re-upload",
785 "reuploaddesc" => "Return to the upload form.",
786 "uploadnologin" => "Not logged in",
787 "uploadnologintext" => "You must be <a href=\"" .
788 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
789 to upload files.",
790 "uploadfile" => "Upload images, sounds, documents etc.",
791 "uploaderror" => "Upload error",
792 "uploadtext" => "<strong>STOP!</strong> Before you upload here,
793 make sure to read and follow Wikipedia's <a href=\"" .
794 wfLocalUrlE( "Wikipedia:Image_use_policy" ) . "\">image use policy</a>.
795 <p>To view or search previously uploaded images,
796 go to the <a href=\"" . wfLocalUrlE( "Special:Imagelist" ) .
797 "\">list of uploaded images</a>.
798 Uploads and deletions are logged on the <a href=\"" .
799 wfLocalUrlE( "Wikipedia:Upload_log" ) . "\">upload log</a>.
800 <p>Use the form below to upload new image files for use in
801 illustrating your articles.
802 On most browsers, you will see a \"Browse...\" button, which will
803 bring up your operating system's standard file open dialog.
804 Choosing a file will fill the name of that file into the text
805 field next to the button.
806 You must also check the box affirming that you are not
807 violating any copyrights by uploading the file.
808 Press the \"Upload\" button to finish the upload.
809 This may take some time if you have a slow internet connection.
810 <p>The preferred formats are JPEG for photographic images, PNG
811 for drawings and other iconic images, and OGG for sounds.
812 Please name your files descriptively to avoid confusion.
813 To include the image in an article, use a link in the form
814 <b>[[image:file.jpg]]</b> or <b>[[image:file.png|alt text]]</b>
815 or <b>[[media:file.ogg]]</b> for sounds.
816 <p>Please note that as with Wikipedia pages, others may edit or
817 delete your uploads if they think it serves the encyclopedia, and
818 you may be blocked from uploading if you abuse the system.",
819 "uploadlog" => "upload log",
820 "uploadlogpage" => "Upload_log",
821 "uploadlogpagetext" => "Below is a list of the most recent file uploads.
822 All times shown are server time (UTC).
823 <ul>
824 </ul>
825 ",
826 "filename" => "Filename",
827 "filedesc" => "Summary",
828 "affirmation" => "I affirm that the copyright holder of this file
829 agrees to license it under the terms of the $1.",
830 "copyrightpage" => "Wikipedia:Copyrights",
831 "copyrightpagename" => "Wikipedia copyright",
832 "uploadedfiles" => "Uploaded files",
833 "noaffirmation" => "You must affirm that your upload does not violate
834 any copyrights.",
835 "ignorewarning" => "Ignore warning and save file anyway.",
836 "minlength" => "Image names must be at least three letters.",
837 "badfilename" => "Image name has been changed to \"$1\".",
838 "badfiletype" => "\".$1\" is not a recommended image file format.",
839 "largefile" => "It is recommended that images not exceed 100k in size.",
840 "successfulupload" => "Successful upload",
841 "fileuploaded" => "File \"$1\" uploaded successfully.
842 Please follow this link: ($2) to the description page and fill
843 in information about the file, such as where it came from, when it was
844 created and by whom, and anything else you may know about it.",
845 "uploadwarning" => "Upload warning",
846 "savefile" => "Save file",
847 "uploadedimage" => "uploaded \"$1\"",
848
849 # Image list
850 #
851 "imagelist" => "Image list",
852 "imagelisttext" => "Below is a list of $1 images sorted $2.",
853 "getimagelist" => "fetching image list",
854 "ilshowmatch" => "Show all images with names matching",
855 "ilsubmit" => "Search",
856 "showlast" => "Show last $1 images sorted $2.",
857 "all" => "all",
858 "byname" => "by name",
859 "bydate" => "by date",
860 "bysize" => "by size",
861 "imgdelete" => "del",
862 "imgdesc" => "desc",
863 "imglegend" => "Legend: (desc) = show/edit image description.",
864 "imghistory" => "Image history",
865 "revertimg" => "rev",
866 "deleteimg" => "del",
867 "imghistlegend" => "Legend: (cur) = this is the current image, (del) = delete
868 this old version, (rev) = revert to this old version.
869 <br><i>Click on date to see image uploaded on that date</i>.",
870 "imagelinks" => "Image links",
871 "linkstoimage" => "The following pages link to this image:",
872 "nolinkstoimage" => "There are no pages that link to this image.",
873
874 # Statistics
875 #
876 "statistics" => "Statistics",
877 "sitestats" => "Site statistics",
878 "userstats" => "User statistics",
879 "sitestatstext" => "There are <b>$1</b> total pages in the database.
880 This includes \"talk\" pages, pages about Wikipedia, minimal \"stub\"
881 pages, redirects, and others that probably don't qualify as articles.
882 Excluding those, there are <b>$2</b> pages that are probably legitimate
883 articles.<p>
884 There have been a total of <b>$3</b> page views, and <b>$4</b> page edits
885 since the software was upgraded (July 20, 2002).
886 That comes to <b>$5</b> average edits per page, and <b>$6</b> views per edit.",
887 "userstatstext" => "There are <b>$1</b> registered users.
888 <b>$2</b> of these are administrators (see $3).",
889
890 # Maintenance Page
891 #
892 "maintenance" => "Maintenance page",
893 "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 ;-)",
894 "maintenancebacklink" => "Back to Maintenance Page",
895 "disambiguations" => "Disambiguation pages",
896 "disambiguationspage" => "Wikipedia:Links_to_disambiguating_pages",
897 "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.",
898 "doubleredirects" => "Double Redirects",
899 "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.",
900 "brokenredirects" => "Broken Redirects",
901 "brokenredirectstext" => "The following redirects link to a non-existing article.",
902 "selflinks" => "Pages with Self Links",
903 "selflinkstext" => "The following pages contain a link to themselves, which they should not.",
904 "mispeelings" => "Pages with misspellings",
905 "mispeelingstext" => "The following pages contain a common misspelling, which are listed on $1. The correct spelling might be given (like this).",
906 "mispeelingspage" => "List of common misspellings",
907 "missinglanguagelinks" => "Missing Language Links",
908 "missinglanguagelinksbutton" => "Find missing language links for",
909 "missinglanguagelinkstext" => "These articles do <i>not</i> link to their counterpart in $1. Redirects and subpages are <i>not</i> shown.",
910
911
912 # Miscellaneous special pages
913 #
914 "orphans" => "Orphaned pages",
915 "lonelypages" => "Orphaned pages",
916 "unusedimages" => "Unused images",
917 "popularpages" => "Popular pages",
918 "nviews" => "$1 views",
919 "wantedpages" => "Wanted pages",
920 "nlinks" => "$1 links",
921 "allpages" => "All pages",
922 "randompage" => "Random page",
923 "shortpages" => "Short pages",
924 "longpages" => "Long pages",
925 "listusers" => "User list",
926 "specialpages" => "Special pages",
927 "spheading" => "Special pages for all users",
928 "sysopspheading" => "For sysop use only",
929 "developerspheading" => "For developer use only",
930 "protectpage" => "Protect page",
931 "recentchangeslinked" => "Related changes",
932 "rclsub" => "(to pages linked from \"$1\")",
933 "debug" => "Debug",
934 "newpages" => "New pages",
935 "ancientpages" => "Oldest articles",
936 "intl" => "Interlanguage links",
937 "movethispage" => "Move this page",
938 "unusedimagestext" => "<p>Please note that other web sites
939 such as the international Wikipedias may link to an image with
940 a direct URL, and so may still be listed here despite being
941 in active use.",
942 "booksources" => "Book sources",
943 "booksourcetext" => "Below is a list of links to other sites that
944 sell new and used books, and may also have further information
945 about books you are looking for.
946 Wikipedia is not affiliated with any of these businesses, and
947 this list should not be construed as an endorsement.",
948 "alphaindexline" => "$1 to $2",
949
950 # Email this user
951 #
952 "mailnologin" => "No send address",
953 "mailnologintext" => "You must be <a href=\"" .
954 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
955 and have a valid e-mail address in your <a href=\"" .
956 wfLocalUrl( "Special:Preferences" ) . "\">preferences</a>
957 to send e-mail to other users.",
958 "emailuser" => "E-mail this user",
959 "emailpage" => "E-mail user",
960 "emailpagetext" => "If this user has entered a valid e-mail address in
961 his or her user preferences, the form below will send a single message.
962 The e-mail address you entered in your user preferences will appear
963 as the \"From\" address of the mail, so the recipient will be able
964 to reply.",
965 "noemailtitle" => "No e-mail address",
966 "noemailtext" => "This user has not specified a valid e-mail address,
967 or has chosen not to receive e-mail from other users.",
968 "emailfrom" => "From",
969 "emailto" => "To",
970 "emailsubject" => "Subject",
971 "emailmessage" => "Message",
972 "emailsend" => "Send",
973 "emailsent" => "E-mail sent",
974 "emailsenttext" => "Your e-mail message has been sent.",
975
976 # Watchlist
977 #
978 "watchlist" => "My watchlist",
979 "watchlistsub" => "(for user \"$1\")",
980 "nowatchlist" => "You have no items on your watchlist.",
981 "watchnologin" => "Not logged in",
982 "watchnologintext" => "You must be <a href=\"" .
983 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
984 to modify your watchlist.",
985 "addedwatch" => "Added to watchlist",
986 "addedwatchtext" => "The page \"$1\" has been added to your <a href=\"" .
987 wfLocalUrl( "Special:Watchlist" ) . "\">watchlist</a>.
988 Future changes to this page and its associated Talk page will be listed there,
989 and the page will appear <b>bolded</b> in the <a href=\"" .
990 wfLocalUrl( "Special:Recentchanges" ) . "\">list of recent changes</a> to
991 make it easier to pick out.</p>
992
993 <p>If you want to remove the page from your watchlist later, click \"Stop watching\" in the sidebar.",
994 "removedwatch" => "Removed from watchlist",
995 "removedwatchtext" => "The page \"$1\" has been removed from your watchlist.",
996 "watchthispage" => "Watch this page",
997 "unwatchthispage" => "Stop watching",
998 "notanarticle" => "Not an article",
999 "watchnochange" => "None of your watched items were edited in the time period displayed.",
1000 "watchdetails" => "($1 pages watched not counting talk pages;
1001 $2 total pages edited since cutoff;
1002 $3...
1003 <a href='$4'>show and edit complete list</a>.)",
1004 "watchmethod-recent" => "checking recent edits for watched pages",
1005 "watchmethod-list" => "checking watched pages for recent edits",
1006 "removechecked" => "Remove checked items from watchlist",
1007 "watchlistcontains" => "Your watchlist contains $1 pages.",
1008 "watcheditlist" => "Here's an alphabetical list of your
1009 watched pages. Check the boxes of pages you want to remove
1010 from your watchlist and click the 'remove checked' button
1011 at the bottom of the screen.",
1012 "removingchecked" => "Removing requested items from watchlist...",
1013 "couldntremove" => "Couldn't remove item '$1'...",
1014 "iteminvalidname" => "Problem with item '$1', invalid name...",
1015 "wlnote" => "Below are the last $1 changes in the last <b>$2</b> hours.",
1016
1017
1018 # Delete/protect/revert
1019 #
1020 "deletepage" => "Delete page",
1021 "confirm" => "Confirm",
1022 "excontent" => "content was:",
1023 "exbeforeblank" => "content before blanking was:",
1024 "exblank" => "page was empty",
1025 "confirmdelete" => "Confirm delete",
1026 "deletesub" => "(Deleting \"$1\")",
1027 "historywarning" => "Warning: The page you are about to delete has a history: ",
1028 "confirmdeletetext" => "You are about to permanently delete a page
1029 or image along with all of its history from the database.
1030 Please confirm that you intend to do this, that you understand the
1031 consequences, and that you are doing this in accordance with
1032 [[Wikipedia:Policy]].",
1033 "confirmcheck" => "Yes, I really want to delete this.",
1034 "actioncomplete" => "Action complete",
1035 "deletedtext" => "\"$1\" has been deleted.
1036 See $2 for a record of recent deletions.",
1037 "deletedarticle" => "deleted \"$1\"",
1038 "dellogpage" => "Deletion_log",
1039 "dellogpagetext" => "Below is a list of the most recent deletions.
1040 All times shown are server time (UTC).
1041 <ul>
1042 </ul>
1043 ",
1044 "deletionlog" => "deletion log",
1045 "reverted" => "Reverted to earlier revision",
1046 "deletecomment" => "Reason for deletion",
1047 "imagereverted" => "Revert to earlier version was successful.",
1048 "rollback" => "Roll back edits",
1049 "rollbacklink" => "rollback",
1050 "rollbackfailed" => "Rollback failed",
1051 "cantrollback" => "Cannot revert edit; last contributor is only author of this article.",
1052 "alreadyrolled" => "Cannot rollback last edit of [[$1]]
1053 by [[User:$2|$2]] ([[User talk:$2|Talk]]); someone else has edited or rolled back the article already.
1054
1055 Last edit was by [[User:$3|$3]] ([[User talk:$3|Talk]]). ",
1056 # only shown if there is an edit comment
1057 "editcomment" => "The edit comment was: \"<i>$1</i>\".",
1058 "revertpage" => "Reverted to last edit by $1",
1059
1060 # Undelete
1061 "undelete" => "Restore deleted page",
1062 "undeletepage" => "View and restore deleted pages",
1063 "undeletepagetext" => "The following pages have been deleted but are still in the archive and
1064 can be restored. The archive may be periodically cleaned out.",
1065 "undeletearticle" => "Restore deleted article",
1066 "undeleterevisions" => "$1 revisions archived",
1067 "undeletehistory" => "If you restore the page, all revisions will be restored to the history.
1068 If a new page with the same name has been created since the deletion, the restored
1069 revisions will appear in the prior history, and the current revision of the live page
1070 will not be automatically replaced.",
1071 "undeleterevision" => "Deleted revision as of $1",
1072 "undeletebtn" => "Restore!",
1073 "undeletedarticle" => "restored \"$1\"",
1074 "undeletedtext" => "The article [[$1]] has been successfully restored.
1075 See [[Wikipedia:Deletion_log]] for a record of recent deletions and restorations.",
1076
1077 # Contributions
1078 #
1079 "contributions" => "User contributions",
1080 "mycontris" => "My contributions",
1081 "contribsub" => "For $1",
1082 "nocontribs" => "No changes were found matching these criteria.",
1083 "ucnote" => "Below are this user's last <b>$1</b> changes in the last <b>$2</b> days.",
1084 "uclinks" => "View the last $1 changes; view the last $2 days.",
1085 "uctop" => " (top)" ,
1086
1087 # What links here
1088 #
1089 "whatlinkshere" => "What links here",
1090 "notargettitle" => "No target",
1091 "notargettext" => "You have not specified a target page or user
1092 to perform this function on.",
1093 "linklistsub" => "(List of links)",
1094 "linkshere" => "The following pages link to here:",
1095 "nolinkshere" => "No pages link to here.",
1096 "isredirect" => "redirect page",
1097
1098 # Block/unblock IP
1099 #
1100 "blockip" => "Block user",
1101 "blockiptext" => "Use the form below to block write access
1102 from a specific IP address or username.
1103 This should be done only only to prevent vandalism, and in
1104 accordance with [[Wikipedia:Policy|Wikipedia policy]].
1105 Fill in a specific reason below (for example, citing particular
1106 pages that were vandalized).",
1107 "ipaddress" => "IP Address/username",
1108 "ipbreason" => "Reason",
1109 "ipbsubmit" => "Block this user",
1110 "badipaddress" => "No user exists by that name",
1111 "noblockreason" => "You must supply a reason for the block.",
1112 "blockipsuccesssub" => "Block succeeded",
1113 "blockipsuccesstext" => "\"$1\" has been blocked.
1114 <br>See [[Special:Ipblocklist|IP block list]] to review blocks.",
1115 "unblockip" => "Unblock user",
1116 "unblockiptext" => "Use the form below to restore write access
1117 to a previously blocked IP address or username.",
1118 "ipusubmit" => "Unblock this address",
1119 "ipusuccess" => "\"$1\" unblocked",
1120 "ipblocklist" => "List of blocked IP addresses and usernames",
1121 "blocklistline" => "$1, $2 blocked $3",
1122 "blocklink" => "block",
1123 "unblocklink" => "unblock",
1124 "contribslink" => "contribs",
1125 "autoblocker" => "Autoblocked because you share an IP address with \"$1\". Reason \"$2\".",
1126
1127 # Developer tools
1128 #
1129 "lockdb" => "Lock database",
1130 "unlockdb" => "Unlock database",
1131 "lockdbtext" => "Locking the database will suspend the ability of all
1132 users to edit pages, change their preferences, edit their watchlists, and
1133 other things requiring changes in the database.
1134 Please confirm that this is what you intend to do, and that you will
1135 unlock the database when your maintenance is done.",
1136 "unlockdbtext" => "Unlocking the database will restore the ability of all
1137 users to edit pages, change their preferences, edit their watchlists, and
1138 other things requiring changes in the database.
1139 Please confirm that this is what you intend to do.",
1140 "lockconfirm" => "Yes, I really want to lock the database.",
1141 "unlockconfirm" => "Yes, I really want to unlock the database.",
1142 "lockbtn" => "Lock database",
1143 "unlockbtn" => "Unlock database",
1144 "locknoconfirm" => "You did not check the confirmation box.",
1145 "lockdbsuccesssub" => "Database lock succeeded",
1146 "unlockdbsuccesssub" => "Database lock removed",
1147 "lockdbsuccesstext" => "The Wikipedia database has been locked.
1148 <br>Remember to remove the lock after your maintenance is complete.",
1149 "unlockdbsuccesstext" => "The Wikipedia database has been unlocked.",
1150
1151 # SQL query
1152 #
1153 "asksql" => "SQL query",
1154 "asksqltext" => "Use the form below to make a direct query of the
1155 Wikipedia database.
1156 Use single quotes ('like this') to delimit string literals.
1157 This can often add considerable load to the server, so please use
1158 this function sparingly.",
1159 "sqlislogged" => "Please note that all queries are logged.",
1160 "sqlquery" => "Enter query",
1161 "querybtn" => "Submit query",
1162 "selectonly" => "Queries other than \"SELECT\" are restricted to
1163 Wikipedia developers.",
1164 "querysuccessful" => "Query successful",
1165
1166 # Move page
1167 #
1168 "movepage" => "Move page",
1169 "movepagetext" => "Using the form below will rename a page, moving all
1170 of its history to the new name.
1171 The old title will become a redirect page to the new title.
1172 Links to the old page title will not be changed; be sure to
1173 [[Special:Maintenance|check]] for double or broken redirects.
1174 You are responsible for making sure that links continue to
1175 point where they are supposed to go.
1176
1177 Note that the page will '''not''' be moved if there is already
1178 a page at the new title, unless it is empty or a redirect and has no
1179 past edit history. This means that you can rename a page back to where
1180 it was just renamed from if you make a mistake, and you cannot overwrite
1181 an existing page.
1182
1183 <b>WARNING!</b>
1184 This can be a drastic and unexpected change for a popular page;
1185 please be sure you understand the consequences of this before
1186 proceeding.",
1187 "movepagetalktext" => "The associated talk page, if any, will be automatically moved along with it '''unless:'''
1188 *You are moving the page across namespaces,
1189 *A non-empty talk page already exists under the new name, or
1190 *You uncheck the box below.
1191
1192 In those cases, you will have to move or merge the page manually if desired.",
1193 "movearticle" => "Move page",
1194 "movenologin" => "Not logged in",
1195 "movenologintext" => "You must be a registered user and <a href=\"" .
1196 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
1197 to move a page.",
1198 "newtitle" => "To new title",
1199 "movepagebtn" => "Move page",
1200 "pagemovedsub" => "Move succeeded",
1201 "pagemovedtext" => "Page \"[[$1]]\" moved to \"[[$2]]\".",
1202 "articleexists" => "A page of that name already exists, or the
1203 name you have chosen is not valid.
1204 Please choose another name.",
1205 "talkexists" => "The page itself was moved successfully, but the
1206 talk page could not be moved because one already exists at the new
1207 title. Please merge them manually.",
1208 "movedto" => "moved to",
1209 "movetalk" => "Move \"talk\" page as well, if applicable.",
1210 "talkpagemoved" => "The corresponding talk page was also moved.",
1211 "talkpagenotmoved" => "The corresponding talk page was <strong>not</strong> moved.",
1212
1213 );
1214
1215 #--------------------------------------------------------------------------
1216 # Internationalisation code
1217 #--------------------------------------------------------------------------
1218
1219 class Language {
1220
1221 function getDefaultUserOptions () {
1222 global $wgDefaultUserOptionsEn ;
1223 return $wgDefaultUserOptionsEn ;
1224 }
1225
1226 function getBookstoreList () {
1227 global $wgBookstoreListEn ;
1228 return $wgBookstoreListEn ;
1229 }
1230
1231 function getNamespaces() {
1232 global $wgNamespaceNamesEn;
1233 return $wgNamespaceNamesEn;
1234 }
1235
1236 function getNsText( $index ) {
1237 global $wgNamespaceNamesEn;
1238 return $wgNamespaceNamesEn[$index];
1239 }
1240
1241 function getNsIndex( $text ) {
1242 global $wgNamespaceNamesEn;
1243
1244 foreach ( $wgNamespaceNamesEn as $i => $n ) {
1245 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
1246 }
1247 return false;
1248 }
1249
1250 function specialPage( $name ) {
1251 return $this->getNsText( Namespace::getSpecial() ) . ":" . $name;
1252 }
1253
1254 function getQuickbarSettings() {
1255 global $wgQuickbarSettingsEn;
1256 return $wgQuickbarSettingsEn;
1257 }
1258
1259 function getSkinNames() {
1260 global $wgSkinNamesEn;
1261 return $wgSkinNamesEn;
1262 }
1263
1264 function getMathNames() {
1265 global $wgMathNamesEn;
1266 return $wgMathNamesEn;
1267 }
1268
1269 function getDateFormats() {
1270 global $wgDateFormatsEn;
1271 return $wgDateFormatsEn;
1272 }
1273
1274 function getUserToggles() {
1275 global $wgUserTogglesEn;
1276 return $wgUserTogglesEn;
1277 }
1278
1279 function getLanguageNames() {
1280 global $wgLanguageNamesEn;
1281 return $wgLanguageNamesEn;
1282 }
1283
1284 function getLanguageName( $code ) {
1285 global $wgLanguageNamesEn;
1286 if ( ! array_key_exists( $code, $wgLanguageNamesEn ) ) {
1287 return "";
1288 }
1289 return $wgLanguageNamesEn[$code];
1290 }
1291
1292 function getMonthName( $key )
1293 {
1294 global $wgMonthNamesEn;
1295 return $wgMonthNamesEn[$key-1];
1296 }
1297
1298 /* by default we just return base form */
1299 function getMonthNameGen( $key )
1300 {
1301 global $wgMonthNamesEn;
1302 return $wgMonthNamesEn[$key-1];
1303 }
1304
1305 function getMonthRegex()
1306 {
1307 global $wgMonthNamesEn;
1308 return implode( "|", $wgMonthNamesEn );
1309 }
1310
1311 function getMonthAbbreviation( $key )
1312 {
1313 global $wgMonthAbbreviationsEn;
1314 return $wgMonthAbbreviationsEn[$key-1];
1315 }
1316
1317 function getWeekdayName( $key )
1318 {
1319 global $wgWeekdayNamesEn;
1320 return $wgWeekdayNamesEn[$key-1];
1321 }
1322
1323 function userAdjust( $ts )
1324 {
1325 global $wgUser, $wgLocalTZoffset;
1326
1327 $diff = $wgUser->getOption( "timecorrection" );
1328 if ( ! is_numeric( $diff ) ) {
1329 $diff = isset( $wgLocalTZoffset ) ? $wgLocalTZoffset : 0;
1330 }
1331 if ( 0 == $diff ) { return $ts; }
1332
1333 $t = mktime( ( (int)substr( $ts, 8, 2) ) + $diff,
1334 (int)substr( $ts, 10, 2 ), (int)substr( $ts, 12, 2 ),
1335 (int)substr( $ts, 4, 2 ), (int)substr( $ts, 6, 2 ),
1336 (int)substr( $ts, 0, 4 ) );
1337 return date( "YmdHis", $t );
1338 }
1339
1340 function date( $ts, $adj = false )
1341 {
1342 global $wgAmericanDates, $wgUser, $wgUseDynamicDates;
1343
1344 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1345
1346 if ( $wgUseDynamicDates ) {
1347 $datePreference = $wgUser->getOption( 'date' );
1348 if ( $datePreference == 0 ) {
1349 $datePreference = $wgAmericanDates ? 1 : 2;
1350 }
1351 } else {
1352 $datePreference = $wgAmericanDates ? 1 : 2;
1353 }
1354
1355 if ( $datePreference == 1 ) {
1356 # MDY
1357 $d = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
1358 " " . (0 + substr( $ts, 6, 2 )) . ", " .
1359 substr( $ts, 0, 4 );
1360 } else if ( $datePreference == 2 ) {
1361 #DMY
1362 $d = (0 + substr( $ts, 6, 2 )) . " " .
1363 $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) . " " .
1364 substr( $ts, 0, 4 );
1365 } else {
1366 #YMD
1367 $d = substr( $ts, 0, 4 ) . " " . $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
1368 " " . (0 + substr( $ts, 6, 2 ));
1369 }
1370
1371 return $d;
1372 }
1373
1374 function time( $ts, $adj = false )
1375 {
1376 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1377
1378 $t = substr( $ts, 8, 2 ) . ":" . substr( $ts, 10, 2 );
1379 return $t;
1380 }
1381
1382 function timeanddate( $ts, $adj = false )
1383 {
1384 return $this->time( $ts, $adj ) . ", " . $this->date( $ts, $adj );
1385 }
1386
1387 function rfc1123( $ts )
1388 {
1389 return date( "D, d M Y H:i:s T", $ts );
1390 }
1391
1392 function getValidSpecialPages()
1393 {
1394 global $wgValidSpecialPagesEn;
1395 return $wgValidSpecialPagesEn;
1396 }
1397
1398 function getSysopSpecialPages()
1399 {
1400 global $wgSysopSpecialPagesEn;
1401 return $wgSysopSpecialPagesEn;
1402 }
1403
1404 function getDeveloperSpecialPages()
1405 {
1406 global $wgDeveloperSpecialPagesEn;
1407 return $wgDeveloperSpecialPagesEn;
1408 }
1409
1410 function getMessage( $key )
1411 {
1412 global $wgAllMessagesEn;
1413 return $wgAllMessagesEn[$key];
1414 }
1415
1416 function iconv( $in, $out, $string ) {
1417 # For most languages, this is a wrapper for iconv
1418 return iconv( $in, $out, $string );
1419 }
1420
1421 function ucfirst( $string ) {
1422 # For most languages, this is a wrapper for ucfirst()
1423 return ucfirst( $string );
1424 }
1425
1426 function checkTitleEncoding( $s ) {
1427 global $wgInputEncoding;
1428
1429 # Check for UTF-8 URLs; Internet Explorer produces these if you
1430 # type non-ASCII chars in the URL bar or follow unescaped links.
1431 $ishigh = preg_match( '/[\x80-\xff]/', $s);
1432 $isutf = ($ishigh ? preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|' .
1433 '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s ) : true );
1434
1435 if( ($wgInputEncoding != "utf-8") and $ishigh and $isutf )
1436 return iconv( "UTF-8", $wgInputEncoding, $s );
1437
1438 if( ($wgInputEncoding == "utf-8") and $ishigh and !$isutf )
1439 return utf8_encode( $s );
1440
1441 # Other languages can safely leave this function, or replace
1442 # it with one to detect and convert another legacy encoding.
1443 return $s;
1444 }
1445
1446 function stripForSearch( $in ) {
1447 # Some languages have special punctuation to strip out
1448 # or characters which need to be converted for MySQL's
1449 # indexing to grok it correctly. Make such changes here.
1450 return $in;
1451 }
1452
1453
1454 function setAltEncoding() {
1455 # Some languages may have an alternate char encoding option
1456 # (Esperanto X-coding, Japanese furigana conversion, etc)
1457 # If 'altencoding' is checked in user prefs, this gives a
1458 # chance to swap out the default encoding settings.
1459 #global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1460 }
1461
1462 function recodeForEdit( $s ) {
1463 # For some languages we'll want to explicitly specify
1464 # which characters make it into the edit box raw
1465 # or are converted in some way or another.
1466 # Note that if wgOutputEncoding is different from
1467 # wgInputEncoding, this text will be further converted
1468 # to wgOutputEncoding.
1469 global $wgInputEncoding, $wgEditEncoding;
1470 if( $wgEditEncoding == "" or
1471 $wgEditEncoding == $wgInputEncoding ) {
1472 return $s;
1473 } else {
1474 return $this->iconv( $wgInputEncoding, $wgEditEncoding, $s );
1475 }
1476 }
1477
1478 function recodeInput( $s ) {
1479 # Take the previous into account.
1480 global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1481 if($wgEditEncoding != "") {
1482 $enc = $wgEditEncoding;
1483 } else {
1484 $enc = $wgOutputEncoding;
1485 }
1486 if( $enc == $wgInputEncoding ) {
1487 return $s;
1488 } else {
1489 return $this->iconv( $enc, $wgInputEncoding, $s );
1490 }
1491 }
1492
1493 function replaceDates( $text )
1494 {
1495 global $wgUser, $wgInputEncoding, $wgUseDynamicDates;
1496
1497 # Feature can be disabled
1498 if ( !$wgUseDynamicDates ) {
1499 return;
1500 }
1501
1502 # Setup
1503
1504 $datePreference = $wgUser->getOption( 'date' );
1505
1506 static $monthNames = "", $rxDM, $rxMD, $rxY, $rxDMY, $rxYDM, $rxMDY, $rxYMD;
1507 if ( $monthNames == "" ) {
1508 $monthNames = $this->getMonthRegex();
1509
1510 # Attempt at UTF-8 support, untested at the moment
1511 if ( $wgInputEncoding == 'UTF-8' ) {
1512 $regexTrail = '(?![a-z])/iu';
1513 } else {
1514 $regexTrail = '(?![a-z])/i';
1515 }
1516
1517 # Partial regular expressions
1518 $prxDM = '\[\[(\d{1,2})[ _](' . $monthNames . ')]]';
1519 $prxMD = '\[\[(' . $monthNames . ')[ _](\d{1,2})]]';
1520 $prxY = '\[\[(\d{1,4}([ _]BC|))]]';
1521
1522 # Real regular expressions
1523 $rxDMY = "/{$prxDM} *,? *{$prxY}{$regexTrail}";
1524 $rxYDM = "/{$prxY} *,? *{$prxDM}{$regexTrail}";
1525 $rxMDY = "/{$prxMD} *,? *{$prxY}{$regexTrail}";
1526 $rxYMD = "/{$prxY} *,? *{$prxMD}{$regexTrail}";
1527 $rxDM = "/{$prxDM}{$regexTrail}";
1528 $rxMD = "/{$prxMD}{$regexTrail}";
1529 $rxY = "/{$prxY}{$regexTrail}";
1530 }
1531
1532 # Do replacements
1533 # TODO: month capitalisation?
1534 if ( $datePreference == 0 ) {
1535 # no preference
1536 $text = preg_replace( $rxDMY, '[[$2 $1|$1 $2]] [[$3]]', $text);
1537 $text = preg_replace( $rxYDM, '[[$1]] [[$4 $3]]', $text);
1538 $text = preg_replace( $rxMDY, '[[$1 $2]], [[$3]]', $text);
1539 $text = preg_replace( $rxYMD, '[[$1]] [[$3 $4]]', $text);
1540 $text = preg_replace ( $rxDM, '[[$2 $1|$1 $2]]', $text);
1541 } else if ( $datePreference == 1 ) {
1542 # MDY preferred
1543 $text = preg_replace( $rxDMY, '[[$2 $1]], [[$3]]', $text);
1544 $text = preg_replace( $rxYDM, '[[$4 $3]], [[$1]]', $text);
1545 $text = preg_replace( $rxMDY, '[[$1 $2]], [[$3]]', $text);
1546 $text = preg_replace( $rxYMD, '[[$3 $4]], [[$1]]', $text);
1547 $text = preg_replace ( $rxDM, '[[$2 $1]]', $text);
1548 } else if ( $datePreference == 2 ) {
1549 # DMY preferred
1550 $text = preg_replace( $rxDMY, '[[$2 $1|$1 $2]] [[$3]]', $text);
1551 $text = preg_replace( $rxYDM, '[[$4 $3|$3 $4]] [[$1]]', $text);
1552 $text = preg_replace( $rxMDY, '[[$1 $2|$2 $1]] [[$3]]', $text);
1553 $text = preg_replace( $rxYMD, '[[$3 $4|$4 $3]] [[$1]]', $text);
1554 $text = preg_replace ( $rxDM, '[[$2 $1|$1 $2]]', $text);
1555 $text = preg_replace ( $rxMD, '[[$1 $2|$2 $1]]', $text);
1556 } else if ( $datePreference == 3 ) {
1557 # YMD preferred
1558 $text = preg_replace( $rxDMY, '[[$3]] [[$2 $1]]', $text);
1559 $text = preg_replace( $rxYDM, '[[$1]] [[$4 $3]]', $text);
1560 $text = preg_replace( $rxMDY, '[[$3]] [[$1 $2]]', $text);
1561 $text = preg_replace( $rxYMD, '[[$1]] [[$3 $4]]', $text);
1562 $text = preg_replace ( $rxDM, '[[$2 $1]]', $text);
1563 }
1564 return $text;
1565 }
1566
1567 # For right-to-left language support
1568 function isRTL() { return false; }
1569
1570 function getMagicWords()
1571 {
1572 global $wgMagicWordsEn;
1573 return $wgMagicWordsEn;
1574 }
1575
1576 # Fill a MagicWord object with data from here
1577 function getMagic( &$mw )
1578 {
1579 $raw = $this->getMagicWords(); # don't worry, it's reference counted not deep copy
1580 $rawEntry = $raw[$mw->mId];
1581 $mw->mCaseSensitive = $rawEntry[0];
1582 $mw->mSynonyms = array_slice( $rawEntry, 1 );
1583 }
1584 }
1585
1586 global $IP;
1587 @include_once( "{$IP}/Language" . ucfirst( $wgLanguageCode ) . ".php" );
1588
1589 ?>