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