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