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