aed7e8f8bdde7fa628f4947e95fd8f1ce3cb0b5e
[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 "wlshowlast" => "Show last ",
1020 "wlhours" => " hours",
1021 "wldays" => " days",
1022
1023
1024 # Delete/protect/revert
1025 #
1026 "deletepage" => "Delete page",
1027 "confirm" => "Confirm",
1028 "excontent" => "content was:",
1029 "exbeforeblank" => "content before blanking was:",
1030 "exblank" => "page was empty",
1031 "confirmdelete" => "Confirm delete",
1032 "deletesub" => "(Deleting \"$1\")",
1033 "historywarning" => "Warning: The page you are about to delete has a history: ",
1034 "confirmdeletetext" => "You are about to permanently delete a page
1035 or image along with all of its history from the database.
1036 Please confirm that you intend to do this, that you understand the
1037 consequences, and that you are doing this in accordance with
1038 [[Wikipedia:Policy]].",
1039 "confirmcheck" => "Yes, I really want to delete this.",
1040 "actioncomplete" => "Action complete",
1041 "deletedtext" => "\"$1\" has been deleted.
1042 See $2 for a record of recent deletions.",
1043 "deletedarticle" => "deleted \"$1\"",
1044 "dellogpage" => "Deletion_log",
1045 "dellogpagetext" => "Below is a list of the most recent deletions.
1046 All times shown are server time (UTC).
1047 <ul>
1048 </ul>
1049 ",
1050 "deletionlog" => "deletion log",
1051 "reverted" => "Reverted to earlier revision",
1052 "deletecomment" => "Reason for deletion",
1053 "imagereverted" => "Revert to earlier version was successful.",
1054 "rollback" => "Roll back edits",
1055 "rollbacklink" => "rollback",
1056 "rollbackfailed" => "Rollback failed",
1057 "cantrollback" => "Cannot revert edit; last contributor is only author of this article.",
1058 "alreadyrolled" => "Cannot rollback last edit of [[$1]]
1059 by [[User:$2|$2]] ([[User talk:$2|Talk]]); someone else has edited or rolled back the article already.
1060
1061 Last edit was by [[User:$3|$3]] ([[User talk:$3|Talk]]). ",
1062 # only shown if there is an edit comment
1063 "editcomment" => "The edit comment was: \"<i>$1</i>\".",
1064 "revertpage" => "Reverted to last edit by $1",
1065
1066 # Undelete
1067 "undelete" => "Restore deleted page",
1068 "undeletepage" => "View and restore deleted pages",
1069 "undeletepagetext" => "The following pages have been deleted but are still in the archive and
1070 can be restored. The archive may be periodically cleaned out.",
1071 "undeletearticle" => "Restore deleted article",
1072 "undeleterevisions" => "$1 revisions archived",
1073 "undeletehistory" => "If you restore the page, all revisions will be restored to the history.
1074 If a new page with the same name has been created since the deletion, the restored
1075 revisions will appear in the prior history, and the current revision of the live page
1076 will not be automatically replaced.",
1077 "undeleterevision" => "Deleted revision as of $1",
1078 "undeletebtn" => "Restore!",
1079 "undeletedarticle" => "restored \"$1\"",
1080 "undeletedtext" => "The article [[$1]] has been successfully restored.
1081 See [[Wikipedia:Deletion_log]] for a record of recent deletions and restorations.",
1082
1083 # Contributions
1084 #
1085 "contributions" => "User contributions",
1086 "mycontris" => "My contributions",
1087 "contribsub" => "For $1",
1088 "nocontribs" => "No changes were found matching these criteria.",
1089 "ucnote" => "Below are this user's last <b>$1</b> changes in the last <b>$2</b> days.",
1090 "uclinks" => "View the last $1 changes; view the last $2 days.",
1091 "uctop" => " (top)" ,
1092
1093 # What links here
1094 #
1095 "whatlinkshere" => "What links here",
1096 "notargettitle" => "No target",
1097 "notargettext" => "You have not specified a target page or user
1098 to perform this function on.",
1099 "linklistsub" => "(List of links)",
1100 "linkshere" => "The following pages link to here:",
1101 "nolinkshere" => "No pages link to here.",
1102 "isredirect" => "redirect page",
1103
1104 # Block/unblock IP
1105 #
1106 "blockip" => "Block user",
1107 "blockiptext" => "Use the form below to block write access
1108 from a specific IP address or username.
1109 This should be done only only to prevent vandalism, and in
1110 accordance with [[Wikipedia:Policy|Wikipedia policy]].
1111 Fill in a specific reason below (for example, citing particular
1112 pages that were vandalized).",
1113 "ipaddress" => "IP Address/username",
1114 "ipbreason" => "Reason",
1115 "ipbsubmit" => "Block this user",
1116 "badipaddress" => "No user exists by that name",
1117 "noblockreason" => "You must supply a reason for the block.",
1118 "blockipsuccesssub" => "Block succeeded",
1119 "blockipsuccesstext" => "\"$1\" has been blocked.
1120 <br>See [[Special:Ipblocklist|IP block list]] to review blocks.",
1121 "unblockip" => "Unblock user",
1122 "unblockiptext" => "Use the form below to restore write access
1123 to a previously blocked IP address or username.",
1124 "ipusubmit" => "Unblock this address",
1125 "ipusuccess" => "\"$1\" unblocked",
1126 "ipblocklist" => "List of blocked IP addresses and usernames",
1127 "blocklistline" => "$1, $2 blocked $3",
1128 "blocklink" => "block",
1129 "unblocklink" => "unblock",
1130 "contribslink" => "contribs",
1131 "autoblocker" => "Autoblocked because you share an IP address with \"$1\". Reason \"$2\".",
1132
1133 # Developer tools
1134 #
1135 "lockdb" => "Lock database",
1136 "unlockdb" => "Unlock database",
1137 "lockdbtext" => "Locking the database will suspend the ability of all
1138 users to edit pages, change their preferences, edit their watchlists, and
1139 other things requiring changes in the database.
1140 Please confirm that this is what you intend to do, and that you will
1141 unlock the database when your maintenance is done.",
1142 "unlockdbtext" => "Unlocking the database will restore the ability of all
1143 users to edit pages, change their preferences, edit their watchlists, and
1144 other things requiring changes in the database.
1145 Please confirm that this is what you intend to do.",
1146 "lockconfirm" => "Yes, I really want to lock the database.",
1147 "unlockconfirm" => "Yes, I really want to unlock the database.",
1148 "lockbtn" => "Lock database",
1149 "unlockbtn" => "Unlock database",
1150 "locknoconfirm" => "You did not check the confirmation box.",
1151 "lockdbsuccesssub" => "Database lock succeeded",
1152 "unlockdbsuccesssub" => "Database lock removed",
1153 "lockdbsuccesstext" => "The Wikipedia database has been locked.
1154 <br>Remember to remove the lock after your maintenance is complete.",
1155 "unlockdbsuccesstext" => "The Wikipedia database has been unlocked.",
1156
1157 # SQL query
1158 #
1159 "asksql" => "SQL query",
1160 "asksqltext" => "Use the form below to make a direct query of the
1161 Wikipedia database.
1162 Use single quotes ('like this') to delimit string literals.
1163 This can often add considerable load to the server, so please use
1164 this function sparingly.",
1165 "sqlislogged" => "Please note that all queries are logged.",
1166 "sqlquery" => "Enter query",
1167 "querybtn" => "Submit query",
1168 "selectonly" => "Queries other than \"SELECT\" are restricted to
1169 Wikipedia developers.",
1170 "querysuccessful" => "Query successful",
1171
1172 # Move page
1173 #
1174 "movepage" => "Move page",
1175 "movepagetext" => "Using the form below will rename a page, moving all
1176 of its history to the new name.
1177 The old title will become a redirect page to the new title.
1178 Links to the old page title will not be changed; be sure to
1179 [[Special:Maintenance|check]] for double or broken redirects.
1180 You are responsible for making sure that links continue to
1181 point where they are supposed to go.
1182
1183 Note that the page will '''not''' be moved if there is already
1184 a page at the new title, unless it is empty or a redirect and has no
1185 past edit history. This means that you can rename a page back to where
1186 it was just renamed from if you make a mistake, and you cannot overwrite
1187 an existing page.
1188
1189 <b>WARNING!</b>
1190 This can be a drastic and unexpected change for a popular page;
1191 please be sure you understand the consequences of this before
1192 proceeding.",
1193 "movepagetalktext" => "The associated talk page, if any, will be automatically moved along with it '''unless:'''
1194 *You are moving the page across namespaces,
1195 *A non-empty talk page already exists under the new name, or
1196 *You uncheck the box below.
1197
1198 In those cases, you will have to move or merge the page manually if desired.",
1199 "movearticle" => "Move page",
1200 "movenologin" => "Not logged in",
1201 "movenologintext" => "You must be a registered user and <a href=\"" .
1202 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
1203 to move a page.",
1204 "newtitle" => "To new title",
1205 "movepagebtn" => "Move page",
1206 "pagemovedsub" => "Move succeeded",
1207 "pagemovedtext" => "Page \"[[$1]]\" moved to \"[[$2]]\".",
1208 "articleexists" => "A page of that name already exists, or the
1209 name you have chosen is not valid.
1210 Please choose another name.",
1211 "talkexists" => "The page itself was moved successfully, but the
1212 talk page could not be moved because one already exists at the new
1213 title. Please merge them manually.",
1214 "movedto" => "moved to",
1215 "movetalk" => "Move \"talk\" page as well, if applicable.",
1216 "talkpagemoved" => "The corresponding talk page was also moved.",
1217 "talkpagenotmoved" => "The corresponding talk page was <strong>not</strong> moved.",
1218
1219 "export" => "Export pages",
1220 "exporttext" => "You can export the text and editing history of a particular
1221 page or set of pages wrapped in some XML; this can then be imported into another
1222 wiki running MediaWiki software, transformed, or just kept for your private
1223 amusement.",
1224 "exportcuronly" => "Include only the current revision, not the full history",
1225
1226 );
1227
1228 #--------------------------------------------------------------------------
1229 # Internationalisation code
1230 #--------------------------------------------------------------------------
1231
1232 class Language {
1233
1234 function getDefaultUserOptions () {
1235 global $wgDefaultUserOptionsEn ;
1236 return $wgDefaultUserOptionsEn ;
1237 }
1238
1239 function getBookstoreList () {
1240 global $wgBookstoreListEn ;
1241 return $wgBookstoreListEn ;
1242 }
1243
1244 function getNamespaces() {
1245 global $wgNamespaceNamesEn;
1246 return $wgNamespaceNamesEn;
1247 }
1248
1249 function getNsText( $index ) {
1250 global $wgNamespaceNamesEn;
1251 return $wgNamespaceNamesEn[$index];
1252 }
1253
1254 function getNsIndex( $text ) {
1255 global $wgNamespaceNamesEn;
1256
1257 foreach ( $wgNamespaceNamesEn as $i => $n ) {
1258 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
1259 }
1260 return false;
1261 }
1262
1263 function specialPage( $name ) {
1264 return $this->getNsText( Namespace::getSpecial() ) . ":" . $name;
1265 }
1266
1267 function getQuickbarSettings() {
1268 global $wgQuickbarSettingsEn;
1269 return $wgQuickbarSettingsEn;
1270 }
1271
1272 function getSkinNames() {
1273 global $wgSkinNamesEn;
1274 return $wgSkinNamesEn;
1275 }
1276
1277 function getMathNames() {
1278 global $wgMathNamesEn;
1279 return $wgMathNamesEn;
1280 }
1281
1282 function getDateFormats() {
1283 global $wgDateFormatsEn;
1284 return $wgDateFormatsEn;
1285 }
1286
1287 function getUserToggles() {
1288 global $wgUserTogglesEn;
1289 return $wgUserTogglesEn;
1290 }
1291
1292 function getLanguageNames() {
1293 global $wgLanguageNamesEn;
1294 return $wgLanguageNamesEn;
1295 }
1296
1297 function getLanguageName( $code ) {
1298 global $wgLanguageNamesEn;
1299 if ( ! array_key_exists( $code, $wgLanguageNamesEn ) ) {
1300 return "";
1301 }
1302 return $wgLanguageNamesEn[$code];
1303 }
1304
1305 function getMonthName( $key )
1306 {
1307 global $wgMonthNamesEn;
1308 return $wgMonthNamesEn[$key-1];
1309 }
1310
1311 /* by default we just return base form */
1312 function getMonthNameGen( $key )
1313 {
1314 global $wgMonthNamesEn;
1315 return $wgMonthNamesEn[$key-1];
1316 }
1317
1318 function getMonthRegex()
1319 {
1320 global $wgMonthNamesEn;
1321 return implode( "|", $wgMonthNamesEn );
1322 }
1323
1324 function getMonthAbbreviation( $key )
1325 {
1326 global $wgMonthAbbreviationsEn;
1327 return $wgMonthAbbreviationsEn[$key-1];
1328 }
1329
1330 function getWeekdayName( $key )
1331 {
1332 global $wgWeekdayNamesEn;
1333 return $wgWeekdayNamesEn[$key-1];
1334 }
1335
1336 function userAdjust( $ts )
1337 {
1338 global $wgUser, $wgLocalTZoffset;
1339
1340 $diff = $wgUser->getOption( "timecorrection" );
1341 if ( ! is_numeric( $diff ) ) {
1342 $diff = isset( $wgLocalTZoffset ) ? $wgLocalTZoffset : 0;
1343 }
1344 if ( 0 == $diff ) { return $ts; }
1345
1346 $t = mktime( ( (int)substr( $ts, 8, 2) ) + $diff,
1347 (int)substr( $ts, 10, 2 ), (int)substr( $ts, 12, 2 ),
1348 (int)substr( $ts, 4, 2 ), (int)substr( $ts, 6, 2 ),
1349 (int)substr( $ts, 0, 4 ) );
1350 return date( "YmdHis", $t );
1351 }
1352
1353 function date( $ts, $adj = false )
1354 {
1355 global $wgAmericanDates, $wgUser, $wgUseDynamicDates;
1356
1357 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1358
1359 if ( $wgUseDynamicDates ) {
1360 $datePreference = $wgUser->getOption( 'date' );
1361 if ( $datePreference == 0 ) {
1362 $datePreference = $wgAmericanDates ? 1 : 2;
1363 }
1364 } else {
1365 $datePreference = $wgAmericanDates ? 1 : 2;
1366 }
1367
1368 if ( $datePreference == 1 ) {
1369 # MDY
1370 $d = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
1371 " " . (0 + substr( $ts, 6, 2 )) . ", " .
1372 substr( $ts, 0, 4 );
1373 } else if ( $datePreference == 2 ) {
1374 #DMY
1375 $d = (0 + substr( $ts, 6, 2 )) . " " .
1376 $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) . " " .
1377 substr( $ts, 0, 4 );
1378 } else {
1379 #YMD
1380 $d = substr( $ts, 0, 4 ) . " " . $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
1381 " " . (0 + substr( $ts, 6, 2 ));
1382 }
1383
1384 return $d;
1385 }
1386
1387 function time( $ts, $adj = false )
1388 {
1389 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1390
1391 $t = substr( $ts, 8, 2 ) . ":" . substr( $ts, 10, 2 );
1392 return $t;
1393 }
1394
1395 function timeanddate( $ts, $adj = false )
1396 {
1397 return $this->time( $ts, $adj ) . ", " . $this->date( $ts, $adj );
1398 }
1399
1400 function rfc1123( $ts )
1401 {
1402 return date( "D, d M Y H:i:s T", $ts );
1403 }
1404
1405 function getValidSpecialPages()
1406 {
1407 global $wgValidSpecialPagesEn;
1408 return $wgValidSpecialPagesEn;
1409 }
1410
1411 function getSysopSpecialPages()
1412 {
1413 global $wgSysopSpecialPagesEn;
1414 return $wgSysopSpecialPagesEn;
1415 }
1416
1417 function getDeveloperSpecialPages()
1418 {
1419 global $wgDeveloperSpecialPagesEn;
1420 return $wgDeveloperSpecialPagesEn;
1421 }
1422
1423 function getMessage( $key )
1424 {
1425 global $wgAllMessagesEn;
1426 return $wgAllMessagesEn[$key];
1427 }
1428
1429 function iconv( $in, $out, $string ) {
1430 # For most languages, this is a wrapper for iconv
1431 return iconv( $in, $out, $string );
1432 }
1433
1434 function ucfirst( $string ) {
1435 # For most languages, this is a wrapper for ucfirst()
1436 return ucfirst( $string );
1437 }
1438
1439 function checkTitleEncoding( $s ) {
1440 global $wgInputEncoding;
1441
1442 # Check for UTF-8 URLs; Internet Explorer produces these if you
1443 # type non-ASCII chars in the URL bar or follow unescaped links.
1444 $ishigh = preg_match( '/[\x80-\xff]/', $s);
1445 $isutf = ($ishigh ? preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|' .
1446 '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s ) : true );
1447
1448 if( ($wgInputEncoding != "utf-8") and $ishigh and $isutf )
1449 return iconv( "UTF-8", $wgInputEncoding, $s );
1450
1451 if( ($wgInputEncoding == "utf-8") and $ishigh and !$isutf )
1452 return utf8_encode( $s );
1453
1454 # Other languages can safely leave this function, or replace
1455 # it with one to detect and convert another legacy encoding.
1456 return $s;
1457 }
1458
1459 function stripForSearch( $in ) {
1460 # Some languages have special punctuation to strip out
1461 # or characters which need to be converted for MySQL's
1462 # indexing to grok it correctly. Make such changes here.
1463 return $in;
1464 }
1465
1466
1467 function setAltEncoding() {
1468 # Some languages may have an alternate char encoding option
1469 # (Esperanto X-coding, Japanese furigana conversion, etc)
1470 # If 'altencoding' is checked in user prefs, this gives a
1471 # chance to swap out the default encoding settings.
1472 #global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1473 }
1474
1475 function recodeForEdit( $s ) {
1476 # For some languages we'll want to explicitly specify
1477 # which characters make it into the edit box raw
1478 # or are converted in some way or another.
1479 # Note that if wgOutputEncoding is different from
1480 # wgInputEncoding, this text will be further converted
1481 # to wgOutputEncoding.
1482 global $wgInputEncoding, $wgEditEncoding;
1483 if( $wgEditEncoding == "" or
1484 $wgEditEncoding == $wgInputEncoding ) {
1485 return $s;
1486 } else {
1487 return $this->iconv( $wgInputEncoding, $wgEditEncoding, $s );
1488 }
1489 }
1490
1491 function recodeInput( $s ) {
1492 # Take the previous into account.
1493 global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1494 if($wgEditEncoding != "") {
1495 $enc = $wgEditEncoding;
1496 } else {
1497 $enc = $wgOutputEncoding;
1498 }
1499 if( $enc == $wgInputEncoding ) {
1500 return $s;
1501 } else {
1502 return $this->iconv( $enc, $wgInputEncoding, $s );
1503 }
1504 }
1505
1506 function replaceDates( $text )
1507 {
1508 global $wgUser, $wgInputEncoding, $wgUseDynamicDates;
1509
1510 # Feature can be disabled
1511 if ( !$wgUseDynamicDates ) {
1512 return;
1513 }
1514
1515 # Setup
1516
1517 $datePreference = $wgUser->getOption( 'date' );
1518
1519 static $monthNames = "", $rxDM, $rxMD, $rxY, $rxDMY, $rxYDM, $rxMDY, $rxYMD;
1520 if ( $monthNames == "" ) {
1521 $monthNames = $this->getMonthRegex();
1522
1523 # Attempt at UTF-8 support, untested at the moment
1524 if ( $wgInputEncoding == 'UTF-8' ) {
1525 $regexTrail = '(?![a-z])/iu';
1526 } else {
1527 $regexTrail = '(?![a-z])/i';
1528 }
1529
1530 # Partial regular expressions
1531 $prxDM = '\[\[(\d{1,2})[ _](' . $monthNames . ')]]';
1532 $prxMD = '\[\[(' . $monthNames . ')[ _](\d{1,2})]]';
1533 $prxY = '\[\[(\d{1,4}([ _]BC|))]]';
1534
1535 # Real regular expressions
1536 $rxDMY = "/{$prxDM} *,? *{$prxY}{$regexTrail}";
1537 $rxYDM = "/{$prxY} *,? *{$prxDM}{$regexTrail}";
1538 $rxMDY = "/{$prxMD} *,? *{$prxY}{$regexTrail}";
1539 $rxYMD = "/{$prxY} *,? *{$prxMD}{$regexTrail}";
1540 $rxDM = "/{$prxDM}{$regexTrail}";
1541 $rxMD = "/{$prxMD}{$regexTrail}";
1542 $rxY = "/{$prxY}{$regexTrail}";
1543 }
1544
1545 # Do replacements
1546 # TODO: month capitalisation?
1547 if ( $datePreference == 0 ) {
1548 # no preference
1549 $text = preg_replace( $rxDMY, '[[$2 $1|$1 $2]] [[$3]]', $text);
1550 $text = preg_replace( $rxYDM, '[[$1]] [[$4 $3]]', $text);
1551 $text = preg_replace( $rxMDY, '[[$1 $2]], [[$3]]', $text);
1552 $text = preg_replace( $rxYMD, '[[$1]] [[$3 $4]]', $text);
1553 $text = preg_replace ( $rxDM, '[[$2 $1|$1 $2]]', $text);
1554 } else if ( $datePreference == 1 ) {
1555 # MDY preferred
1556 $text = preg_replace( $rxDMY, '[[$2 $1]], [[$3]]', $text);
1557 $text = preg_replace( $rxYDM, '[[$4 $3]], [[$1]]', $text);
1558 $text = preg_replace( $rxMDY, '[[$1 $2]], [[$3]]', $text);
1559 $text = preg_replace( $rxYMD, '[[$3 $4]], [[$1]]', $text);
1560 $text = preg_replace ( $rxDM, '[[$2 $1]]', $text);
1561 } else if ( $datePreference == 2 ) {
1562 # DMY preferred
1563 $text = preg_replace( $rxDMY, '[[$2 $1|$1 $2]] [[$3]]', $text);
1564 $text = preg_replace( $rxYDM, '[[$4 $3|$3 $4]] [[$1]]', $text);
1565 $text = preg_replace( $rxMDY, '[[$1 $2|$2 $1]] [[$3]]', $text);
1566 $text = preg_replace( $rxYMD, '[[$3 $4|$4 $3]] [[$1]]', $text);
1567 $text = preg_replace ( $rxDM, '[[$2 $1|$1 $2]]', $text);
1568 $text = preg_replace ( $rxMD, '[[$1 $2|$2 $1]]', $text);
1569 } else if ( $datePreference == 3 ) {
1570 # YMD preferred
1571 $text = preg_replace( $rxDMY, '[[$3]] [[$2 $1]]', $text);
1572 $text = preg_replace( $rxYDM, '[[$1]] [[$4 $3]]', $text);
1573 $text = preg_replace( $rxMDY, '[[$3]] [[$1 $2]]', $text);
1574 $text = preg_replace( $rxYMD, '[[$1]] [[$3 $4]]', $text);
1575 $text = preg_replace ( $rxDM, '[[$2 $1]]', $text);
1576 }
1577 return $text;
1578 }
1579
1580 # For right-to-left language support
1581 function isRTL() { return false; }
1582
1583 function getMagicWords()
1584 {
1585 global $wgMagicWordsEn;
1586 return $wgMagicWordsEn;
1587 }
1588
1589 # Fill a MagicWord object with data from here
1590 function getMagic( &$mw )
1591 {
1592 $raw = $this->getMagicWords(); # don't worry, it's reference counted not deep copy
1593 $rawEntry = $raw[$mw->mId];
1594 $mw->mCaseSensitive = $rawEntry[0];
1595 $mw->mSynonyms = array_slice( $rawEntry, 1 );
1596 }
1597 }
1598
1599 global $IP;
1600 @include_once( "{$IP}/Language" . ucfirst( $wgLanguageCode ) . ".php" );
1601
1602 ?>