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