table markup with header
[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 "Export" => ""
328 );
329
330 /* private */ $wgSysopSpecialPagesEn = array(
331 "Blockip" => "Block an IP address",
332 "Asksql" => "Query the database",
333 "Undelete" => "Restore deleted pages"
334 );
335
336 /* private */ $wgDeveloperSpecialPagesEn = array(
337 "Lockdb" => "Make database read-only",
338 "Unlockdb" => "Restore DB write access",
339 "Debug" => "Debugging information"
340 );
341
342 /* private */ $wgAllMessagesEn = array(
343
344 # Bits of text used by many pages:
345 #
346 "categories" => "Page categories",
347 "category" => "category",
348 "category_header" => "Articles in category \"$1\"",
349 "subcategories" => "Subcategories",
350
351 "linktrail" => "/^([a-z]+)(.*)\$/sD",
352 "mainpage" => "Main Page",
353 "mainpagetext" => "Wiki software successfully installed.",
354 "about" => "About",
355 "aboutwikipedia" => "About Wikipedia",
356 "aboutpage" => "Wikipedia:About",
357 "help" => "Help",
358 "helppage" => "Wikipedia:Help",
359 "wikititlesuffix" => "Wikipedia",
360 "bugreports" => "Bug reports",
361 "bugreportspage" => "Wikipedia:Bug_reports",
362 "faq" => "FAQ",
363 "faqpage" => "Wikipedia:FAQ",
364 "edithelp" => "Editing help",
365 "edithelppage" => "Wikipedia:How_does_one_edit_a_page",
366 "cancel" => "Cancel",
367 "qbfind" => "Find",
368 "qbbrowse" => "Browse",
369 "qbedit" => "Edit",
370 "qbpageoptions" => "Page options",
371 "qbpageinfo" => "Page info",
372 "qbmyoptions" => "My options",
373 "mypage" => "My page",
374 "mytalk" => "My talk",
375 "currentevents" => "Current events",
376 "errorpagetitle" => "Error",
377 "returnto" => "Return to $1.",
378 "fromwikipedia" => "From Wikipedia, the free encyclopedia.",
379 "whatlinkshere" => "Pages that link here",
380 "help" => "Help",
381 "search" => "Search",
382 "go" => "Go",
383 "history" => "Page history",
384 "printableversion" => "Printable version",
385 "editthispage" => "Edit this page",
386 "deletethispage" => "Delete this page",
387 "protectthispage" => "Protect this page",
388 "unprotectthispage" => "Unprotect this page",
389 "newpage" => "New page",
390 "talkpage" => "Discuss this page",
391 "postcomment" => "Post a comment",
392 "articlepage" => "View article",
393 "subjectpage" => "View subject", # For compatibility
394 "userpage" => "View user page",
395 "wikipediapage" => "View meta page",
396 "imagepage" => "View image page",
397 "viewtalkpage" => "View discussion",
398 "otherlanguages" => "Other languages",
399 "redirectedfrom" => "(Redirected from $1)",
400 "lastmodified" => "This page was last modified $1.",
401 "viewcount" => "This page has been accessed $1 times.",
402 "gnunote" => "All text is available under the terms of the <a class=internal href='/wiki/GNU_FDL'>GNU Free Documentation License</a>.",
403 "printsubtitle" => "(From http://www.wikipedia.org)",
404 "protectedpage" => "Protected page",
405 "administrators" => "Wikipedia:Administrators",
406 "sysoptitle" => "Sysop access required",
407 "sysoptext" => "The action you have requested can only be
408 performed by users with \"sysop\" status.
409 See $1.",
410 "developertitle" => "Developer access required",
411 "developertext" => "The action you have requested can only be
412 performed by users with \"developer\" status.
413 See $1.",
414 "nbytes" => "$1 bytes",
415 "go" => "Go",
416 "ok" => "OK",
417 "sitetitle" => "Wikipedia",
418 "sitesubtitle" => "The Free Encyclopedia",
419 "retrievedfrom" => "Retrieved from \"$1\"",
420 "newmessages" => "You have $1.",
421 "newmessageslink" => "new messages",
422 "editsection"=>"edit",
423 "toc" => "Table of contents",
424 "showtoc" => "show",
425 "hidetoc" => "hide",
426 "thisisdeleted" => "View or restore $1?",
427 "restorelink" => "$1 deleted edits",
428
429 # Main script and global functions
430 #
431 "nosuchaction" => "No such action",
432 "nosuchactiontext" => "The action specified by the URL is not
433 recognized by the Wikipedia software",
434 "nosuchspecialpage" => "No such special page",
435 "nospecialpagetext" => "You have requested a special page that is not
436 recognized by the Wikipedia software.",
437
438 # General errors
439 #
440 "error" => "Error",
441 "databaseerror" => "Database error",
442 "dberrortext" => "A database query syntax error has occurred.
443 This could be because of an illegal search query (see $5),
444 or it may indicate a bug in the software.
445 The last attempted database query was:
446 <blockquote><tt>$1</tt></blockquote>
447 from within function \"<tt>$2</tt>\".
448 MySQL returned error \"<tt>$3: $4</tt>\".",
449 "dberrortextcl" => "A database query syntax error has occurred.
450 The last attempted database query was:
451 \"$1\"
452 from within function \"$2\".
453 MySQL returned error \"$3: $4\".\n",
454 "noconnect" => "Sorry! The wiki is experiencing some technical difficulties, and cannot contact the database server.",
455 "nodb" => "Could not select database $1",
456 "cachederror" => "The following is a cached copy of the requested page, and may not be up to date.",
457 "readonly" => "Database locked",
458 "enterlockreason" => "Enter a reason for the lock, including an estimate
459 of when the lock will be released",
460 "readonlytext" => "The Wikipedia database is currently locked to new
461 entries and other modifications, probably for routine database maintenance,
462 after which it will be back to normal.
463 The administrator who locked it offered this explanation:
464 <p>$1",
465 "missingarticle" => "The database did not find the text of a page
466 that it should have found, named \"$1\".
467
468 <p>This is usually caused by following an outdated diff or history link to a
469 page that has been deleted.
470
471 <p>If this is not the case, you may have found a bug in the software.
472 Please report this to an administrator, making note of the URL.",
473 "internalerror" => "Internal error",
474 "filecopyerror" => "Could not copy file \"$1\" to \"$2\".",
475 "filerenameerror" => "Could not rename file \"$1\" to \"$2\".",
476 "filedeleteerror" => "Could not delete file \"$1\".",
477 "filenotfound" => "Could not find file \"$1\".",
478 "unexpected" => "Unexpected value: \"$1\"=\"$2\".",
479 "formerror" => "Error: could not submit form",
480 "badarticleerror" => "This action cannot be performed on this page.",
481 "cannotdelete" => "Could not delete the page or image specified. (It may have already been deleted by someone else.)",
482 "badtitle" => "Bad title",
483 "badtitletext" => "The requested page title was invalid, empty, or
484 an incorrectly linked inter-language or inter-wiki title.",
485 "perfdisabled" => "Sorry! This feature has been temporarily disabled
486 because it slows the database down to the point that no one can use
487 the wiki.",
488 "perfdisabledsub" => "Here's a saved copy from $1:",
489
490 # Login and logout pages
491 #
492 "logouttitle" => "User logout",
493 "logouttext" => "You are now logged out.
494 You can continue to use Wikipedia anonymously, or you can log in
495 again as the same or as a different user. Note that some pages may
496 continue to be displayed as if you were still logged in, until you clear
497 your browser cache\n",
498
499 "welcomecreation" => "<h2>Welcome, $1!</h2><p>Your account has been created.
500 Don't forget to personalize your wikipedia preferences.",
501
502 "loginpagetitle" => "User login",
503 "yourname" => "Your user name",
504 "yourpassword" => "Your password",
505 "yourpasswordagain" => "Retype password",
506 "newusersonly" => " (new users only)",
507 "remembermypassword" => "Remember my password across sessions.",
508 "loginproblem" => "<b>There has been a problem with your login.</b><br>Try again!",
509 "alreadyloggedin" => "<font color=red><b>User $1, you are already logged in!</b></font><br>\n",
510
511 "areyounew" => "If you are new to Wikipedia and want to get a user account,
512 enter a user name, then type and re-type a password.
513 Your e-mail address is optional; if you lose your password you can request
514 that it be to the address you give.<br>\n",
515
516 "login" => "Log in",
517 "userlogin" => "Log in",
518 "logout" => "Log out",
519 "userlogout" => "Log out",
520 "notloggedin" => "Not logged in",
521 "createaccount" => "Create new account",
522 "createaccountmail" => "by eMail",
523 "badretype" => "The passwords you entered do not match.",
524 "userexists" => "The user name you entered is already in use. Please choose a different name.",
525 "youremail" => "Your e-mail*",
526 "yournick" => "Your nickname (for signatures)",
527 "emailforlost" => "* Entering an email address is optional. But it enables people to
528 contact you through the website without you having to reveal your
529 email address to them, and it also helps you if you forget your
530 password.",
531 "loginerror" => "Login error",
532 "noname" => "You have not specified a valid user name.",
533 "loginsuccesstitle" => "Login successful",
534 "loginsuccess" => "You are now logged in to Wikipedia as \"$1\".",
535 "nosuchuser" => "There is no user by the name \"$1\".
536 Check your spelling, or use the form below to create a new user account.",
537 "wrongpassword" => "The password you entered is incorrect. Please try again.",
538 "mailmypassword" => "Mail me a new password",
539 "passwordremindertitle" => "Password reminder from Wikipedia",
540 "passwordremindertext" => "Someone (probably you, from IP address $1)
541 requested that we send you a new Wikipedia login password.
542 The password for user \"$2\" is now \"$3\".
543 You should log in and change your password now.",
544 "noemail" => "There is no e-mail address recorded for user \"$1\".",
545 "passwordsent" => "A new password has been sent to the e-mail address
546 registered for \"$1\".
547 Please log in again after you receive it.",
548
549 # Edit pages
550 #
551 "summary" => "Summary",
552 "subject" => "Subject/headline",
553 "minoredit" => "This is a minor edit",
554 "watchthis" => "Watch this article",
555 "savearticle" => "Save page",
556 "preview" => "Preview",
557 "showpreview" => "Show preview",
558 "blockedtitle" => "User is blocked",
559 "blockedtext" => "Your user name or IP address has been blocked by $1.
560 The reason given is this:<br>''$2''<p>You may contact $1 or one of the other
561 [[Wikipedia:administrators|administrators]] to discuss the block.",
562 "whitelistedittitle" => "Login required to edit",
563 "whitelistedittext" => "You have to [[Special:Userlogin|login]] to edit articles.",
564 "whitelistreadtitle" => "Login required to read",
565 "whitelistreadtext" => "You have to [[Special:Userlogin|login]] to read articles.",
566 "whitelistacctitle" => "You are not allowed to create an account",
567 "whitelistacctext" => "To be allowed to create accounts in this Wiki you have to [[Special:Userlogin|log]] in and have the appropriate permissions.",
568 "accmailtitle" => "Password sent.",
569 "accmailtext" => "The Password for '$1' has been sent to $2.",
570 "newarticle" => "(New)",
571 "newarticletext" =>
572 "You've followed a link to a page that doesn't exist yet.
573 To create the page, start typing in the box below
574 (see the [[Wikipedia:Help|help page]] for more info).
575 If you are here by mistake, just click your browser's '''back''' button.",
576 "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.'' ",
577 "noarticletext" => "(There is currently no text in this page)",
578 "updated" => "(Updated)",
579 "note" => "<strong>Note:</strong> ",
580 "previewnote" => "Remember that this is only a preview, and has not yet been saved!",
581 "previewconflict" => "This preview reflects the text in the upper
582 text editing area as it will appear if you choose to save.",
583 "editing" => "Editing $1",
584 "sectionedit" => " (section)",
585 "commentedit" => " (comment)",
586 "editconflict" => "Edit conflict: $1",
587 "explainconflict" => "Someone else has changed this page since you
588 started editing it.
589 The upper text area contains the page text as it currently exists.
590 Your changes are shown in the lower text area.
591 You will have to merge your changes into the existing text.
592 <b>Only</b> the text in the upper text area will be saved when you
593 press \"Save page\".\n<p>",
594 "yourtext" => "Your text",
595 "storedversion" => "Stored version",
596 "editingold" => "<strong>WARNING: You are editing an out-of-date
597 revision of this page.
598 If you save it, any changes made since this revision will be lost.</strong>\n",
599 "yourdiff" => "Differences",
600 "copyrightwarning" => "Please note that all contributions to Wikipedia are
601 considered to be released under the GNU Free Documentation License
602 (see $1 for details).
603 If you don't want your writing to be edited mercilessly and redistributed
604 at will, then don't submit it here.<br>
605 You are also promising us that you wrote this yourself, or copied it from a
606 public domain or similar free resource.
607 <strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>",
608 "longpagewarning" => "WARNING: This page is $1 kilobytes long; some
609 browsers may have problems editing pages approaching or longer than 32kb.
610 Please consider breaking the page into smaller sections.",
611 "readonlywarning" => "WARNING: The database has been locked for maintenance,
612 so you will not be able to save your edits right now. You may wish to cut-n-paste
613 the text into a text file and save it for later.",
614 "protectedpagewarning" => "WARNING: This page has been locked so that only
615 users with sysop privileges can edit it. Be sure you are following the
616 <a href='/wiki/Wikipedia:Protected_page_guidelines'>protected page
617 guidelines</a>.",
618
619 # History pages
620 #
621 "revhistory" => "Revision history",
622 "nohistory" => "There is no edit history for this page.",
623 "revnotfound" => "Revision not found",
624 "revnotfoundtext" => "The old revision of the page you asked for could not be found.
625 Please check the URL you used to access this page.\n",
626 "loadhist" => "Loading page history",
627 "currentrev" => "Current revision",
628 "revisionasof" => "Revision as of $1",
629 "cur" => "cur",
630 "next" => "next",
631 "last" => "last",
632 "orig" => "orig",
633 "histlegend" => "Legend: (cur) = difference with current version,
634 (last) = difference with preceding version, M = minor edit",
635
636 # Diffs
637 #
638 "difference" => "(Difference between revisions)",
639 "loadingrev" => "loading revision for diff",
640 "lineno" => "Line $1:",
641 "editcurrent" => "Edit the current version of this page",
642
643 # Search results
644 #
645 "searchresults" => "Search results",
646 "searchhelppage" => "Wikipedia:Searching",
647 "searchingwikipedia" => "Searching Wikipedia",
648 "searchresulttext" => "For more information about searching Wikipedia, see $1.",
649 "searchquery" => "For query \"$1\"",
650 "badquery" => "Badly formed search query",
651 "badquerytext" => "We could not process your query.
652 This is probably because you have attempted to search for a
653 word fewer than three letters long, which is not yet supported.
654 It could also be that you have mistyped the expression, for
655 example \"fish and and scales\".
656 Please try another query.",
657 "matchtotals" => "The query \"$1\" matched $2 article titles
658 and the text of $3 articles.",
659 "nogomatch" => "No page with this exact title exists, trying full text search.",
660 "titlematches" => "Article title matches",
661 "notitlematches" => "No article title matches",
662 "textmatches" => "Article text matches",
663 "notextmatches" => "No article text matches",
664 "prevn" => "previous $1",
665 "nextn" => "next $1",
666 "viewprevnext" => "View ($1) ($2) ($3).",
667 "showingresults" => "Showing below <b>$1</b> results starting with #<b>$2</b>.",
668 "showingresultsnum" => "Showing below <b>$3</b> results starting with #<b>$2</b>.",
669 "nonefound" => "<strong>Note</strong>: unsuccessful searches are
670 often caused by searching for common words like \"have\" and \"from\",
671 which are not indexed, or by specifying more than one search term (only pages
672 containing all of the search terms will appear in the result).",
673 "powersearch" => "Search",
674 "powersearchtext" => "
675 Search in namespaces :<br>
676 $1<br>
677 $2 List redirects &nbsp; Search for $3 $9",
678 "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>
679
680 <!-- SiteSearch Google -->
681 <FORM method=GET action=\"http://www.google.com/search\">
682 <TABLE bgcolor=\"#FFFFFF\"><tr><td>
683 <A HREF=\"http://www.google.com/\">
684 <IMG SRC=\"http://www.google.com/logos/Logo_40wht.gif\"
685 border=\"0\" ALT=\"Google\"></A>
686 </td>
687 <td>
688 <INPUT TYPE=text name=q size=31 maxlength=255 value=\"\">
689 <INPUT type=submit name=btnG VALUE=\"Google Search\">
690 <font size=-1>
691 <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>
692 </font>
693 </td></tr></TABLE>
694 </FORM>
695 <!-- SiteSearch Google -->",
696 "blanknamespace" => "(Main)",
697
698 # Preferences page
699 #
700 "preferences" => "Preferences",
701 "prefsnologin" => "Not logged in",
702 "prefsnologintext" => "You must be <a href=\"" .
703 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
704 to set user preferences.",
705 "prefslogintext" => "You are logged in as \"$1\".
706 Your internal ID number is $2.
707
708 See [[Wikipedia:User preferences help]] for help deciphering the options.",
709 "prefsreset" => "Preferences have been reset from storage.",
710 "qbsettings" => "Quickbar settings",
711 "changepassword" => "Change password",
712 "skin" => "Skin",
713 "math" => "Rendering math",
714 "dateformat" => "Date format",
715 "math_failure" => "Failed to parse",
716 "math_unknown_error" => "unknown error",
717 "math_unknown_function" => "unknown function ",
718 "math_lexing_error" => "lexing error",
719 "math_syntax_error" => "syntax error",
720 "saveprefs" => "Save preferences",
721 "resetprefs" => "Reset preferences",
722 "oldpassword" => "Old password",
723 "newpassword" => "New password",
724 "retypenew" => "Retype new password",
725 "textboxsize" => "Textbox dimensions",
726 "rows" => "Rows",
727 "columns" => "Columns",
728 "searchresultshead" => "Search result settings",
729 "resultsperpage" => "Hits to show per page",
730 "contextlines" => "Lines to show per hit",
731 "contextchars" => "Characters of context per line",
732 "stubthreshold" => "Threshold for stub display",
733 "recentchangescount" => "Number of titles in recent changes",
734 "savedprefs" => "Your preferences have been saved.",
735 "timezonetext" => "Enter number of hours your local time differs
736 from server time (UTC).",
737 "localtime" => "Local time display",
738 "timezoneoffset" => "Offset",
739 "servertime" => "Server time is now",
740 "guesstimezone" => "Fill in from browser",
741 "emailflag" => "Disable e-mail from other users",
742 "defaultns" => "Search in these namespaces by default:",
743
744 # Recent changes
745 #
746 "changes" => "changes",
747 "recentchanges" => "Recent changes",
748 "recentchangestext" =>
749 "Track the most recent changes to Wikipedia on this page.
750 [[Wikipedia:Welcome,_newcomers|Welcome, newcomers]]!
751 Please have a look at these pages: [[wikipedia:FAQ|Wikipedia FAQ]],
752 [[Wikipedia:Policies and guidelines|Wikipedia policy]]
753 (especially [[wikipedia:Naming conventions|naming conventions]],
754 [[wikipedia:Neutral point of view|neutral point of view]]),
755 and [[wikipedia:Most common Wikipedia faux pas|most common Wikipedia faux pas]].
756
757 If you want to see Wikipedia succeed, it's very important that you don't add
758 material restricted by others' [[wikipedia:Copyrights|copyrights]].
759 The legal liability could really hurt the project, so please don't do it.
760 See also the [http://meta.wikipedia.org/wiki/Special:Recentchanges recent meta discussion].",
761 "rcloaderr" => "Loading recent changes",
762 "rcnote" => "Below are the last <strong>$1</strong> changes in last <strong>$2</strong> days.",
763 "rcnotefrom" => "Below are the changes since <b>$2</b> (up to <b>$1</b> shown).",
764 "rclistfrom" => "Show new changes starting from $1",
765 # "rclinks" => "Show last $1 changes in last $2 hours / last $3 days",
766 # "rclinks" => "Show last $1 changes in last $2 days.",
767 "rclinks" => "Show last $1 changes in last $2 days; $3 minor edits",
768 "rchide" => "in $4 form; $1 minor edits; $2 secondary namespaces; $3 multiple edits.",
769 "rcliu" => "; $1 edits from logged in users",
770 "diff" => "diff",
771 "hist" => "hist",
772 "hide" => "hide",
773 "show" => "show",
774 "tableform" => "table",
775 "listform" => "list",
776 "nchanges" => "$1 changes",
777 "minoreditletter" => "M",
778 "newpageletter" => "N",
779
780 # Upload
781 #
782 "upload" => "Upload file",
783 "uploadbtn" => "Upload file",
784 "uploadlink" => "Upload images",
785 "reupload" => "Re-upload",
786 "reuploaddesc" => "Return to the upload form.",
787 "uploadnologin" => "Not logged in",
788 "uploadnologintext" => "You must be <a href=\"" .
789 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
790 to upload files.",
791 "uploadfile" => "Upload images, sounds, documents etc.",
792 "uploaderror" => "Upload error",
793 "uploadtext" => "<strong>STOP!</strong> Before you upload here,
794 make sure to read and follow Wikipedia's <a href=\"" .
795 wfLocalUrlE( "Wikipedia:Image_use_policy" ) . "\">image use policy</a>.
796 <p>To view or search previously uploaded images,
797 go to the <a href=\"" . wfLocalUrlE( "Special:Imagelist" ) .
798 "\">list of uploaded images</a>.
799 Uploads and deletions are logged on the <a href=\"" .
800 wfLocalUrlE( "Wikipedia:Upload_log" ) . "\">upload log</a>.
801 <p>Use the form below to upload new image files for use in
802 illustrating your articles.
803 On most browsers, you will see a \"Browse...\" button, which will
804 bring up your operating system's standard file open dialog.
805 Choosing a file will fill the name of that file into the text
806 field next to the button.
807 You must also check the box affirming that you are not
808 violating any copyrights by uploading the file.
809 Press the \"Upload\" button to finish the upload.
810 This may take some time if you have a slow internet connection.
811 <p>The preferred formats are JPEG for photographic images, PNG
812 for drawings and other iconic images, and OGG for sounds.
813 Please name your files descriptively to avoid confusion.
814 To include the image in an article, use a link in the form
815 <b>[[image:file.jpg]]</b> or <b>[[image:file.png|alt text]]</b>
816 or <b>[[media:file.ogg]]</b> for sounds.
817 <p>Please note that as with Wikipedia pages, others may edit or
818 delete your uploads if they think it serves the encyclopedia, and
819 you may be blocked from uploading if you abuse the system.",
820 "uploadlog" => "upload log",
821 "uploadlogpage" => "Upload_log",
822 "uploadlogpagetext" => "Below is a list of the most recent file uploads.
823 All times shown are server time (UTC).
824 <ul>
825 </ul>
826 ",
827 "filename" => "Filename",
828 "filedesc" => "Summary",
829 "affirmation" => "I affirm that the copyright holder of this file
830 agrees to license it under the terms of the $1.",
831 "copyrightpage" => "Wikipedia:Copyrights",
832 "copyrightpagename" => "Wikipedia copyright",
833 "uploadedfiles" => "Uploaded files",
834 "noaffirmation" => "You must affirm that your upload does not violate
835 any copyrights.",
836 "ignorewarning" => "Ignore warning and save file anyway.",
837 "minlength" => "Image names must be at least three letters.",
838 "badfilename" => "Image name has been changed to \"$1\".",
839 "badfiletype" => "\".$1\" is not a recommended image file format.",
840 "largefile" => "It is recommended that images not exceed 100k in size.",
841 "successfulupload" => "Successful upload",
842 "fileuploaded" => "File \"$1\" uploaded successfully.
843 Please follow this link: ($2) to the description page and fill
844 in information about the file, such as where it came from, when it was
845 created and by whom, and anything else you may know about it.",
846 "uploadwarning" => "Upload warning",
847 "savefile" => "Save file",
848 "uploadedimage" => "uploaded \"$1\"",
849
850 # Image list
851 #
852 "imagelist" => "Image list",
853 "imagelisttext" => "Below is a list of $1 images sorted $2.",
854 "getimagelist" => "fetching image list",
855 "ilshowmatch" => "Show all images with names matching",
856 "ilsubmit" => "Search",
857 "showlast" => "Show last $1 images sorted $2.",
858 "all" => "all",
859 "byname" => "by name",
860 "bydate" => "by date",
861 "bysize" => "by size",
862 "imgdelete" => "del",
863 "imgdesc" => "desc",
864 "imglegend" => "Legend: (desc) = show/edit image description.",
865 "imghistory" => "Image history",
866 "revertimg" => "rev",
867 "deleteimg" => "del",
868 "imghistlegend" => "Legend: (cur) = this is the current image, (del) = delete
869 this old version, (rev) = revert to this old version.
870 <br><i>Click on date to see image uploaded on that date</i>.",
871 "imagelinks" => "Image links",
872 "linkstoimage" => "The following pages link to this image:",
873 "nolinkstoimage" => "There are no pages that link to this image.",
874
875 # Statistics
876 #
877 "statistics" => "Statistics",
878 "sitestats" => "Site statistics",
879 "userstats" => "User statistics",
880 "sitestatstext" => "There are <b>$1</b> total pages in the database.
881 This includes \"talk\" pages, pages about Wikipedia, minimal \"stub\"
882 pages, redirects, and others that probably don't qualify as articles.
883 Excluding those, there are <b>$2</b> pages that are probably legitimate
884 articles.<p>
885 There have been a total of <b>$3</b> page views, and <b>$4</b> page edits
886 since the software was upgraded (July 20, 2002).
887 That comes to <b>$5</b> average edits per page, and <b>$6</b> views per edit.",
888 "userstatstext" => "There are <b>$1</b> registered users.
889 <b>$2</b> of these are administrators (see $3).",
890
891 # Maintenance Page
892 #
893 "maintenance" => "Maintenance page",
894 "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 ;-)",
895 "maintenancebacklink" => "Back to Maintenance Page",
896 "disambiguations" => "Disambiguation pages",
897 "disambiguationspage" => "Wikipedia:Links_to_disambiguating_pages",
898 "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.",
899 "doubleredirects" => "Double Redirects",
900 "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.",
901 "brokenredirects" => "Broken Redirects",
902 "brokenredirectstext" => "The following redirects link to a non-existing article.",
903 "selflinks" => "Pages with Self Links",
904 "selflinkstext" => "The following pages contain a link to themselves, which they should not.",
905 "mispeelings" => "Pages with misspellings",
906 "mispeelingstext" => "The following pages contain a common misspelling, which are listed on $1. The correct spelling might be given (like this).",
907 "mispeelingspage" => "List of common misspellings",
908 "missinglanguagelinks" => "Missing Language Links",
909 "missinglanguagelinksbutton" => "Find missing language links for",
910 "missinglanguagelinkstext" => "These articles do <i>not</i> link to their counterpart in $1. Redirects and subpages are <i>not</i> shown.",
911
912
913 # Miscellaneous special pages
914 #
915 "orphans" => "Orphaned pages",
916 "lonelypages" => "Orphaned pages",
917 "unusedimages" => "Unused images",
918 "popularpages" => "Popular pages",
919 "nviews" => "$1 views",
920 "wantedpages" => "Wanted pages",
921 "nlinks" => "$1 links",
922 "allpages" => "All pages",
923 "randompage" => "Random page",
924 "shortpages" => "Short pages",
925 "longpages" => "Long pages",
926 "listusers" => "User list",
927 "specialpages" => "Special pages",
928 "spheading" => "Special pages for all users",
929 "sysopspheading" => "For sysop use only",
930 "developerspheading" => "For developer use only",
931 "protectpage" => "Protect page",
932 "recentchangeslinked" => "Related changes",
933 "rclsub" => "(to pages linked from \"$1\")",
934 "debug" => "Debug",
935 "newpages" => "New pages",
936 "ancientpages" => "Oldest articles",
937 "intl" => "Interlanguage links",
938 "movethispage" => "Move this page",
939 "unusedimagestext" => "<p>Please note that other web sites
940 such as the international Wikipedias may link to an image with
941 a direct URL, and so may still be listed here despite being
942 in active use.",
943 "booksources" => "Book sources",
944 "booksourcetext" => "Below is a list of links to other sites that
945 sell new and used books, and may also have further information
946 about books you are looking for.
947 Wikipedia is not affiliated with any of these businesses, and
948 this list should not be construed as an endorsement.",
949 "alphaindexline" => "$1 to $2",
950
951 # Email this user
952 #
953 "mailnologin" => "No send address",
954 "mailnologintext" => "You must be <a href=\"" .
955 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
956 and have a valid e-mail address in your <a href=\"" .
957 wfLocalUrl( "Special:Preferences" ) . "\">preferences</a>
958 to send e-mail to other users.",
959 "emailuser" => "E-mail this user",
960 "emailpage" => "E-mail user",
961 "emailpagetext" => "If this user has entered a valid e-mail address in
962 his or her user preferences, the form below will send a single message.
963 The e-mail address you entered in your user preferences will appear
964 as the \"From\" address of the mail, so the recipient will be able
965 to reply.",
966 "noemailtitle" => "No e-mail address",
967 "noemailtext" => "This user has not specified a valid e-mail address,
968 or has chosen not to receive e-mail from other users.",
969 "emailfrom" => "From",
970 "emailto" => "To",
971 "emailsubject" => "Subject",
972 "emailmessage" => "Message",
973 "emailsend" => "Send",
974 "emailsent" => "E-mail sent",
975 "emailsenttext" => "Your e-mail message has been sent.",
976
977 # Watchlist
978 #
979 "watchlist" => "My watchlist",
980 "watchlistsub" => "(for user \"$1\")",
981 "nowatchlist" => "You have no items on your watchlist.",
982 "watchnologin" => "Not logged in",
983 "watchnologintext" => "You must be <a href=\"" .
984 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
985 to modify your watchlist.",
986 "addedwatch" => "Added to watchlist",
987 "addedwatchtext" => "The page \"$1\" has been added to your <a href=\"" .
988 wfLocalUrl( "Special:Watchlist" ) . "\">watchlist</a>.
989 Future changes to this page and its associated Talk page will be listed there,
990 and the page will appear <b>bolded</b> in the <a href=\"" .
991 wfLocalUrl( "Special:Recentchanges" ) . "\">list of recent changes</a> to
992 make it easier to pick out.</p>
993
994 <p>If you want to remove the page from your watchlist later, click \"Stop watching\" in the sidebar.",
995 "removedwatch" => "Removed from watchlist",
996 "removedwatchtext" => "The page \"$1\" has been removed from your watchlist.",
997 "watchthispage" => "Watch this page",
998 "unwatchthispage" => "Stop watching",
999 "notanarticle" => "Not an article",
1000 "watchnochange" => "None of your watched items were edited in the time period displayed.",
1001 "watchdetails" => "($1 pages watched not counting talk pages;
1002 $2 total pages edited since cutoff;
1003 $3...
1004 <a href='$4'>show and edit complete list</a>.)",
1005 "watchmethod-recent" => "checking recent edits for watched pages",
1006 "watchmethod-list" => "checking watched pages for recent edits",
1007 "removechecked" => "Remove checked items from watchlist",
1008 "watchlistcontains" => "Your watchlist contains $1 pages.",
1009 "watcheditlist" => "Here's an alphabetical list of your
1010 watched pages. Check the boxes of pages you want to remove
1011 from your watchlist and click the 'remove checked' button
1012 at the bottom of the screen.",
1013 "removingchecked" => "Removing requested items from watchlist...",
1014 "couldntremove" => "Couldn't remove item '$1'...",
1015 "iteminvalidname" => "Problem with item '$1', invalid name...",
1016 "wlnote" => "Below are the last $1 changes in the last <b>$2</b> hours.",
1017
1018
1019 # Delete/protect/revert
1020 #
1021 "deletepage" => "Delete page",
1022 "confirm" => "Confirm",
1023 "excontent" => "content was:",
1024 "exbeforeblank" => "content before blanking was:",
1025 "exblank" => "page was empty",
1026 "confirmdelete" => "Confirm delete",
1027 "deletesub" => "(Deleting \"$1\")",
1028 "historywarning" => "Warning: The page you are about to delete has a history: ",
1029 "confirmdeletetext" => "You are about to permanently delete a page
1030 or image along with all of its history from the database.
1031 Please confirm that you intend to do this, that you understand the
1032 consequences, and that you are doing this in accordance with
1033 [[Wikipedia:Policy]].",
1034 "confirmcheck" => "Yes, I really want to delete this.",
1035 "actioncomplete" => "Action complete",
1036 "deletedtext" => "\"$1\" has been deleted.
1037 See $2 for a record of recent deletions.",
1038 "deletedarticle" => "deleted \"$1\"",
1039 "dellogpage" => "Deletion_log",
1040 "dellogpagetext" => "Below is a list of the most recent deletions.
1041 All times shown are server time (UTC).
1042 <ul>
1043 </ul>
1044 ",
1045 "deletionlog" => "deletion log",
1046 "reverted" => "Reverted to earlier revision",
1047 "deletecomment" => "Reason for deletion",
1048 "imagereverted" => "Revert to earlier version was successful.",
1049 "rollback" => "Roll back edits",
1050 "rollbacklink" => "rollback",
1051 "rollbackfailed" => "Rollback failed",
1052 "cantrollback" => "Cannot revert edit; last contributor is only author of this article.",
1053 "alreadyrolled" => "Cannot rollback last edit of [[$1]]
1054 by [[User:$2|$2]] ([[User talk:$2|Talk]]); someone else has edited or rolled back the article already.
1055
1056 Last edit was by [[User:$3|$3]] ([[User talk:$3|Talk]]). ",
1057 # only shown if there is an edit comment
1058 "editcomment" => "The edit comment was: \"<i>$1</i>\".",
1059 "revertpage" => "Reverted to last edit by $1",
1060
1061 # Undelete
1062 "undelete" => "Restore deleted page",
1063 "undeletepage" => "View and restore deleted pages",
1064 "undeletepagetext" => "The following pages have been deleted but are still in the archive and
1065 can be restored. The archive may be periodically cleaned out.",
1066 "undeletearticle" => "Restore deleted article",
1067 "undeleterevisions" => "$1 revisions archived",
1068 "undeletehistory" => "If you restore the page, all revisions will be restored to the history.
1069 If a new page with the same name has been created since the deletion, the restored
1070 revisions will appear in the prior history, and the current revision of the live page
1071 will not be automatically replaced.",
1072 "undeleterevision" => "Deleted revision as of $1",
1073 "undeletebtn" => "Restore!",
1074 "undeletedarticle" => "restored \"$1\"",
1075 "undeletedtext" => "The article [[$1]] has been successfully restored.
1076 See [[Wikipedia:Deletion_log]] for a record of recent deletions and restorations.",
1077
1078 # Contributions
1079 #
1080 "contributions" => "User contributions",
1081 "mycontris" => "My contributions",
1082 "contribsub" => "For $1",
1083 "nocontribs" => "No changes were found matching these criteria.",
1084 "ucnote" => "Below are this user's last <b>$1</b> changes in the last <b>$2</b> days.",
1085 "uclinks" => "View the last $1 changes; view the last $2 days.",
1086 "uctop" => " (top)" ,
1087
1088 # What links here
1089 #
1090 "whatlinkshere" => "What links here",
1091 "notargettitle" => "No target",
1092 "notargettext" => "You have not specified a target page or user
1093 to perform this function on.",
1094 "linklistsub" => "(List of links)",
1095 "linkshere" => "The following pages link to here:",
1096 "nolinkshere" => "No pages link to here.",
1097 "isredirect" => "redirect page",
1098
1099 # Block/unblock IP
1100 #
1101 "blockip" => "Block user",
1102 "blockiptext" => "Use the form below to block write access
1103 from a specific IP address or username.
1104 This should be done only only to prevent vandalism, and in
1105 accordance with [[Wikipedia:Policy|Wikipedia policy]].
1106 Fill in a specific reason below (for example, citing particular
1107 pages that were vandalized).",
1108 "ipaddress" => "IP Address/username",
1109 "ipbreason" => "Reason",
1110 "ipbsubmit" => "Block this user",
1111 "badipaddress" => "No user exists by that name",
1112 "noblockreason" => "You must supply a reason for the block.",
1113 "blockipsuccesssub" => "Block succeeded",
1114 "blockipsuccesstext" => "\"$1\" has been blocked.
1115 <br>See [[Special:Ipblocklist|IP block list]] to review blocks.",
1116 "unblockip" => "Unblock user",
1117 "unblockiptext" => "Use the form below to restore write access
1118 to a previously blocked IP address or username.",
1119 "ipusubmit" => "Unblock this address",
1120 "ipusuccess" => "\"$1\" unblocked",
1121 "ipblocklist" => "List of blocked IP addresses and usernames",
1122 "blocklistline" => "$1, $2 blocked $3",
1123 "blocklink" => "block",
1124 "unblocklink" => "unblock",
1125 "contribslink" => "contribs",
1126 "autoblocker" => "Autoblocked because you share an IP address with \"$1\". Reason \"$2\".",
1127
1128 # Developer tools
1129 #
1130 "lockdb" => "Lock database",
1131 "unlockdb" => "Unlock database",
1132 "lockdbtext" => "Locking the database will suspend the ability of all
1133 users to edit pages, change their preferences, edit their watchlists, and
1134 other things requiring changes in the database.
1135 Please confirm that this is what you intend to do, and that you will
1136 unlock the database when your maintenance is done.",
1137 "unlockdbtext" => "Unlocking the database will restore the ability of all
1138 users to edit pages, change their preferences, edit their watchlists, and
1139 other things requiring changes in the database.
1140 Please confirm that this is what you intend to do.",
1141 "lockconfirm" => "Yes, I really want to lock the database.",
1142 "unlockconfirm" => "Yes, I really want to unlock the database.",
1143 "lockbtn" => "Lock database",
1144 "unlockbtn" => "Unlock database",
1145 "locknoconfirm" => "You did not check the confirmation box.",
1146 "lockdbsuccesssub" => "Database lock succeeded",
1147 "unlockdbsuccesssub" => "Database lock removed",
1148 "lockdbsuccesstext" => "The Wikipedia database has been locked.
1149 <br>Remember to remove the lock after your maintenance is complete.",
1150 "unlockdbsuccesstext" => "The Wikipedia database has been unlocked.",
1151
1152 # SQL query
1153 #
1154 "asksql" => "SQL query",
1155 "asksqltext" => "Use the form below to make a direct query of the
1156 Wikipedia database.
1157 Use single quotes ('like this') to delimit string literals.
1158 This can often add considerable load to the server, so please use
1159 this function sparingly.",
1160 "sqlislogged" => "Please note that all queries are logged.",
1161 "sqlquery" => "Enter query",
1162 "querybtn" => "Submit query",
1163 "selectonly" => "Queries other than \"SELECT\" are restricted to
1164 Wikipedia developers.",
1165 "querysuccessful" => "Query successful",
1166
1167 # Move page
1168 #
1169 "movepage" => "Move page",
1170 "movepagetext" => "Using the form below will rename a page, moving all
1171 of its history to the new name.
1172 The old title will become a redirect page to the new title.
1173 Links to the old page title will not be changed; be sure to
1174 [[Special:Maintenance|check]] for double or broken redirects.
1175 You are responsible for making sure that links continue to
1176 point where they are supposed to go.
1177
1178 Note that the page will '''not''' be moved if there is already
1179 a page at the new title, unless it is empty or a redirect and has no
1180 past edit history. This means that you can rename a page back to where
1181 it was just renamed from if you make a mistake, and you cannot overwrite
1182 an existing page.
1183
1184 <b>WARNING!</b>
1185 This can be a drastic and unexpected change for a popular page;
1186 please be sure you understand the consequences of this before
1187 proceeding.",
1188 "movepagetalktext" => "The associated talk page, if any, will be automatically moved along with it '''unless:'''
1189 *You are moving the page across namespaces,
1190 *A non-empty talk page already exists under the new name, or
1191 *You uncheck the box below.
1192
1193 In those cases, you will have to move or merge the page manually if desired.",
1194 "movearticle" => "Move page",
1195 "movenologin" => "Not logged in",
1196 "movenologintext" => "You must be a registered user and <a href=\"" .
1197 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
1198 to move a page.",
1199 "newtitle" => "To new title",
1200 "movepagebtn" => "Move page",
1201 "pagemovedsub" => "Move succeeded",
1202 "pagemovedtext" => "Page \"[[$1]]\" moved to \"[[$2]]\".",
1203 "articleexists" => "A page of that name already exists, or the
1204 name you have chosen is not valid.
1205 Please choose another name.",
1206 "talkexists" => "The page itself was moved successfully, but the
1207 talk page could not be moved because one already exists at the new
1208 title. Please merge them manually.",
1209 "movedto" => "moved to",
1210 "movetalk" => "Move \"talk\" page as well, if applicable.",
1211 "talkpagemoved" => "The corresponding talk page was also moved.",
1212 "talkpagenotmoved" => "The corresponding talk page was <strong>not</strong> moved.",
1213
1214 "export" => "Export pages",
1215 "exporttext" => "You can export the text and editing history of a particular
1216 page or set of pages wrapped in some XML; this can then be imported into another
1217 wiki running MediaWiki software, transformed, or just kept for your private
1218 amusement.",
1219 "exportcuronly" => "Include only the current revision, not the full history",
1220
1221 );
1222
1223 #--------------------------------------------------------------------------
1224 # Internationalisation code
1225 #--------------------------------------------------------------------------
1226
1227 class Language {
1228
1229 function getDefaultUserOptions () {
1230 global $wgDefaultUserOptionsEn ;
1231 return $wgDefaultUserOptionsEn ;
1232 }
1233
1234 function getBookstoreList () {
1235 global $wgBookstoreListEn ;
1236 return $wgBookstoreListEn ;
1237 }
1238
1239 function getNamespaces() {
1240 global $wgNamespaceNamesEn;
1241 return $wgNamespaceNamesEn;
1242 }
1243
1244 function getNsText( $index ) {
1245 global $wgNamespaceNamesEn;
1246 return $wgNamespaceNamesEn[$index];
1247 }
1248
1249 function getNsIndex( $text ) {
1250 global $wgNamespaceNamesEn;
1251
1252 foreach ( $wgNamespaceNamesEn as $i => $n ) {
1253 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
1254 }
1255 return false;
1256 }
1257
1258 function specialPage( $name ) {
1259 return $this->getNsText( Namespace::getSpecial() ) . ":" . $name;
1260 }
1261
1262 function getQuickbarSettings() {
1263 global $wgQuickbarSettingsEn;
1264 return $wgQuickbarSettingsEn;
1265 }
1266
1267 function getSkinNames() {
1268 global $wgSkinNamesEn;
1269 return $wgSkinNamesEn;
1270 }
1271
1272 function getMathNames() {
1273 global $wgMathNamesEn;
1274 return $wgMathNamesEn;
1275 }
1276
1277 function getDateFormats() {
1278 global $wgDateFormatsEn;
1279 return $wgDateFormatsEn;
1280 }
1281
1282 function getUserToggles() {
1283 global $wgUserTogglesEn;
1284 return $wgUserTogglesEn;
1285 }
1286
1287 function getLanguageNames() {
1288 global $wgLanguageNamesEn;
1289 return $wgLanguageNamesEn;
1290 }
1291
1292 function getLanguageName( $code ) {
1293 global $wgLanguageNamesEn;
1294 if ( ! array_key_exists( $code, $wgLanguageNamesEn ) ) {
1295 return "";
1296 }
1297 return $wgLanguageNamesEn[$code];
1298 }
1299
1300 function getMonthName( $key )
1301 {
1302 global $wgMonthNamesEn;
1303 return $wgMonthNamesEn[$key-1];
1304 }
1305
1306 /* by default we just return base form */
1307 function getMonthNameGen( $key )
1308 {
1309 global $wgMonthNamesEn;
1310 return $wgMonthNamesEn[$key-1];
1311 }
1312
1313 function getMonthRegex()
1314 {
1315 global $wgMonthNamesEn;
1316 return implode( "|", $wgMonthNamesEn );
1317 }
1318
1319 function getMonthAbbreviation( $key )
1320 {
1321 global $wgMonthAbbreviationsEn;
1322 return $wgMonthAbbreviationsEn[$key-1];
1323 }
1324
1325 function getWeekdayName( $key )
1326 {
1327 global $wgWeekdayNamesEn;
1328 return $wgWeekdayNamesEn[$key-1];
1329 }
1330
1331 function userAdjust( $ts )
1332 {
1333 global $wgUser, $wgLocalTZoffset;
1334
1335 $diff = $wgUser->getOption( "timecorrection" );
1336 if ( ! is_numeric( $diff ) ) {
1337 $diff = isset( $wgLocalTZoffset ) ? $wgLocalTZoffset : 0;
1338 }
1339 if ( 0 == $diff ) { return $ts; }
1340
1341 $t = mktime( ( (int)substr( $ts, 8, 2) ) + $diff,
1342 (int)substr( $ts, 10, 2 ), (int)substr( $ts, 12, 2 ),
1343 (int)substr( $ts, 4, 2 ), (int)substr( $ts, 6, 2 ),
1344 (int)substr( $ts, 0, 4 ) );
1345 return date( "YmdHis", $t );
1346 }
1347
1348 function date( $ts, $adj = false )
1349 {
1350 global $wgAmericanDates, $wgUser, $wgUseDynamicDates;
1351
1352 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1353
1354 if ( $wgUseDynamicDates ) {
1355 $datePreference = $wgUser->getOption( 'date' );
1356 if ( $datePreference == 0 ) {
1357 $datePreference = $wgAmericanDates ? 1 : 2;
1358 }
1359 } else {
1360 $datePreference = $wgAmericanDates ? 1 : 2;
1361 }
1362
1363 if ( $datePreference == 1 ) {
1364 # MDY
1365 $d = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
1366 " " . (0 + substr( $ts, 6, 2 )) . ", " .
1367 substr( $ts, 0, 4 );
1368 } else if ( $datePreference == 2 ) {
1369 #DMY
1370 $d = (0 + substr( $ts, 6, 2 )) . " " .
1371 $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) . " " .
1372 substr( $ts, 0, 4 );
1373 } else {
1374 #YMD
1375 $d = substr( $ts, 0, 4 ) . " " . $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
1376 " " . (0 + substr( $ts, 6, 2 ));
1377 }
1378
1379 return $d;
1380 }
1381
1382 function time( $ts, $adj = false )
1383 {
1384 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1385
1386 $t = substr( $ts, 8, 2 ) . ":" . substr( $ts, 10, 2 );
1387 return $t;
1388 }
1389
1390 function timeanddate( $ts, $adj = false )
1391 {
1392 return $this->time( $ts, $adj ) . ", " . $this->date( $ts, $adj );
1393 }
1394
1395 function rfc1123( $ts )
1396 {
1397 return date( "D, d M Y H:i:s T", $ts );
1398 }
1399
1400 function getValidSpecialPages()
1401 {
1402 global $wgValidSpecialPagesEn;
1403 return $wgValidSpecialPagesEn;
1404 }
1405
1406 function getSysopSpecialPages()
1407 {
1408 global $wgSysopSpecialPagesEn;
1409 return $wgSysopSpecialPagesEn;
1410 }
1411
1412 function getDeveloperSpecialPages()
1413 {
1414 global $wgDeveloperSpecialPagesEn;
1415 return $wgDeveloperSpecialPagesEn;
1416 }
1417
1418 function getMessage( $key )
1419 {
1420 global $wgAllMessagesEn;
1421 return $wgAllMessagesEn[$key];
1422 }
1423
1424 function iconv( $in, $out, $string ) {
1425 # For most languages, this is a wrapper for iconv
1426 return iconv( $in, $out, $string );
1427 }
1428
1429 function ucfirst( $string ) {
1430 # For most languages, this is a wrapper for ucfirst()
1431 return ucfirst( $string );
1432 }
1433
1434 function checkTitleEncoding( $s ) {
1435 global $wgInputEncoding;
1436
1437 # Check for UTF-8 URLs; Internet Explorer produces these if you
1438 # type non-ASCII chars in the URL bar or follow unescaped links.
1439 $ishigh = preg_match( '/[\x80-\xff]/', $s);
1440 $isutf = ($ishigh ? preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|' .
1441 '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s ) : true );
1442
1443 if( ($wgInputEncoding != "utf-8") and $ishigh and $isutf )
1444 return iconv( "UTF-8", $wgInputEncoding, $s );
1445
1446 if( ($wgInputEncoding == "utf-8") and $ishigh and !$isutf )
1447 return utf8_encode( $s );
1448
1449 # Other languages can safely leave this function, or replace
1450 # it with one to detect and convert another legacy encoding.
1451 return $s;
1452 }
1453
1454 function stripForSearch( $in ) {
1455 # Some languages have special punctuation to strip out
1456 # or characters which need to be converted for MySQL's
1457 # indexing to grok it correctly. Make such changes here.
1458 return $in;
1459 }
1460
1461
1462 function setAltEncoding() {
1463 # Some languages may have an alternate char encoding option
1464 # (Esperanto X-coding, Japanese furigana conversion, etc)
1465 # If 'altencoding' is checked in user prefs, this gives a
1466 # chance to swap out the default encoding settings.
1467 #global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1468 }
1469
1470 function recodeForEdit( $s ) {
1471 # For some languages we'll want to explicitly specify
1472 # which characters make it into the edit box raw
1473 # or are converted in some way or another.
1474 # Note that if wgOutputEncoding is different from
1475 # wgInputEncoding, this text will be further converted
1476 # to wgOutputEncoding.
1477 global $wgInputEncoding, $wgEditEncoding;
1478 if( $wgEditEncoding == "" or
1479 $wgEditEncoding == $wgInputEncoding ) {
1480 return $s;
1481 } else {
1482 return $this->iconv( $wgInputEncoding, $wgEditEncoding, $s );
1483 }
1484 }
1485
1486 function recodeInput( $s ) {
1487 # Take the previous into account.
1488 global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1489 if($wgEditEncoding != "") {
1490 $enc = $wgEditEncoding;
1491 } else {
1492 $enc = $wgOutputEncoding;
1493 }
1494 if( $enc == $wgInputEncoding ) {
1495 return $s;
1496 } else {
1497 return $this->iconv( $enc, $wgInputEncoding, $s );
1498 }
1499 }
1500
1501 function replaceDates( $text )
1502 {
1503 global $wgUser, $wgInputEncoding, $wgUseDynamicDates;
1504
1505 # Feature can be disabled
1506 if ( !$wgUseDynamicDates ) {
1507 return;
1508 }
1509
1510 # Setup
1511
1512 $datePreference = $wgUser->getOption( 'date' );
1513
1514 static $monthNames = "", $rxDM, $rxMD, $rxY, $rxDMY, $rxYDM, $rxMDY, $rxYMD;
1515 if ( $monthNames == "" ) {
1516 $monthNames = $this->getMonthRegex();
1517
1518 # Attempt at UTF-8 support, untested at the moment
1519 if ( $wgInputEncoding == 'UTF-8' ) {
1520 $regexTrail = '(?![a-z])/iu';
1521 } else {
1522 $regexTrail = '(?![a-z])/i';
1523 }
1524
1525 # Partial regular expressions
1526 $prxDM = '\[\[(\d{1,2})[ _](' . $monthNames . ')]]';
1527 $prxMD = '\[\[(' . $monthNames . ')[ _](\d{1,2})]]';
1528 $prxY = '\[\[(\d{1,4}([ _]BC|))]]';
1529
1530 # Real regular expressions
1531 $rxDMY = "/{$prxDM} *,? *{$prxY}{$regexTrail}";
1532 $rxYDM = "/{$prxY} *,? *{$prxDM}{$regexTrail}";
1533 $rxMDY = "/{$prxMD} *,? *{$prxY}{$regexTrail}";
1534 $rxYMD = "/{$prxY} *,? *{$prxMD}{$regexTrail}";
1535 $rxDM = "/{$prxDM}{$regexTrail}";
1536 $rxMD = "/{$prxMD}{$regexTrail}";
1537 $rxY = "/{$prxY}{$regexTrail}";
1538 }
1539
1540 # Do replacements
1541 # TODO: month capitalisation?
1542 if ( $datePreference == 0 ) {
1543 # no preference
1544 $text = preg_replace( $rxDMY, '[[$2 $1|$1 $2]] [[$3]]', $text);
1545 $text = preg_replace( $rxYDM, '[[$1]] [[$4 $3]]', $text);
1546 $text = preg_replace( $rxMDY, '[[$1 $2]], [[$3]]', $text);
1547 $text = preg_replace( $rxYMD, '[[$1]] [[$3 $4]]', $text);
1548 $text = preg_replace ( $rxDM, '[[$2 $1|$1 $2]]', $text);
1549 } else if ( $datePreference == 1 ) {
1550 # MDY preferred
1551 $text = preg_replace( $rxDMY, '[[$2 $1]], [[$3]]', $text);
1552 $text = preg_replace( $rxYDM, '[[$4 $3]], [[$1]]', $text);
1553 $text = preg_replace( $rxMDY, '[[$1 $2]], [[$3]]', $text);
1554 $text = preg_replace( $rxYMD, '[[$3 $4]], [[$1]]', $text);
1555 $text = preg_replace ( $rxDM, '[[$2 $1]]', $text);
1556 } else if ( $datePreference == 2 ) {
1557 # DMY preferred
1558 $text = preg_replace( $rxDMY, '[[$2 $1|$1 $2]] [[$3]]', $text);
1559 $text = preg_replace( $rxYDM, '[[$4 $3|$3 $4]] [[$1]]', $text);
1560 $text = preg_replace( $rxMDY, '[[$1 $2|$2 $1]] [[$3]]', $text);
1561 $text = preg_replace( $rxYMD, '[[$3 $4|$4 $3]] [[$1]]', $text);
1562 $text = preg_replace ( $rxDM, '[[$2 $1|$1 $2]]', $text);
1563 $text = preg_replace ( $rxMD, '[[$1 $2|$2 $1]]', $text);
1564 } else if ( $datePreference == 3 ) {
1565 # YMD preferred
1566 $text = preg_replace( $rxDMY, '[[$3]] [[$2 $1]]', $text);
1567 $text = preg_replace( $rxYDM, '[[$1]] [[$4 $3]]', $text);
1568 $text = preg_replace( $rxMDY, '[[$3]] [[$1 $2]]', $text);
1569 $text = preg_replace( $rxYMD, '[[$1]] [[$3 $4]]', $text);
1570 $text = preg_replace ( $rxDM, '[[$2 $1]]', $text);
1571 }
1572 return $text;
1573 }
1574
1575 # For right-to-left language support
1576 function isRTL() { return false; }
1577
1578 function getMagicWords()
1579 {
1580 global $wgMagicWordsEn;
1581 return $wgMagicWordsEn;
1582 }
1583
1584 # Fill a MagicWord object with data from here
1585 function getMagic( &$mw )
1586 {
1587 $raw = $this->getMagicWords(); # don't worry, it's reference counted not deep copy
1588 $rawEntry = $raw[$mw->mId];
1589 $mw->mCaseSensitive = $rawEntry[0];
1590 $mw->mSynonyms = array_slice( $rawEntry, 1 );
1591 }
1592 }
1593
1594 global $IP;
1595 @include_once( "{$IP}/Language" . ucfirst( $wgLanguageCode ) . ".php" );
1596
1597 ?>