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