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