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