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