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