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