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