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