21f8856fc8e7d9949bd646dd6a5c0278d171bedc
[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 "showhideminor" => "$1 minor edits",
802 "rclinks" => "Show last $1 changes in last $2 days; $3",
803 "rchide" => "in $4 form; $1 minor edits; $2 secondary namespaces; $3 multiple edits.",
804 "rcliu" => "; $1 edits from logged in users",
805 "diff" => "diff",
806 "hist" => "hist",
807 "hide" => "hide",
808 "show" => "show",
809 "tableform" => "table",
810 "listform" => "list",
811 "nchanges" => "$1 changes",
812 "minoreditletter" => "M",
813 "newpageletter" => "N",
814
815 # Upload
816 #
817 "upload" => "Upload file",
818 "uploadbtn" => "Upload file",
819 "uploadlink" => "Upload images",
820 "reupload" => "Re-upload",
821 "reuploaddesc" => "Return to the upload form.",
822 "uploadnologin" => "Not logged in",
823 "uploadnologintext" => "You must be <a href=\"" .
824 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
825 to upload files.",
826 "uploadfile" => "Upload images, sounds, documents etc.",
827 "uploaderror" => "Upload error",
828 "uploadtext" => "<strong>STOP!</strong> Before you upload here,
829 make sure to read and follow the <a href=\"" .
830 wfLocalUrlE( "$wgMetaNamespace:Image_use_policy" ) . "\">image use policy</a>.
831 <p>If a file with the name you are specifying already
832 exists on the wiki, it'll be replaced without warning.
833 So unless you mean to update a file, it's a good idea
834 to first check if such a file exists.
835 <p>To view or search previously uploaded images,
836 go to the <a href=\"" . wfLocalUrlE( "Special:Imagelist" ) .
837 "\">list of uploaded images</a>.
838 Uploads and deletions are logged on the <a href=\"" .
839 wfLocalUrlE( "$wgMetaNamespace:Upload_log" ) . "\">upload log</a>.
840 <p>Use the form below to upload new image files for use in
841 illustrating your articles.
842 On most browsers, you will see a \"Browse...\" button, which will
843 bring up your operating system's standard file open dialog.
844 Choosing a file will fill the name of that file into the text
845 field next to the button.
846 You must also check the box affirming that you are not
847 violating any copyrights by uploading the file.
848 Press the \"Upload\" button to finish the upload.
849 This may take some time if you have a slow internet connection.
850 <p>The preferred formats are JPEG for photographic images, PNG
851 for drawings and other iconic images, and OGG for sounds.
852 Please name your files descriptively to avoid confusion.
853 To include the image in an article, use a link in the form
854 <b>[[image:file.jpg]]</b> or <b>[[image:file.png|alt text]]</b>
855 or <b>[[media:file.ogg]]</b> for sounds.
856 <p>Please note that as with wiki pages, others may edit or
857 delete your uploads if they think it serves the encyclopedia, and
858 you may be blocked from uploading if you abuse the system.",
859
860 "uploadlog" => "upload log",
861 "uploadlogpage" => "Upload_log",
862 "uploadlogpagetext" => "Below is a list of the most recent file uploads.
863 All times shown are server time (UTC).
864 <ul>
865 </ul>
866 ",
867 "filename" => "Filename",
868 "filedesc" => "Summary",
869 "filestatus" => "Copyright status",
870 "filesource" => "Source",
871 "affirmation" => "I affirm that the copyright holder of this file
872 agrees to license it under the terms of the $1.",
873 "copyrightpage" => "$wgMetaNamespace:Copyrights",
874 "copyrightpagename" => "$wgSitename copyright",
875 "uploadedfiles" => "Uploaded files",
876 "noaffirmation" => "You must affirm that your upload does not violate
877 any copyrights.",
878 "ignorewarning" => "Ignore warning and save file anyway.",
879 "minlength" => "Image names must be at least three letters.",
880 "badfilename" => "Image name has been changed to \"$1\".",
881 "badfiletype" => "\".$1\" is not a recommended image file format.",
882 "largefile" => "It is recommended that images not exceed 100k in size.",
883 "successfulupload" => "Successful upload",
884 "fileuploaded" => "File \"$1\" uploaded successfully.
885 Please follow this link: ($2) to the description page and fill
886 in information about the file, such as where it came from, when it was
887 created and by whom, and anything else you may know about it.",
888 "uploadwarning" => "Upload warning",
889 "savefile" => "Save file",
890 "uploadedimage" => "uploaded \"$1\"",
891
892 # Image list
893 #
894 "imagelist" => "Image list",
895 "imagelisttext" => "Below is a list of $1 images sorted $2.",
896 "getimagelist" => "fetching image list",
897 "ilshowmatch" => "Show all images with names matching",
898 "ilsubmit" => "Search",
899 "showlast" => "Show last $1 images sorted $2.",
900 "all" => "all",
901 "byname" => "by name",
902 "bydate" => "by date",
903 "bysize" => "by size",
904 "imgdelete" => "del",
905 "imgdesc" => "desc",
906 "imglegend" => "Legend: (desc) = show/edit image description.",
907 "imghistory" => "Image history",
908 "revertimg" => "rev",
909 "deleteimg" => "del",
910 "imghistlegend" => "Legend: (cur) = this is the current image, (del) = delete
911 this old version, (rev) = revert to this old version.
912 <br><i>Click on date to see image uploaded on that date</i>.",
913 "imagelinks" => "Image links",
914 "linkstoimage" => "The following pages link to this image:",
915 "nolinkstoimage" => "There are no pages that link to this image.",
916
917 # Statistics
918 #
919 "statistics" => "Statistics",
920 "sitestats" => "Site statistics",
921 "userstats" => "User statistics",
922 "sitestatstext" => "There are <b>$1</b> total pages in the database.
923 This includes \"talk\" pages, pages about $wgSitename, minimal \"stub\"
924 pages, redirects, and others that probably don't qualify as articles.
925 Excluding those, there are <b>$2</b> pages that are probably legitimate
926 articles.<p>
927 There have been a total of <b>$3</b> page views, and <b>$4</b> page edits
928 since the software was upgraded (July 20, 2002).
929 That comes to <b>$5</b> average edits per page, and <b>$6</b> views per edit.",
930 "userstatstext" => "There are <b>$1</b> registered users.
931 <b>$2</b> of these are administrators (see $3).",
932
933 # Maintenance Page
934 #
935 "maintenance" => "Maintenance page",
936 "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 ;-)",
937 "maintenancebacklink" => "Back to Maintenance Page",
938 "disambiguations" => "Disambiguation pages",
939 "disambiguationspage" => "$wgMetaNamespace:Links_to_disambiguating_pages",
940 "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.",
941 "doubleredirects" => "Double Redirects",
942 "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.",
943 "brokenredirects" => "Broken Redirects",
944 "brokenredirectstext" => "The following redirects link to a non-existing article.",
945 "selflinks" => "Pages with Self Links",
946 "selflinkstext" => "The following pages contain a link to themselves, which they should not.",
947 "mispeelings" => "Pages with misspellings",
948 "mispeelingstext" => "The following pages contain a common misspelling, which are listed on $1. The correct spelling might be given (like this).",
949 "mispeelingspage" => "List of common misspellings",
950 "missinglanguagelinks" => "Missing Language Links",
951 "missinglanguagelinksbutton" => "Find missing language links for",
952 "missinglanguagelinkstext" => "These articles do <i>not</i> link to their counterpart in $1. Redirects and subpages are <i>not</i> shown.",
953
954
955 # Miscellaneous special pages
956 #
957 "orphans" => "Orphaned pages",
958 "lonelypages" => "Orphaned pages",
959 "unusedimages" => "Unused images",
960 "popularpages" => "Popular pages",
961 "nviews" => "$1 views",
962 "wantedpages" => "Wanted pages",
963 "nlinks" => "$1 links",
964 "allpages" => "All pages",
965 "randompage" => "Random page",
966 "shortpages" => "Short pages",
967 "longpages" => "Long pages",
968 "listusers" => "User list",
969 "specialpages" => "Special pages",
970 "spheading" => "Special pages for all users",
971 "sysopspheading" => "For sysop use only",
972 "developerspheading" => "For developer use only",
973 "protectpage" => "Protect page",
974 "recentchangeslinked" => "Related changes",
975 "rclsub" => "(to pages linked from \"$1\")",
976 "debug" => "Debug",
977 "newpages" => "New pages",
978 "ancientpages" => "Oldest articles",
979 "intl" => "Interlanguage links",
980 "movethispage" => "Move this page",
981 "unusedimagestext" => "<p>Please note that other web sites
982 such as the international Wikipedias may link to an image with
983 a direct URL, and so may still be listed here despite being
984 in active use.",
985 "booksources" => "Book sources",
986 # FIXME: Other sites, of course, may have affiliate relations with the booksellers list
987 "booksourcetext" => "Below is a list of links to other sites that
988 sell new and used books, and may also have further information
989 about books you are looking for.
990 $wgSitename is not affiliated with any of these businesses, and
991 this list should not be construed as an endorsement.",
992 "alphaindexline" => "$1 to $2",
993
994 # Email this user
995 #
996 "mailnologin" => "No send address",
997 "mailnologintext" => "You must be <a href=\"" .
998 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
999 and have a valid e-mail address in your <a href=\"" .
1000 wfLocalUrl( "Special:Preferences" ) . "\">preferences</a>
1001 to send e-mail to other users.",
1002 "emailuser" => "E-mail this user",
1003 "emailpage" => "E-mail user",
1004 "emailpagetext" => "If this user has entered a valid e-mail address in
1005 his or her user preferences, the form below will send a single message.
1006 The e-mail address you entered in your user preferences will appear
1007 as the \"From\" address of the mail, so the recipient will be able
1008 to reply.",
1009 "noemailtitle" => "No e-mail address",
1010 "noemailtext" => "This user has not specified a valid e-mail address,
1011 or has chosen not to receive e-mail from other users.",
1012 "emailfrom" => "From",
1013 "emailto" => "To",
1014 "emailsubject" => "Subject",
1015 "emailmessage" => "Message",
1016 "emailsend" => "Send",
1017 "emailsent" => "E-mail sent",
1018 "emailsenttext" => "Your e-mail message has been sent.",
1019
1020 # Watchlist
1021 #
1022 "watchlist" => "My watchlist",
1023 "watchlistsub" => "(for user \"$1\")",
1024 "nowatchlist" => "You have no items on your watchlist.",
1025 "watchnologin" => "Not logged in",
1026 "watchnologintext" => "You must be <a href=\"" .
1027 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
1028 to modify your watchlist.",
1029 "addedwatch" => "Added to watchlist",
1030 "addedwatchtext" => "The page \"$1\" has been added to your <a href=\"" .
1031 wfLocalUrl( "Special:Watchlist" ) . "\">watchlist</a>.
1032 Future changes to this page and its associated Talk page will be listed there,
1033 and the page will appear <b>bolded</b> in the <a href=\"" .
1034 wfLocalUrl( "Special:Recentchanges" ) . "\">list of recent changes</a> to
1035 make it easier to pick out.</p>
1036
1037 <p>If you want to remove the page from your watchlist later, click \"Stop watching\" in the sidebar.",
1038 "removedwatch" => "Removed from watchlist",
1039 "removedwatchtext" => "The page \"$1\" has been removed from your watchlist.",
1040 "watchthispage" => "Watch this page",
1041 "unwatchthispage" => "Stop watching",
1042 "notanarticle" => "Not an article",
1043 "watchnochange" => "None of your watched items were edited in the time period displayed.",
1044 "watchdetails" => "($1 pages watched not counting talk pages;
1045 $2 total pages edited since cutoff;
1046 $3...
1047 <a href='$4'>show and edit complete list</a>.)",
1048 "watchmethod-recent" => "checking recent edits for watched pages",
1049 "watchmethod-list" => "checking watched pages for recent edits",
1050 "removechecked" => "Remove checked items from watchlist",
1051 "watchlistcontains" => "Your watchlist contains $1 pages.",
1052 "watcheditlist" => "Here's an alphabetical list of your
1053 watched pages. Check the boxes of pages you want to remove
1054 from your watchlist and click the 'remove checked' button
1055 at the bottom of the screen.",
1056 "removingchecked" => "Removing requested items from watchlist...",
1057 "couldntremove" => "Couldn't remove item '$1'...",
1058 "iteminvalidname" => "Problem with item '$1', invalid name...",
1059 "wlnote" => "Below are the last $1 changes in the last <b>$2</b> hours.",
1060 "wlshowlast" => "Show last $1 hours $2 days $3",
1061
1062 # Delete/protect/revert
1063 #
1064 "deletepage" => "Delete page",
1065 "confirm" => "Confirm",
1066 "excontent" => "content was:",
1067 "exbeforeblank" => "content before blanking was:",
1068 "exblank" => "page was empty",
1069 "confirmdelete" => "Confirm delete",
1070 "deletesub" => "(Deleting \"$1\")",
1071 "historywarning" => "Warning: The page you are about to delete has a history: ",
1072 "confirmdeletetext" => "You are about to permanently delete a page
1073 or image along with all of its history from the database.
1074 Please confirm that you intend to do this, that you understand the
1075 consequences, and that you are doing this in accordance with
1076 [[$wgMetaNamespace:Policy]].",
1077 "confirmcheck" => "Yes, I really want to delete this.",
1078 "actioncomplete" => "Action complete",
1079 "deletedtext" => "\"$1\" has been deleted.
1080 See $2 for a record of recent deletions.",
1081 "deletedarticle" => "deleted \"$1\"",
1082 "dellogpage" => "Deletion_log",
1083 "dellogpagetext" => "Below is a list of the most recent deletions.
1084 All times shown are server time (UTC).
1085 <ul>
1086 </ul>
1087 ",
1088 "deletionlog" => "deletion log",
1089 "reverted" => "Reverted to earlier revision",
1090 "deletecomment" => "Reason for deletion",
1091 "imagereverted" => "Revert to earlier version was successful.",
1092 "rollback" => "Roll back edits",
1093 "rollbacklink" => "rollback",
1094 "rollbackfailed" => "Rollback failed",
1095 "cantrollback" => "Cannot revert edit; last contributor is only author of this article.",
1096 "alreadyrolled" => "Cannot rollback last edit of [[$1]]
1097 by [[User:$2|$2]] ([[User talk:$2|Talk]]); someone else has edited or rolled back the article already.
1098
1099 Last edit was by [[User:$3|$3]] ([[User talk:$3|Talk]]). ",
1100 # only shown if there is an edit comment
1101 "editcomment" => "The edit comment was: \"<i>$1</i>\".",
1102 "revertpage" => "Reverted to last edit by $1",
1103 "protectlogpage" => "Protection_log",
1104 "protectlogtext" => "Below is a list of page locks/unlocks.
1105 See [[$wgMetaNamespace:Protected page]] for more information.",
1106 "protectedarticle" => "protected [[$1]]",
1107 "unprotectedarticle" => "unprotected [[$1]]",
1108
1109 # Undelete
1110 "undelete" => "Restore deleted page",
1111 "undeletepage" => "View and restore deleted pages",
1112 "undeletepagetext" => "The following pages have been deleted but are still in the archive and
1113 can be restored. The archive may be periodically cleaned out.",
1114 "undeletearticle" => "Restore deleted article",
1115 "undeleterevisions" => "$1 revisions archived",
1116 "undeletehistory" => "If you restore the page, all revisions will be restored to the history.
1117 If a new page with the same name has been created since the deletion, the restored
1118 revisions will appear in the prior history, and the current revision of the live page
1119 will not be automatically replaced.",
1120 "undeleterevision" => "Deleted revision as of $1",
1121 "undeletebtn" => "Restore!",
1122 "undeletedarticle" => "restored \"$1\"",
1123 "undeletedtext" => "The article [[$1]] has been successfully restored.
1124 See [[$wgMetaNamespace:Deletion_log]] for a record of recent deletions and restorations.",
1125
1126 # Contributions
1127 #
1128 "contributions" => "User contributions",
1129 "mycontris" => "My contributions",
1130 "contribsub" => "For $1",
1131 "nocontribs" => "No changes were found matching these criteria.",
1132 "ucnote" => "Below are this user's last <b>$1</b> changes in the last <b>$2</b> days.",
1133 "uclinks" => "View the last $1 changes; view the last $2 days.",
1134 "uctop" => " (top)" ,
1135
1136 # What links here
1137 #
1138 "whatlinkshere" => "What links here",
1139 "notargettitle" => "No target",
1140 "notargettext" => "You have not specified a target page or user
1141 to perform this function on.",
1142 "linklistsub" => "(List of links)",
1143 "linkshere" => "The following pages link to here:",
1144 "nolinkshere" => "No pages link to here.",
1145 "isredirect" => "redirect page",
1146
1147 # Block/unblock IP
1148 #
1149 "blockip" => "Block user",
1150 "blockiptext" => "Use the form below to block write access
1151 from a specific IP address or username.
1152 This should be done only only to prevent vandalism, and in
1153 accordance with [[$wgMetaNamespace:Policy|policy]].
1154 Fill in a specific reason below (for example, citing particular
1155 pages that were vandalized).",
1156 "ipaddress" => "IP Address/username",
1157 "ipbreason" => "Reason",
1158 "ipbsubmit" => "Block this user",
1159 "badipaddress" => "No user exists by that name",
1160 "noblockreason" => "You must supply a reason for the block.",
1161 "blockipsuccesssub" => "Block succeeded",
1162 "blockipsuccesstext" => "\"$1\" has been blocked.
1163 <br>See [[Special:Ipblocklist|IP block list]] to review blocks.",
1164 "unblockip" => "Unblock user",
1165 "unblockiptext" => "Use the form below to restore write access
1166 to a previously blocked IP address or username.",
1167 "ipusubmit" => "Unblock this address",
1168 "ipusuccess" => "\"$1\" unblocked",
1169 "ipblocklist" => "List of blocked IP addresses and usernames",
1170 "blocklistline" => "$1, $2 blocked $3",
1171 "blocklink" => "block",
1172 "unblocklink" => "unblock",
1173 "contribslink" => "contribs",
1174 "autoblocker" => "Autoblocked because you share an IP address with \"$1\". Reason \"$2\".",
1175 "blocklogpage" => "Block_log",
1176 "blocklogentry" => 'blocked "$1"',
1177 "blocklogtext" => "This is a log of user blocking and unblocking actions. Automatically
1178 blocked IP addresses are not be listed. See the [[Special:Ipblocklist|IP block list]] for
1179 the list of currently operational bans and blocks.",
1180 "unblocklogentry" => 'unblocked "$1"',
1181
1182 # Developer tools
1183 #
1184 "lockdb" => "Lock database",
1185 "unlockdb" => "Unlock database",
1186 "lockdbtext" => "Locking the database will suspend the ability of all
1187 users to edit pages, change their preferences, edit their watchlists, and
1188 other things requiring changes in the database.
1189 Please confirm that this is what you intend to do, and that you will
1190 unlock the database when your maintenance is done.",
1191 "unlockdbtext" => "Unlocking the database will restore the ability of all
1192 users to edit pages, change their preferences, edit their watchlists, and
1193 other things requiring changes in the database.
1194 Please confirm that this is what you intend to do.",
1195 "lockconfirm" => "Yes, I really want to lock the database.",
1196 "unlockconfirm" => "Yes, I really want to unlock the database.",
1197 "lockbtn" => "Lock database",
1198 "unlockbtn" => "Unlock database",
1199 "locknoconfirm" => "You did not check the confirmation box.",
1200 "lockdbsuccesssub" => "Database lock succeeded",
1201 "unlockdbsuccesssub" => "Database lock removed",
1202 "lockdbsuccesstext" => "The database has been locked.
1203 <br>Remember to remove the lock after your maintenance is complete.",
1204 "unlockdbsuccesstext" => "The database has been unlocked.",
1205
1206 # SQL query
1207 #
1208 "asksql" => "SQL query",
1209 "asksqltext" => "Use the form below to make a direct query of the
1210 database.
1211 Use single quotes ('like this') to delimit string literals.
1212 This can often add considerable load to the server, so please use
1213 this function sparingly.",
1214 "sqlislogged" => "Please note that all queries are logged.",
1215 "sqlquery" => "Enter query",
1216 "querybtn" => "Submit query",
1217 "selectonly" => "Only read-only queries are allowed.",
1218 "querysuccessful" => "Query successful",
1219
1220 # Move page
1221 #
1222 "movepage" => "Move page",
1223 "movepagetext" => "Using the form below will rename a page, moving all
1224 of its history to the new name.
1225 The old title will become a redirect page to the new title.
1226 Links to the old page title will not be changed; be sure to
1227 [[Special:Maintenance|check]] for double or broken redirects.
1228 You are responsible for making sure that links continue to
1229 point where they are supposed to go.
1230
1231 Note that the page will '''not''' be moved if there is already
1232 a page at the new title, unless it is empty or a redirect and has no
1233 past edit history. This means that you can rename a page back to where
1234 it was just renamed from if you make a mistake, and you cannot overwrite
1235 an existing page.
1236
1237 <b>WARNING!</b>
1238 This can be a drastic and unexpected change for a popular page;
1239 please be sure you understand the consequences of this before
1240 proceeding.",
1241 "movepagetalktext" => "The associated talk page, if any, will be automatically moved along with it '''unless:'''
1242 *You are moving the page across namespaces,
1243 *A non-empty talk page already exists under the new name, or
1244 *You uncheck the box below.
1245
1246 In those cases, you will have to move or merge the page manually if desired.",
1247 "movearticle" => "Move page",
1248 "movenologin" => "Not logged in",
1249 "movenologintext" => "You must be a registered user and <a href=\"" .
1250 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
1251 to move a page.",
1252 "newtitle" => "To new title",
1253 "movepagebtn" => "Move page",
1254 "pagemovedsub" => "Move succeeded",
1255 "pagemovedtext" => "Page \"[[$1]]\" moved to \"[[$2]]\".",
1256 "articleexists" => "A page of that name already exists, or the
1257 name you have chosen is not valid.
1258 Please choose another name.",
1259 "talkexists" => "The page itself was moved successfully, but the
1260 talk page could not be moved because one already exists at the new
1261 title. Please merge them manually.",
1262 "movedto" => "moved to",
1263 "movetalk" => "Move \"talk\" page as well, if applicable.",
1264 "talkpagemoved" => "The corresponding talk page was also moved.",
1265 "talkpagenotmoved" => "The corresponding talk page was <strong>not</strong> moved.",
1266
1267 "export" => "Export pages",
1268 "exporttext" => "You can export the text and editing history of a particular
1269 page or set of pages wrapped in some XML; this can then be imported into another
1270 wiki running MediaWiki software, transformed, or just kept for your private
1271 amusement.",
1272 "exportcuronly" => "Include only the current revision, not the full history",
1273
1274 # Namespace 8 related
1275
1276 "allmessages" => "All_messages",
1277 "allmessagestext" => "This is a list of all messages available in the MediaWiki: namespace"
1278 );
1279
1280 #--------------------------------------------------------------------------
1281 # Internationalisation code
1282 #--------------------------------------------------------------------------
1283
1284 class Language {
1285
1286 function getDefaultUserOptions () {
1287 global $wgDefaultUserOptionsEn ;
1288 return $wgDefaultUserOptionsEn ;
1289 }
1290
1291 function getBookstoreList () {
1292 global $wgBookstoreListEn ;
1293 return $wgBookstoreListEn ;
1294 }
1295
1296 function getNamespaces() {
1297 global $wgNamespaceNamesEn;
1298 return $wgNamespaceNamesEn;
1299 }
1300
1301 function getNsText( $index ) {
1302 global $wgNamespaceNamesEn;
1303 return $wgNamespaceNamesEn[$index];
1304 }
1305
1306 function getNsIndex( $text ) {
1307 global $wgNamespaceNamesEn;
1308
1309 foreach ( $wgNamespaceNamesEn as $i => $n ) {
1310 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
1311 }
1312 return false;
1313 }
1314
1315 function specialPage( $name ) {
1316 return $this->getNsText( Namespace::getSpecial() ) . ":" . $name;
1317 }
1318
1319 function getQuickbarSettings() {
1320 global $wgQuickbarSettingsEn;
1321 return $wgQuickbarSettingsEn;
1322 }
1323
1324 function getSkinNames() {
1325 global $wgSkinNamesEn;
1326 return $wgSkinNamesEn;
1327 }
1328
1329 function getMathNames() {
1330 global $wgMathNamesEn;
1331 return $wgMathNamesEn;
1332 }
1333
1334 function getDateFormats() {
1335 global $wgDateFormatsEn;
1336 return $wgDateFormatsEn;
1337 }
1338
1339 function getUserToggles() {
1340 global $wgUserTogglesEn;
1341 return $wgUserTogglesEn;
1342 }
1343
1344 function getLanguageNames() {
1345 global $wgLanguageNamesEn;
1346 return $wgLanguageNamesEn;
1347 }
1348
1349 function getLanguageName( $code ) {
1350 global $wgLanguageNamesEn;
1351 if ( ! array_key_exists( $code, $wgLanguageNamesEn ) ) {
1352 return "";
1353 }
1354 return $wgLanguageNamesEn[$code];
1355 }
1356
1357 function getMonthName( $key )
1358 {
1359 global $wgMonthNamesEn;
1360 return $wgMonthNamesEn[$key-1];
1361 }
1362
1363 /* by default we just return base form */
1364 function getMonthNameGen( $key )
1365 {
1366 global $wgMonthNamesEn;
1367 return $wgMonthNamesEn[$key-1];
1368 }
1369
1370 function getMonthAbbreviation( $key )
1371 {
1372 global $wgMonthAbbreviationsEn;
1373 return $wgMonthAbbreviationsEn[$key-1];
1374 }
1375
1376 function getWeekdayName( $key )
1377 {
1378 global $wgWeekdayNamesEn;
1379 return $wgWeekdayNamesEn[$key-1];
1380 }
1381
1382 function userAdjust( $ts )
1383 {
1384 global $wgUser, $wgLocalTZoffset;
1385
1386 $diff = $wgUser->getOption( "timecorrection" );
1387 if ( ! is_numeric( $diff ) ) {
1388 $diff = isset( $wgLocalTZoffset ) ? $wgLocalTZoffset : 0;
1389 }
1390 if ( 0 == $diff ) { return $ts; }
1391
1392 $t = mktime( ( (int)substr( $ts, 8, 2) ) + $diff,
1393 (int)substr( $ts, 10, 2 ), (int)substr( $ts, 12, 2 ),
1394 (int)substr( $ts, 4, 2 ), (int)substr( $ts, 6, 2 ),
1395 (int)substr( $ts, 0, 4 ) );
1396 return date( "YmdHis", $t );
1397 }
1398
1399 function date( $ts, $adj = false )
1400 {
1401 global $wgAmericanDates, $wgUser, $wgUseDynamicDates;
1402
1403 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1404
1405 if ( $wgUseDynamicDates ) {
1406 $datePreference = $wgUser->getOption( 'date' );
1407 if ( $datePreference == 0 ) {
1408 $datePreference = $wgAmericanDates ? 1 : 2;
1409 }
1410 } else {
1411 $datePreference = $wgAmericanDates ? 1 : 2;
1412 }
1413
1414 if ( $datePreference == 1 ) {
1415 # MDY
1416 $d = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
1417 " " . (0 + substr( $ts, 6, 2 )) . ", " .
1418 substr( $ts, 0, 4 );
1419 } else if ( $datePreference == 2 ) {
1420 #DMY
1421 $d = (0 + substr( $ts, 6, 2 )) . " " .
1422 $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) . " " .
1423 substr( $ts, 0, 4 );
1424 } else {
1425 #YMD
1426 $d = substr( $ts, 0, 4 ) . " " . $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
1427 " " . (0 + substr( $ts, 6, 2 ));
1428 }
1429
1430 return $d;
1431 }
1432
1433 function time( $ts, $adj = false )
1434 {
1435 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1436
1437 $t = substr( $ts, 8, 2 ) . ":" . substr( $ts, 10, 2 );
1438 return $t;
1439 }
1440
1441 function timeanddate( $ts, $adj = false )
1442 {
1443 return $this->time( $ts, $adj ) . ", " . $this->date( $ts, $adj );
1444 }
1445
1446 function rfc1123( $ts )
1447 {
1448 return date( "D, d M Y H:i:s T", $ts );
1449 }
1450
1451 function getValidSpecialPages()
1452 {
1453 global $wgValidSpecialPagesEn;
1454 return $wgValidSpecialPagesEn;
1455 }
1456
1457 function getSysopSpecialPages()
1458 {
1459 global $wgSysopSpecialPagesEn;
1460 return $wgSysopSpecialPagesEn;
1461 }
1462
1463 function getDeveloperSpecialPages()
1464 {
1465 global $wgDeveloperSpecialPagesEn;
1466 return $wgDeveloperSpecialPagesEn;
1467 }
1468
1469 function getMessage( $key )
1470 {
1471 global $wgAllMessagesEn;
1472 return $wgAllMessagesEn[$key];
1473 }
1474
1475 function getAllMessages()
1476 {
1477 global $wgAllMessagesEn;
1478 return $wgAllMessagesEn;
1479 }
1480
1481 function iconv( $in, $out, $string ) {
1482 # For most languages, this is a wrapper for iconv
1483 return iconv( $in, $out, $string );
1484 }
1485
1486 function ucfirst( $string ) {
1487 # For most languages, this is a wrapper for ucfirst()
1488 return ucfirst( $string );
1489 }
1490
1491 function checkTitleEncoding( $s ) {
1492 global $wgInputEncoding;
1493
1494 # Check for UTF-8 URLs; Internet Explorer produces these if you
1495 # type non-ASCII chars in the URL bar or follow unescaped links.
1496 $ishigh = preg_match( '/[\x80-\xff]/', $s);
1497 $isutf = ($ishigh ? preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|' .
1498 '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s ) : true );
1499
1500 if( ($wgInputEncoding != "utf-8") and $ishigh and $isutf )
1501 return iconv( "UTF-8", $wgInputEncoding, $s );
1502
1503 if( ($wgInputEncoding == "utf-8") and $ishigh and !$isutf )
1504 return utf8_encode( $s );
1505
1506 # Other languages can safely leave this function, or replace
1507 # it with one to detect and convert another legacy encoding.
1508 return $s;
1509 }
1510
1511 function stripForSearch( $in ) {
1512 # Some languages have special punctuation to strip out
1513 # or characters which need to be converted for MySQL's
1514 # indexing to grok it correctly. Make such changes here.
1515 return $in;
1516 }
1517
1518
1519 function setAltEncoding() {
1520 # Some languages may have an alternate char encoding option
1521 # (Esperanto X-coding, Japanese furigana conversion, etc)
1522 # If 'altencoding' is checked in user prefs, this gives a
1523 # chance to swap out the default encoding settings.
1524 #global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1525 }
1526
1527 function recodeForEdit( $s ) {
1528 # For some languages we'll want to explicitly specify
1529 # which characters make it into the edit box raw
1530 # or are converted in some way or another.
1531 # Note that if wgOutputEncoding is different from
1532 # wgInputEncoding, this text will be further converted
1533 # to wgOutputEncoding.
1534 global $wgInputEncoding, $wgEditEncoding;
1535 if( $wgEditEncoding == "" or
1536 $wgEditEncoding == $wgInputEncoding ) {
1537 return $s;
1538 } else {
1539 return $this->iconv( $wgInputEncoding, $wgEditEncoding, $s );
1540 }
1541 }
1542
1543 function recodeInput( $s ) {
1544 # Take the previous into account.
1545 global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1546 if($wgEditEncoding != "") {
1547 $enc = $wgEditEncoding;
1548 } else {
1549 $enc = $wgOutputEncoding;
1550 }
1551 if( $enc == $wgInputEncoding ) {
1552 return $s;
1553 } else {
1554 return $this->iconv( $enc, $wgInputEncoding, $s );
1555 }
1556 }
1557
1558 # For right-to-left language support
1559 function isRTL() { return false; }
1560
1561 function getMagicWords()
1562 {
1563 global $wgMagicWordsEn;
1564 return $wgMagicWordsEn;
1565 }
1566
1567 # Fill a MagicWord object with data from here
1568 function getMagic( &$mw )
1569 {
1570 $raw = $this->getMagicWords(); # don't worry, it's reference counted not deep copy
1571 $rawEntry = $raw[$mw->mId];
1572 $mw->mCaseSensitive = $rawEntry[0];
1573 $mw->mSynonyms = array_slice( $rawEntry, 1 );
1574 }
1575 }
1576
1577 @include_once( "Language" . ucfirst( $wgLanguageCode ) . ".php" );
1578
1579 ?>