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