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