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