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