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