more updates from wiki
[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 "Categories" => "Page categories",
279 );
280
281 /* private */ $wgSysopSpecialPagesEn = array(
282 "Blockip" => "Block an IP address",
283 "Asksql" => "Query the database",
284 "Undelete" => "Restore deleted pages"
285 );
286
287 /* private */ $wgDeveloperSpecialPagesEn = array(
288 "Lockdb" => "Make database read-only",
289 "Unlockdb" => "Restore DB write access",
290 "Debug" => "Debugging information"
291 );
292
293 /* private */ $wgAllMessagesEn = array(
294
295 # Bits of text used by many pages:
296 #
297 "categories" => "Page categories",
298 "category" => "category",
299 "category_header" => "Articles in category \"$1\"",
300 "subcategories" => "Subcategories",
301
302 "linktrail" => "/^([a-z]+)(.*)\$/sD",
303 "mainpage" => "Main Page",
304 "mainpagetext" => "Wiki software successfully installed.",
305 "about" => "About",
306 "aboutwikipedia" => "About Wikipedia",
307 "aboutpage" => "Wikipedia:About",
308 "help" => "Help",
309 "helppage" => "Wikipedia:Help",
310 "wikititlesuffix" => "Wikipedia",
311 "bugreports" => "Bug reports",
312 "bugreportspage" => "Wikipedia:Bug_reports",
313 "faq" => "FAQ",
314 "faqpage" => "Wikipedia:FAQ",
315 "edithelp" => "Editing help",
316 "edithelppage" => "Wikipedia:How_does_one_edit_a_page",
317 "cancel" => "Cancel",
318 "qbfind" => "Find",
319 "qbbrowse" => "Browse",
320 "qbedit" => "Edit",
321 "qbpageoptions" => "Page options",
322 "qbpageinfo" => "Page info",
323 "qbmyoptions" => "My options",
324 "mypage" => "My page",
325 "mytalk" => "My talk",
326 "currentevents" => "Current events",
327 "errorpagetitle" => "Error",
328 "returnto" => "Return to $1.",
329 "fromwikipedia" => "From Wikipedia, the free encyclopedia.",
330 "whatlinkshere" => "Pages that link here",
331 "help" => "Help",
332 "search" => "Search",
333 "go" => "Go",
334 "history" => "Page history",
335 "printableversion" => "Printable version",
336 "editthispage" => "Edit this page",
337 "deletethispage" => "Delete this page",
338 "protectthispage" => "Protect this page",
339 "unprotectthispage" => "Unprotect this page",
340 "newpage" => "New page",
341 "talkpage" => "Discuss this page",
342 "articlepage" => "View article",
343 "subjectpage" => "View subject", # For compatibility
344 "userpage" => "View user page",
345 "wikipediapage" => "View meta page",
346 "imagepage" => "View image page",
347 "viewtalkpage" => "View discussion",
348 "otherlanguages" => "Other languages",
349 "redirectedfrom" => "(Redirected from $1)",
350 "lastmodified" => "This page was last modified $1.",
351 "viewcount" => "This page has been accessed $1 times.",
352 "gnunote" => "All text is available under the terms of the <a class=internal href='/wiki/GNU_FDL'>GNU Free Documentation License</a>.",
353 "printsubtitle" => "(From http://www.wikipedia.org)",
354 "protectedpage" => "Protected page",
355 "administrators" => "Wikipedia:Administrators",
356 "sysoptitle" => "Sysop access required",
357 "sysoptext" => "The action you have requested can only be
358 performed by users with \"sysop\" status.
359 See $1.",
360 "developertitle" => "Developer access required",
361 "developertext" => "The action you have requested can only be
362 performed by users with \"developer\" status.
363 See $1.",
364 "nbytes" => "$1 bytes",
365 "go" => "Go",
366 "ok" => "OK",
367 "sitetitle" => "Wikipedia",
368 "sitesubtitle" => "The Free Encyclopedia",
369 "retrievedfrom" => "Retrieved from \"$1\"",
370 "newmessages" => "You have $1.",
371 "newmessageslink" => "new messages",
372 "editsection"=>"edit",
373 "toc" => "Table of contents",
374 "showtoc" => "show",
375 "hidetoc" => "hide",
376
377 # Main script and global functions
378 #
379 "nosuchaction" => "No such action",
380 "nosuchactiontext" => "The action specified by the URL is not
381 recognized by the Wikipedia software",
382 "nosuchspecialpage" => "No such special page",
383 "nospecialpagetext" => "You have requested a special page that is not
384 recognized by the Wikipedia software.",
385
386 # General errors
387 #
388 "error" => "Error",
389 "databaseerror" => "Database error",
390 "dberrortext" => "A database query syntax error has occurred.
391 This could be because of an illegal search query (see $5),
392 or it may indicate a bug in the software.
393 The last attempted database query was:
394 <blockquote><tt>$1</tt></blockquote>
395 from within function \"<tt>$2</tt>\".
396 MySQL returned error \"<tt>$3: $4</tt>\".",
397 "dberrortextcl" => "A database query syntax error has occurred.
398 The last attempted database query was:
399 \"$1\"
400 from within function \"$2\".
401 MySQL returned error \"$3: $4\".\n",
402 "noconnect" => "Could not connect to DB on $1",
403 "nodb" => "Could not select database $1",
404 "readonly" => "Database locked",
405 "enterlockreason" => "Enter a reason for the lock, including an estimate
406 of when the lock will be released",
407 "readonlytext" => "The Wikipedia database is currently locked to new
408 entries and other modifications, probably for routine database maintenance,
409 after which it will be back to normal.
410 The administrator who locked it offered this explanation:
411 <p>$1",
412 "missingarticle" => "The database did not find the text of a page
413 that it should have found, named \"$1\".
414
415 <p>This is usually caused by following an outdated diff or history link to a
416 page that has been deleted.
417
418 <p>If this is not the case, you may have found a bug in the software.
419 Please report this to an administrator, making note of the URL.",
420 "internalerror" => "Internal error",
421 "filecopyerror" => "Could not copy file \"$1\" to \"$2\".",
422 "filerenameerror" => "Could not rename file \"$1\" to \"$2\".",
423 "filedeleteerror" => "Could not delete file \"$1\".",
424 "filenotfound" => "Could not find file \"$1\".",
425 "unexpected" => "Unexpected value: \"$1\"=\"$2\".",
426 "formerror" => "Error: could not submit form",
427 "badarticleerror" => "This action cannot be performed on this page.",
428 "cannotdelete" => "Could not delete the page or image specified. (It may have already been deleted by someone else.)",
429 "badtitle" => "Bad title",
430 "badtitletext" => "The requested page title was invalid, empty, or
431 an incorrectly linked inter-language or inter-wiki title.",
432 "perfdisabled" => "Sorry! This feature has been temporarily disabled
433 because it slows the database down to the point that no one can use
434 the wiki.",
435 "perfdisabledsub" => "Here's a saved copy from $1:",
436
437 # Login and logout pages
438 #
439 "logouttitle" => "User logout",
440 "logouttext" => "You are now logged out.
441 You can continue to use Wikipedia anonymously, or you can log in
442 again as the same or as a different user.\n",
443
444 "welcomecreation" => "<h2>Welcome, $1!</h2><p>Your account has been created.
445 Don't forget to personalize your wikipedia preferences.",
446
447 "loginpagetitle" => "User login",
448 "yourname" => "Your user name",
449 "yourpassword" => "Your password",
450 "yourpasswordagain" => "Retype password",
451 "newusersonly" => " (new users only)",
452 "remembermypassword" => "Remember my password across sessions.",
453 "loginproblem" => "<b>There has been a problem with your login.</b><br>Try again!",
454 "alreadyloggedin" => "<font color=red><b>User $1, you are already logged in!</b></font><br>\n",
455
456 "areyounew" => "If you are new to Wikipedia and want to get a user account,
457 enter a user name, then type and re-type a password.
458 Your e-mail address is optional; if you lose your password you can request
459 that it be to the address you give.<br>\n",
460
461 "login" => "Log in",
462 "userlogin" => "Log in",
463 "logout" => "Log out",
464 "userlogout" => "Log out",
465 "notloggedin" => "Not logged in",
466 "createaccount" => "Create new account",
467 "badretype" => "The passwords you entered do not match.",
468 "userexists" => "The user name you entered is already in use. Please choose a different name.",
469 "youremail" => "Your e-mail*",
470 "yournick" => "Your nickname (for signatures)",
471 "emailforlost" => "* Entering an email address is optional. But it enables people to
472 contact you through the website without you having to reveal your
473 email address to them, and it also helps you if you forget your
474 password.",
475 "loginerror" => "Login error",
476 "noname" => "You have not specified a valid user name.",
477 "loginsuccesstitle" => "Login successful",
478 "loginsuccess" => "You are now logged in to Wikipedia as \"$1\".",
479 "nosuchuser" => "There is no user by the name \"$1\".
480 Check your spelling, or use the form below to create a new user account.",
481 "wrongpassword" => "The password you entered is incorrect. Please try again.",
482 "mailmypassword" => "Mail me a new password",
483 "passwordremindertitle" => "Password reminder from Wikipedia",
484 "passwordremindertext" => "Someone (probably you, from IP address $1)
485 requested that we send you a new Wikipedia login password.
486 The password for user \"$2\" is now \"$3\".
487 You should log in and change your password now.",
488 "noemail" => "There is no e-mail address recorded for user \"$1\".",
489 "passwordsent" => "A new password has been sent to the e-mail address
490 registered for \"$1\".
491 Please log in again after you receive it.",
492
493 # Edit pages
494 #
495 "summary" => "Summary",
496 "minoredit" => "This is a minor edit",
497 "watchthis" => "Watch this article",
498 "savearticle" => "Save page",
499 "preview" => "Preview",
500 "showpreview" => "Show preview",
501 "blockedtitle" => "User is blocked",
502 "blockedtext" => "Your user name or IP address has been blocked by $1.
503 The reason given is this:<br>''$2''<p>You may contact $1 or one of the other
504 [[Wikipedia:administrators|administrators]] to discuss the block.",
505 "newarticle" => "(New)",
506 "newarticletext" =>
507 "You've followed a link to a page that doesn't exist yet.
508 To create the page, start typing in the box below
509 (see the [[Wikipedia:Help|help page]] for more info).
510 If you are here by mistake, just click your browser's '''back''' button.",
511 "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.'' ",
512 "noarticletext" => "(There is currently no text in this page)",
513 "updated" => "(Updated)",
514 "note" => "<strong>Note:</strong> ",
515 "previewnote" => "Remember that this is only a preview, and has not yet been saved!",
516 "previewconflict" => "This preview reflects the text in the upper
517 text editing area as it will appear if you choose to save.",
518 "editing" => "Editing $1",
519 "sectionedit" => " (section)",
520 "editconflict" => "Edit conflict: $1",
521 "explainconflict" => "Someone else has changed this page since you
522 started editing it.
523 The upper text area contains the page text as it currently exists.
524 Your changes are shown in the lower text area.
525 You will have to merge your changes into the existing text.
526 <b>Only</b> the text in the upper text area will be saved when you
527 press \"Save page\".\n<p>",
528 "yourtext" => "Your text",
529 "storedversion" => "Stored version",
530 "editingold" => "<strong>WARNING: You are editing an out-of-date
531 revision of this page.
532 If you save it, any changes made since this revision will be lost.</strong>\n",
533 "yourdiff" => "Differences",
534 "copyrightwarning" => "Please note that all contributions to Wikipedia are
535 considered to be released under the GNU Free Documentation License
536 (see $1 for details).
537 If you don't want your writing to be edited mercilessly and redistributed
538 at will, then don't submit it here.<br>
539 You are also promising us that you wrote this yourself, or copied it from a
540 public domain or similar free resource.
541 <strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>",
542 "longpagewarning" => "WARNING: This page is $1 kilobytes long; some
543 browsers may have problems editing pages approaching or longer than 32kb.
544 Please consider breaking the page into smaller sections.",
545 "readonlywarning" => "WARNING: The database has been locked for maintenance,
546 so you will not be able to save your edits right now. You may wish to cut-n-paste
547 the text into a text file and save it for later.",
548 "protectedpagewarning" => "WARNING: This page has been locked so that only
549 users with sysop privileges can edit it. Be sure you are following the
550 <a href='/wiki/Wikipedia:Protected_page_guidelines'>protected page
551 guidelines</a>.",
552
553 # History pages
554 #
555 "revhistory" => "Revision history",
556 "nohistory" => "There is no edit history for this page.",
557 "revnotfound" => "Revision not found",
558 "revnotfoundtext" => "The old revision of the page you asked for could not be found.
559 Please check the URL you used to access this page.\n",
560 "loadhist" => "Loading page history",
561 "currentrev" => "Current revision",
562 "revisionasof" => "Revision as of $1",
563 "cur" => "cur",
564 "next" => "next",
565 "last" => "last",
566 "orig" => "orig",
567 "histlegend" => "Legend: (cur) = difference with current version,
568 (last) = difference with preceding version, M = minor edit",
569
570 # Diffs
571 #
572 "difference" => "(Difference between revisions)",
573 "loadingrev" => "loading revision for diff",
574 "lineno" => "Line $1:",
575 "editcurrent" => "Edit the current version of this page",
576
577 # Search results
578 #
579 "searchresults" => "Search results",
580 "searchhelppage" => "Wikipedia:Searching",
581 "searchingwikipedia" => "Searching Wikipedia",
582 "searchresulttext" => "For more information about searching Wikipedia, see $1.",
583 "searchquery" => "For query \"$1\"",
584 "badquery" => "Badly formed search query",
585 "badquerytext" => "We could not process your query.
586 This is probably because you have attempted to search for a
587 word fewer than three letters long, which is not yet supported.
588 It could also be that you have mistyped the expression, for
589 example \"fish and and scales\".
590 Please try another query.",
591 "matchtotals" => "The query \"$1\" matched $2 article titles
592 and the text of $3 articles.",
593 "nogomatch" => "No page with this exact title exists, trying full text search.",
594 "titlematches" => "Article title matches",
595 "notitlematches" => "No article title matches",
596 "textmatches" => "Article text matches",
597 "notextmatches" => "No article text matches",
598 "prevn" => "previous $1",
599 "nextn" => "next $1",
600 "viewprevnext" => "View ($1) ($2) ($3).",
601 "showingresults" => "Showing below <b>$1</b> results starting with #<b>$2</b>.",
602 "showingresultsnum" => "Showing below <b>$3</b> results starting with #<b>$2</b>.",
603 "nonefound" => "<strong>Note</strong>: unsuccessful searches are
604 often caused by searching for common words like \"have\" and \"from\",
605 which are not indexed, or by specifying more than one search term (only pages
606 containing all of the search terms will appear in the result).",
607 "powersearch" => "Search",
608 "powersearchtext" => "
609 Search in namespaces :<br>
610 $1<br>
611 $2 List redirects &nbsp; Search for $3 $9",
612
613
614 # Preferences page
615 #
616 "preferences" => "Preferences",
617 "prefsnologin" => "Not logged in",
618 "prefsnologintext" => "You must be <a href=\"" .
619 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
620 to set user preferences.",
621 "prefslogintext" => "You are logged in as \"$1\".
622 Your internal ID number is $2.
623
624 See [[Wikipedia:User preferences help]] for help deciphering the options.",
625 "prefsreset" => "Preferences have been reset from storage.",
626 "qbsettings" => "Quickbar settings",
627 "changepassword" => "Change password",
628 "skin" => "Skin",
629 "math" => "Rendering math",
630 "dateformat" => "Date format",
631 "math_failure" => "Failed to parse",
632 "math_unknown_error" => "unknown error",
633 "math_unknown_function" => "unknown function ",
634 "math_lexing_error" => "lexing error",
635 "math_syntax_error" => "syntax error",
636 "saveprefs" => "Save preferences",
637 "resetprefs" => "Reset preferences",
638 "oldpassword" => "Old password",
639 "newpassword" => "New password",
640 "retypenew" => "Retype new password",
641 "textboxsize" => "Textbox dimensions",
642 "rows" => "Rows",
643 "columns" => "Columns",
644 "searchresultshead" => "Search result settings",
645 "resultsperpage" => "Hits to show per page",
646 "contextlines" => "Lines to show per hit",
647 "contextchars" => "Characters of context per line",
648 "stubthreshold" => "Threshold for stub display",
649 "recentchangescount" => "Number of titles in recent changes",
650 "savedprefs" => "Your preferences have been saved.",
651 "timezonetext" => "Enter number of hours your local time differs
652 from server time (UTC).",
653 "localtime" => "Local time display",
654 "timezoneoffset" => "Offset",
655 "servertime" => "Server time is now",
656 "guesstimezone" => "Fill in from browser",
657 "emailflag" => "Disable e-mail from other users",
658 "defaultns" => "Search in these namespaces by default:",
659
660 # Recent changes
661 #
662 "changes" => "changes",
663 "recentchanges" => "Recent changes",
664 "recentchangestext" => "Track the most recent changes to Wikipedia on this page.
665 [[Wikipedia:Welcome,_newcomers|Welcome, newcomers]]!
666 Please have a look at these pages: [[wikipedia:FAQ|Wikipedia FAQ]],
667 [[Wikipedia:Policies and guidelines|Wikipedia policy]]
668 (especially [[wikipedia:Naming conventions|naming conventions]],
669 [[wikipedia:Neutral point of view|neutral point of view]]),
670 and [[wikipedia:Most common Wikipedia faux pas|most common Wikipedia faux pas]].
671
672 If you want to see Wikipedia succeed, it's very important that you don't add
673 material restricted by others' [[wikipedia:Copyrights|copyrights]].
674 The legal liability could really hurt the project, so please don't do it.
675 See also the [http://meta.wikipedia.org/wiki/Special:Recentchanges recent meta discussion].",
676 "rcloaderr" => "Loading recent changes",
677 "rcnote" => "Below are the last <strong>$1</strong> changes in last <strong>$2</strong> days.",
678 "rcnotefrom" => "Below are the changes since <b>$2</b> (up to <b>$1</b> shown).",
679 "rclistfrom" => "Show new changes starting from $1",
680 # "rclinks" => "Show last $1 changes in last $2 hours / last $3 days",
681 # "rclinks" => "Show last $1 changes in last $2 days.",
682 "rclinks" => "Show last $1 changes in last $2 days; $3 minor edits",
683 "rchide" => "in $4 form; $1 minor edits; $2 secondary namespaces; $3 multiple edits.",
684 "rcliu" => "; $1 edits from logged in users",
685 "diff" => "diff",
686 "hist" => "hist",
687 "hide" => "hide",
688 "show" => "show",
689 "tableform" => "table",
690 "listform" => "list",
691 "nchanges" => "$1 changes",
692 "minoreditletter" => "M",
693 "newpageletter" => "N",
694
695 # Upload
696 #
697 "upload" => "Upload file",
698 "uploadbtn" => "Upload file",
699 "uploadlink" => "Upload images",
700 "reupload" => "Re-upload",
701 "reuploaddesc" => "Return to the upload form.",
702 "uploadnologin" => "Not logged in",
703 "uploadnologintext" => "You must be <a href=\"" .
704 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
705 to upload files.",
706 "uploadfile" => "Upload file",
707 "uploaderror" => "Upload error",
708 "uploadtext" => "<strong>STOP!</strong> Before you upload here,
709 make sure to read and follow Wikipedia's <a href=\"" .
710 wfLocalUrlE( "Wikipedia:Image_use_policy" ) . "\">image use policy</a>.
711 <p>To view or search previously uploaded images,
712 go to the <a href=\"" . wfLocalUrlE( "Special:Imagelist" ) .
713 "\">list of uploaded images</a>.
714 Uploads and deletions are logged on the <a href=\"" .
715 wfLocalUrlE( "Wikipedia:Upload_log" ) . "\">upload log</a>.
716 <p>Use the form below to upload new image files for use in
717 illustrating your articles.
718 On most browsers, you will see a \"Browse...\" button, which will
719 bring up your operating system's standard file open dialog.
720 Choosing a file will fill the name of that file into the text
721 field next to the button.
722 You must also check the box affirming that you are not
723 violating any copyrights by uploading the file.
724 Press the \"Upload\" button to finish the upload.
725 This may take some time if you have a slow internet connection.
726 <p>The preferred formats are JPEG for photographic images, PNG
727 for drawings and other iconic images, and OGG for sounds.
728 Please name your files descriptively to avoid confusion.
729 To include the image in an article, use a link in the form
730 <b>[[image:file.jpg]]</b> or <b>[[image:file.png|alt text]]</b>
731 or <b>[[media:file.ogg]]</b> for sounds.
732 <p>Please note that as with Wikipedia pages, others may edit or
733 delete your uploads if they think it serves the encyclopedia, and
734 you may be blocked from uploading if you abuse the system.",
735 "uploadlog" => "upload log",
736 "uploadlogpage" => "Upload_log",
737 "uploadlogpagetext" => "Below is a list of the most recent file uploads.
738 All times shown are server time (UTC).
739 <ul>
740 </ul>
741 ",
742 "filename" => "Filename",
743 "filedesc" => "Summary",
744 "affirmation" => "I affirm that the copyright holder of this file
745 agrees to license it under the terms of the $1.",
746 "copyrightpage" => "Wikipedia:Copyrights",
747 "copyrightpagename" => "Wikipedia copyright",
748 "uploadedfiles" => "Uploaded files",
749 "noaffirmation" => "You must affirm that your upload does not violate
750 any copyrights.",
751 "ignorewarning" => "Ignore warning and save file anyway.",
752 "minlength" => "Image names must be at least three letters.",
753 "badfilename" => "Image name has been changed to \"$1\".",
754 "badfiletype" => "\".$1\" is not a recommended image file format.",
755 "largefile" => "It is recommended that images not exceed 100k in size.",
756 "successfulupload" => "Successful upload",
757 "fileuploaded" => "File \"$1\" uploaded successfully.
758 Please follow this link: ($2) to the description page and fill
759 in information about the file, such as where it came from, when it was
760 created and by whom, and anything else you may know about it.",
761 "uploadwarning" => "Upload warning",
762 "savefile" => "Save file",
763 "uploadedimage" => "uploaded \"$1\"",
764
765 # Image list
766 #
767 "imagelist" => "Image list",
768 "imagelisttext" => "Below is a list of $1 images sorted $2.",
769 "getimagelist" => "fetching image list",
770 "ilshowmatch" => "Show all images with names matching",
771 "ilsubmit" => "Search",
772 "showlast" => "Show last $1 images sorted $2.",
773 "all" => "all",
774 "byname" => "by name",
775 "bydate" => "by date",
776 "bysize" => "by size",
777 "imgdelete" => "del",
778 "imgdesc" => "desc",
779 "imglegend" => "Legend: (desc) = show/edit image description.",
780 "imghistory" => "Image history",
781 "revertimg" => "rev",
782 "deleteimg" => "del",
783 "imghistlegend" => "Legend: (cur) = this is the current image, (del) = delete
784 this old version, (rev) = revert to this old version.
785 <br><i>Click on date to see image uploaded on that date</i>.",
786 "imagelinks" => "Image links",
787 "linkstoimage" => "The following pages link to this image:",
788 "nolinkstoimage" => "There are no pages that link to this image.",
789
790 # Statistics
791 #
792 "statistics" => "Statistics",
793 "sitestats" => "Site statistics",
794 "userstats" => "User statistics",
795 "sitestatstext" => "There are <b>$1</b> total pages in the database.
796 This includes \"talk\" pages, pages about Wikipedia, minimal \"stub\"
797 pages, redirects, and others that probably don't qualify as articles.
798 Excluding those, there are <b>$2</b> pages that are probably legitimate
799 articles.<p>
800 There have been a total of <b>$3</b> page views, and <b>$4</b> page edits
801 since the software was upgraded (July 20, 2002).
802 That comes to <b>$5</b> average edits per page, and <b>$6</b> views per edit.",
803 "userstatstext" => "There are <b>$1</b> registered users.
804 <b>$2</b> of these are administrators (see $3).",
805
806 # Maintenance Page
807 #
808 "maintenance" => "Maintenance page",
809 "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 ;-)",
810 "maintenancebacklink" => "Back to Maintenance Page",
811 "disambiguations" => "Disambiguation pages",
812 "disambiguationspage" => "Wikipedia:Links_to_disambiguating_pages",
813 "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.",
814 "doubleredirects" => "Double Redirects",
815 "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.",
816 "brokenredirects" => "Broken Redirects",
817 "brokenredirectstext" => "The following redirects link to a non-existing article.",
818 "selflinks" => "Pages with Self Links",
819 "selflinkstext" => "The following pages contain a link to themselves, which they should not.",
820 "mispeelings" => "Pages with misspellings",
821 "mispeelingstext" => "The following pages contain a common misspelling, which are listed on $1. The correct spelling might be given (like this).",
822 "mispeelingspage" => "List of common misspellings",
823 "missinglanguagelinks" => "Missing Language Links",
824 "missinglanguagelinksbutton" => "Find missing language links for",
825 "missinglanguagelinkstext" => "These articles do <i>not</i> link to their counterpart in $1. Redirects and subpages are <i>not</i> shown.",
826
827
828 # Miscellaneous special pages
829 #
830 "orphans" => "Orphaned pages",
831 "lonelypages" => "Orphaned pages",
832 "unusedimages" => "Unused images",
833 "popularpages" => "Popular pages",
834 "nviews" => "$1 views",
835 "wantedpages" => "Wanted pages",
836 "nlinks" => "$1 links",
837 "allpages" => "All pages",
838 "randompage" => "Random page",
839 "shortpages" => "Short pages",
840 "longpages" => "Long pages",
841 "listusers" => "User list",
842 "specialpages" => "Special pages",
843 "spheading" => "Special pages",
844 "sysopspheading" => "Special pages for sysop use",
845 "developerspheading" => "Special pages for developer use",
846 "protectpage" => "Protect page",
847 "recentchangeslinked" => "Related changes",
848 "rclsub" => "(to pages linked from \"$1\")",
849 "debug" => "Debug",
850 "newpages" => "New pages",
851 "ancientpages" => "Oldest articles",
852 "intl" => "Interlanguage links",
853 "movethispage" => "Move this page",
854 "unusedimagestext" => "<p>Please note that other web sites
855 such as the international Wikipedias may link to an image with
856 a direct URL, and so may still be listed here despite being
857 in active use.",
858 "booksources" => "Book sources",
859 "booksourcetext" => "Below is a list of links to other sites that
860 sell new and used books, and may also have further information
861 about books you are looking for.
862 Wikipedia is not affiliated with any of these businesses, and
863 this list should not be construed as an endorsement.",
864 "alphaindexline" => "$1 to $2",
865
866 # Email this user
867 #
868 "mailnologin" => "No send address",
869 "mailnologintext" => "You must be <a href=\"" .
870 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
871 and have a valid e-mail address in your <a href=\"" .
872 wfLocalUrl( "Special:Preferences" ) . "\">preferences</a>
873 to send e-mail to other users.",
874 "emailuser" => "E-mail this user",
875 "emailpage" => "E-mail user",
876 "emailpagetext" => "If this user has entered a valid e-mail address in
877 his or her user preferences, the form below will send a single message.
878 The e-mail address you entered in your user preferences will appear
879 as the \"From\" address of the mail, so the recipient will be able
880 to reply.",
881 "noemailtitle" => "No e-mail address",
882 "noemailtext" => "This user has not specified a valid e-mail address,
883 or has chosen not to receive e-mail from other users.",
884 "emailfrom" => "From",
885 "emailto" => "To",
886 "emailsubject" => "Subject",
887 "emailmessage" => "Message",
888 "emailsend" => "Send",
889 "emailsent" => "E-mail sent",
890 "emailsenttext" => "Your e-mail message has been sent.",
891
892 # Watchlist
893 #
894 "watchlist" => "My watchlist",
895 "watchlistsub" => "(for user \"$1\")",
896 "nowatchlist" => "You have no items on your watchlist.",
897 "watchnologin" => "Not logged in",
898 "watchnologintext" => "You must be <a href=\"" .
899 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
900 to modify your watchlist.",
901 "addedwatch" => "Added to watchlist",
902 "addedwatchtext" => "The page \"$1\" has been added to your <a href=\"" .
903 wfLocalUrl( "Special:Watchlist" ) . "\">watchlist</a>.
904 Future changes to this page and its associated Talk page will be listed there,
905 and the page will appear <b>bolded</b> in the <a href=\"" .
906 wfLocalUrl( "Special:Recentchanges" ) . "\">list of recent changes</a> to
907 make it easier to pick out.</p>
908
909 <p>If you want to remove the page from your watchlist later, click \"Stop watching\" in the sidebar.",
910 "removedwatch" => "Removed from watchlist",
911 "removedwatchtext" => "The page \"$1\" has been removed from your watchlist.",
912 "watchthispage" => "Watch this page",
913 "unwatchthispage" => "Stop watching",
914 "notanarticle" => "Not an article",
915
916 # Delete/protect/revert
917 #
918 "deletepage" => "Delete page",
919 "confirm" => "Confirm",
920 "excontent" => "content was:",
921 "exbeforeblank" => "content before blanking was:",
922 "exblank" => "page was empty",
923 "confirmdelete" => "Confirm delete",
924 "deletesub" => "(Deleting \"$1\")",
925 "historywarning" => "Warning: The page you are about to delete has a history: ",
926 "confirmdeletetext" => "You are about to permanently delete a page
927 or image along with all of its history from the database.
928 Please confirm that you intend to do this, that you understand the
929 consequences, and that you are doing this in accordance with
930 [[Wikipedia:Policy]].",
931 "confirmcheck" => "Yes, I really want to delete this.",
932 "actioncomplete" => "Action complete",
933 "deletedtext" => "\"$1\" has been deleted.
934 See $2 for a record of recent deletions.",
935 "deletedarticle" => "deleted \"$1\"",
936 "dellogpage" => "Deletion_log",
937 "dellogpagetext" => "Below is a list of the most recent deletions.
938 All times shown are server time (UTC).
939 <ul>
940 </ul>
941 ",
942 "deletionlog" => "deletion log",
943 "reverted" => "Reverted to earlier revision",
944 "deletecomment" => "Reason for deletion",
945 "imagereverted" => "Revert to earlier version was successful.",
946 "rollback" => "Roll back edits",
947 "rollbacklink" => "rollback",
948 "rollbackfailed" => "Rollback failed",
949 "cantrollback" => "Cannot revert edit; last contributor is only author of this article.",
950 "alreadyrolled" => "Cannot rollback last edit of [[$1]]
951 by [[User:$2|$2]] ([[User talk:$2|Talk]]); someone else has edited or rolled back the article already.
952
953 Last edit was by [[User:$3|$3]] ([[User talk:$3|Talk]]). ",
954 # only shown if there is an edit comment
955 "editcomment" => "The edit comment was: \"<i>$1</i>\".",
956 "revertpage" => "Reverted to last edit by $1",
957
958 # Undelete
959 "undelete" => "Restore deleted page",
960 "undeletepage" => "View and restore deleted pages",
961 "undeletepagetext" => "The following pages have been deleted but are still in the archive and
962 can be restored. The archive may be periodically cleaned out.",
963 "undeletearticle" => "Restore deleted article",
964 "undeleterevisions" => "$1 revisions archived",
965 "undeletehistory" => "If you restore the page, all revisions will be restored to the history.
966 If a new page with the same name has been created since the deletion, the restored
967 revisions will appear in the prior history, and the current revision of the live page
968 will not be automatically replaced.",
969 "undeleterevision" => "Deleted revision as of $1",
970 "undeletebtn" => "Restore!",
971 "undeletedarticle" => "restored \"$1\"",
972 "undeletedtext" => "The article [[$1]] has been successfully restored.
973 See [[Wikipedia:Deletion_log]] for a record of recent deletions and restorations.",
974
975 # Contributions
976 #
977 "contributions" => "User contributions",
978 "mycontris" => "My contributions",
979 "contribsub" => "For $1",
980 "nocontribs" => "No changes were found matching these criteria.",
981 "ucnote" => "Below are this user's last <b>$1</b> changes in the last <b>$2</b> days.",
982 "uclinks" => "View the last $1 changes; view the last $2 days.",
983 "uctop" => " (top)" ,
984
985 # What links here
986 #
987 "whatlinkshere" => "What links here",
988 "notargettitle" => "No target",
989 "notargettext" => "You have not specified a target page or user
990 to perform this function on.",
991 "linklistsub" => "(List of links)",
992 "linkshere" => "The following pages link to here:",
993 "nolinkshere" => "No pages link to here.",
994 "isredirect" => "redirect page",
995
996 # Block/unblock IP
997 #
998 "blockip" => "Block IP address",
999 "blockiptext" => "Use the form below to block write access
1000 from a specific IP address.
1001 This should be done only only to prevent vandalism, and in
1002 accordance with [[Wikipedia:Policy|Wikipedia policy]].
1003 Fill in a specific reason below (for example, citing particular
1004 pages that were vandalized).",
1005 "ipaddress" => "IP Address",
1006 "ipbreason" => "Reason",
1007 "ipbsubmit" => "Block this address",
1008 "badipaddress" => "The IP address is badly formed.",
1009 "noblockreason" => "You must supply a reason for the block.",
1010 "blockipsuccesssub" => "Block succeeded",
1011 "blockipsuccesstext" => "The IP address \"$1\" has been blocked.
1012 <br>See [[Special:Ipblocklist|IP block list]] to review blocks.",
1013 "unblockip" => "Unblock IP address",
1014 "unblockiptext" => "Use the form below to restore write access
1015 to a previously blocked IP address.",
1016 "ipusubmit" => "Unblock this address",
1017 "ipusuccess" => "IP address \"$1\" unblocked",
1018 "ipblocklist" => "List of blocked IP addresses",
1019 "blocklistline" => "$1, $2 blocked $3",
1020 "blocklink" => "block",
1021 "unblocklink" => "unblock",
1022 "contribslink" => "contribs",
1023
1024 # Developer tools
1025 #
1026 "lockdb" => "Lock database",
1027 "unlockdb" => "Unlock database",
1028 "lockdbtext" => "Locking the database will suspend the ability of all
1029 users to edit pages, change their preferences, edit their watchlists, and
1030 other things requiring changes in the database.
1031 Please confirm that this is what you intend to do, and that you will
1032 unlock the database when your maintenance is done.",
1033 "unlockdbtext" => "Unlocking the database will restore the ability of all
1034 users to edit pages, change their preferences, edit their watchlists, and
1035 other things requiring changes in the database.
1036 Please confirm that this is what you intend to do.",
1037 "lockconfirm" => "Yes, I really want to lock the database.",
1038 "unlockconfirm" => "Yes, I really want to unlock the database.",
1039 "lockbtn" => "Lock database",
1040 "unlockbtn" => "Unlock database",
1041 "locknoconfirm" => "You did not check the confirmation box.",
1042 "lockdbsuccesssub" => "Database lock succeeded",
1043 "unlockdbsuccesssub" => "Database lock removed",
1044 "lockdbsuccesstext" => "The Wikipedia database has been locked.
1045 <br>Remember to remove the lock after your maintenance is complete.",
1046 "unlockdbsuccesstext" => "The Wikipedia database has been unlocked.",
1047
1048 # SQL query
1049 #
1050 "asksql" => "SQL query",
1051 "asksqltext" => "Use the form below to make a direct query of the
1052 Wikipedia database.
1053 Use single quotes ('like this') to delimit string literals.
1054 This can often add considerable load to the server, so please use
1055 this function sparingly.",
1056 "sqlislogged" => "Please note that all queries are logged.",
1057 "sqlquery" => "Enter query",
1058 "querybtn" => "Submit query",
1059 "selectonly" => "Queries other than \"SELECT\" are restricted to
1060 Wikipedia developers.",
1061 "querysuccessful" => "Query successful",
1062
1063 # Move page
1064 #
1065 "movepage" => "Move page",
1066 "movepagetext" => "Using the form below will rename a page, moving all
1067 of its history to the new name.
1068 The old title will become a redirect page to the new title.
1069 Links to the old page title will not be changed; be sure to
1070 [[Special:Maintenance|check]] for double or broken redirects.
1071 You are responsible for making sure that links continue to
1072 point where they are supposed to go.
1073
1074 Note that the page will '''not''' be moved if there is already
1075 a page at the new title, unless it is empty or a redirect and has no
1076 past edit history. This means that you can rename a page back to where
1077 it was just renamed from if you make a mistake, and you cannot overwrite
1078 an existing page.
1079
1080 <b>WARNING!</b>
1081 This can be a drastic and unexpected change for a popular page;
1082 please be sure you understand the consequences of this before
1083 proceeding.",
1084 "movepagetalktext" => "The associated talk page, if any, will be automatically moved along with it '''unless:'''
1085 *You are moving the page across namespaces,
1086 *A non-empty talk page already exists under the new name, or
1087 *You uncheck the box below.
1088
1089 In those cases, you will have to move or merge the page manually if desired.",
1090 "movearticle" => "Move page",
1091 "movenologin" => "Not logged in",
1092 "movenologintext" => "You must be a registered user and <a href=\"" .
1093 wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
1094 to move a page.",
1095 "newtitle" => "To new title",
1096 "movepagebtn" => "Move page",
1097 "pagemovedsub" => "Move succeeded",
1098 "pagemovedtext" => "Page \"[[$1]]\" moved to \"[[$2]]\".",
1099 "articleexists" => "A page of that name already exists, or the
1100 name you have chosen is not valid.
1101 Please choose another name.",
1102 "talkexists" => "The page itself was moved successfully, but the
1103 talk page could not be moved because one already exists at the new
1104 title. Please merge them manually.",
1105 "movedto" => "moved to",
1106 "movetalk" => "Move \"talk\" page as well, if applicable.",
1107 "talkpagemoved" => "The corresponding talk page was also moved.",
1108 "talkpagenotmoved" => "The corresponding talk page was <strong>not</strong> moved.",
1109
1110 );
1111
1112 class Language {
1113
1114 function getDefaultUserOptions () {
1115 global $wgDefaultUserOptionsEn ;
1116 return $wgDefaultUserOptionsEn ;
1117 }
1118
1119 function getBookstoreList () {
1120 global $wgBookstoreListEn ;
1121 return $wgBookstoreListEn ;
1122 }
1123
1124 function getNamespaces() {
1125 global $wgNamespaceNamesEn;
1126 return $wgNamespaceNamesEn;
1127 }
1128
1129 function getNsText( $index ) {
1130 global $wgNamespaceNamesEn;
1131 return $wgNamespaceNamesEn[$index];
1132 }
1133
1134 function getNsIndex( $text ) {
1135 global $wgNamespaceNamesEn;
1136
1137 foreach ( $wgNamespaceNamesEn as $i => $n ) {
1138 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
1139 }
1140 return false;
1141 }
1142
1143 function specialPage( $name ) {
1144 return $this->getNsText( Namespace::getSpecial() ) . ":" . $name;
1145 }
1146
1147 function getQuickbarSettings() {
1148 global $wgQuickbarSettingsEn;
1149 return $wgQuickbarSettingsEn;
1150 }
1151
1152 function getSkinNames() {
1153 global $wgSkinNamesEn;
1154 return $wgSkinNamesEn;
1155 }
1156
1157 function getMathNames() {
1158 global $wgMathNamesEn;
1159 return $wgMathNamesEn;
1160 }
1161
1162 function getDateFormats() {
1163 global $wgDateFormatsEn;
1164 return $wgDateFormatsEn;
1165 }
1166
1167 function getUserToggles() {
1168 global $wgUserTogglesEn;
1169 return $wgUserTogglesEn;
1170 }
1171
1172 function getLanguageNames() {
1173 global $wgLanguageNamesEn;
1174 return $wgLanguageNamesEn;
1175 }
1176
1177 function getLanguageName( $code ) {
1178 global $wgLanguageNamesEn;
1179 if ( ! array_key_exists( $code, $wgLanguageNamesEn ) ) {
1180 return "";
1181 }
1182 return $wgLanguageNamesEn[$code];
1183 }
1184
1185 function getMonthName( $key )
1186 {
1187 global $wgMonthNamesEn;
1188 return $wgMonthNamesEn[$key-1];
1189 }
1190
1191 /* by default we just return base form */
1192 function getMonthNameGen( $key )
1193 {
1194 global $wgMonthNamesEn;
1195 return $wgMonthNamesEn[$key-1];
1196 }
1197
1198 function getMonthRegex()
1199 {
1200 global $wgMonthNamesEn;
1201 return implode( "|", $wgMonthNamesEn );
1202 }
1203
1204 function getMonthAbbreviation( $key )
1205 {
1206 global $wgMonthAbbreviationsEn;
1207 return $wgMonthAbbreviationsEn[$key-1];
1208 }
1209
1210 function getWeekdayName( $key )
1211 {
1212 global $wgWeekdayNamesEn;
1213 return $wgWeekdayNamesEn[$key-1];
1214 }
1215
1216 function userAdjust( $ts )
1217 {
1218 global $wgUser, $wgLocalTZoffset;
1219
1220 $diff = $wgUser->getOption( "timecorrection" );
1221 if ( ! is_numeric( $diff ) ) {
1222 $diff = isset( $wgLocalTZoffset ) ? $wgLocalTZoffset : 0;
1223 }
1224 if ( 0 == $diff ) { return $ts; }
1225
1226 $t = mktime( ( (int)substr( $ts, 8, 2) ) + $diff,
1227 (int)substr( $ts, 10, 2 ), (int)substr( $ts, 12, 2 ),
1228 (int)substr( $ts, 4, 2 ), (int)substr( $ts, 6, 2 ),
1229 (int)substr( $ts, 0, 4 ) );
1230 return date( "YmdHis", $t );
1231 }
1232
1233 function date( $ts, $adj = false )
1234 {
1235 global $wgAmericanDates, $wgUser, $wgUseDynamicDates;
1236
1237 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1238
1239 if ( $wgUseDynamicDates ) {
1240 $datePreference = $wgUser->getOption( 'date' );
1241 if ( $datePreference == 0 ) {
1242 $datePreference = $wgAmericanDates ? 1 : 2;
1243 }
1244 } else {
1245 $datePreference = $wgAmericanDates ? 1 : 2;
1246 }
1247
1248 if ( $datePreference == 1 ) {
1249 # MDY
1250 $d = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
1251 " " . (0 + substr( $ts, 6, 2 )) . ", " .
1252 substr( $ts, 0, 4 );
1253 } else if ( $datePreference == 2 ) {
1254 #DMY
1255 $d = (0 + substr( $ts, 6, 2 )) . " " .
1256 $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) . " " .
1257 substr( $ts, 0, 4 );
1258 } else {
1259 #YMD
1260 $d = substr( $ts, 0, 4 ) . " " . $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
1261 " " . (0 + substr( $ts, 6, 2 ));
1262 }
1263
1264 return $d;
1265 }
1266
1267 function time( $ts, $adj = false )
1268 {
1269 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1270
1271 $t = substr( $ts, 8, 2 ) . ":" . substr( $ts, 10, 2 );
1272 return $t;
1273 }
1274
1275 function timeanddate( $ts, $adj = false )
1276 {
1277 return $this->time( $ts, $adj ) . ", " . $this->date( $ts, $adj );
1278 }
1279
1280 function rfc1123( $ts )
1281 {
1282 return date( "D, d M Y H:i:s T", $ts );
1283 }
1284
1285 function getValidSpecialPages()
1286 {
1287 global $wgValidSpecialPagesEn;
1288 return $wgValidSpecialPagesEn;
1289 }
1290
1291 function getSysopSpecialPages()
1292 {
1293 global $wgSysopSpecialPagesEn;
1294 return $wgSysopSpecialPagesEn;
1295 }
1296
1297 function getDeveloperSpecialPages()
1298 {
1299 global $wgDeveloperSpecialPagesEn;
1300 return $wgDeveloperSpecialPagesEn;
1301 }
1302
1303 function getMessage( $key )
1304 {
1305 global $wgAllMessagesEn;
1306 return $wgAllMessagesEn[$key];
1307 }
1308
1309 function iconv( $in, $out, $string ) {
1310 # For most languages, this is a wrapper for iconv
1311 return iconv( $in, $out, $string );
1312 }
1313
1314 function ucfirst( $string ) {
1315 # For most languages, this is a wrapper for ucfirst()
1316 return ucfirst( $string );
1317 }
1318
1319 function checkTitleEncoding( $s ) {
1320 global $wgInputEncoding;
1321
1322 # Check for UTF-8 URLs; Internet Explorer produces these if you
1323 # type non-ASCII chars in the URL bar or follow unescaped links.
1324 $ishigh = preg_match( '/[\x80-\xff]/', $s);
1325 $isutf = ($ishigh ? preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|' .
1326 '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s ) : true );
1327
1328 if( ($wgInputEncoding != "utf-8") and $ishigh and $isutf )
1329 return iconv( "UTF-8", $wgInputEncoding, $s );
1330
1331 if( ($wgInputEncoding == "utf-8") and $ishigh and !$isutf )
1332 return utf8_encode( $s );
1333
1334 # Other languages can safely leave this function, or replace
1335 # it with one to detect and convert another legacy encoding.
1336 return $s;
1337 }
1338
1339 function stripForSearch( $in ) {
1340 # Some languages have special punctuation to strip out
1341 # or characters which need to be converted for MySQL's
1342 # indexing to grok it correctly. Make such changes here.
1343 return $in;
1344 }
1345
1346
1347 function setAltEncoding() {
1348 # Some languages may have an alternate char encoding option
1349 # (Esperanto X-coding, Japanese furigana conversion, etc)
1350 # If 'altencoding' is checked in user prefs, this gives a
1351 # chance to swap out the default encoding settings.
1352 #global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1353 }
1354
1355 function recodeForEdit( $s ) {
1356 # For some languages we'll want to explicitly specify
1357 # which characters make it into the edit box raw
1358 # or are converted in some way or another.
1359 # Note that if wgOutputEncoding is different from
1360 # wgInputEncoding, this text will be further converted
1361 # to wgOutputEncoding.
1362 global $wgInputEncoding, $wgEditEncoding;
1363 if( $wgEditEncoding == "" or
1364 $wgEditEncoding == $wgInputEncoding ) {
1365 return $s;
1366 } else {
1367 return $this->iconv( $wgInputEncoding, $wgEditEncoding, $s );
1368 }
1369 }
1370
1371 function recodeInput( $s ) {
1372 # Take the previous into account.
1373 global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1374 if($wgEditEncoding != "") {
1375 $enc = $wgEditEncoding;
1376 } else {
1377 $enc = $wgOutputEncoding;
1378 }
1379 if( $enc == $wgInputEncoding ) {
1380 return $s;
1381 } else {
1382 return $this->iconv( $enc, $wgInputEncoding, $s );
1383 }
1384 }
1385
1386 function replaceDates( $text )
1387 {
1388 global $wgUser, $wgInputEncoding, $wgUseDynamicDates;
1389
1390 # Feature can be disabled
1391 if ( !$wgUseDynamicDates ) {
1392 return;
1393 }
1394
1395 # Setup
1396
1397 $datePreference = $wgUser->getOption( 'date' );
1398
1399 static $monthNames = "", $rxDM, $rxMD, $rxY, $rxDMY, $rxYDM, $rxMDY, $rxYMD;
1400 if ( $monthNames == "" ) {
1401 $monthNames = $this->getMonthRegex();
1402
1403 # Attempt at UTF-8 support, untested at the moment
1404 if ( $wgInputEncoding == 'UTF-8' ) {
1405 $regexTrail = '(?![a-z])/iu';
1406 } else {
1407 $regexTrail = '(?![a-z])/i';
1408 }
1409
1410 # Partial regular expressions
1411 $prxDM = '\[\[(\d{1,2})[ _](' . $monthNames . ')]]';
1412 $prxMD = '\[\[(' . $monthNames . ')[ _](\d{1,2})]]';
1413 $prxY = '\[\[(\d{1,4}([ _]BC|))]]';
1414
1415 # Real regular expressions
1416 $rxDMY = "/{$prxDM} *,? *{$prxY}{$regexTrail}";
1417 $rxYDM = "/{$prxY} *,? *{$prxDM}{$regexTrail}";
1418 $rxMDY = "/{$prxMD} *,? *{$prxY}{$regexTrail}";
1419 $rxYMD = "/{$prxY} *,? *{$prxMD}{$regexTrail}";
1420 $rxDM = "/{$prxDM}{$regexTrail}";
1421 $rxMD = "/{$prxMD}{$regexTrail}";
1422 $rxY = "/{$prxY}{$regexTrail}";
1423 }
1424
1425 # Do replacements
1426 # TODO: month capitalisation?
1427 if ( $datePreference == 0 ) {
1428 # no preference
1429 $text = preg_replace( $rxDMY, '[[$2 $1|$1 $2]] [[$3]]', $text);
1430 $text = preg_replace( $rxYDM, '[[$1]] [[$4 $3]]', $text);
1431 $text = preg_replace( $rxMDY, '[[$1 $2]], [[$3]]', $text);
1432 $text = preg_replace( $rxYMD, '[[$1]] [[$3 $4]]', $text);
1433 $text = preg_replace ( $rxDM, '[[$2 $1|$1 $2]]', $text);
1434 } else if ( $datePreference == 1 ) {
1435 # MDY preferred
1436 $text = preg_replace( $rxDMY, '[[$2 $1]], [[$3]]', $text);
1437 $text = preg_replace( $rxYDM, '[[$4 $3]], [[$1]]', $text);
1438 $text = preg_replace( $rxMDY, '[[$1 $2]], [[$3]]', $text);
1439 $text = preg_replace( $rxYMD, '[[$3 $4]], [[$1]]', $text);
1440 $text = preg_replace ( $rxDM, '[[$2 $1]]', $text);
1441 } else if ( $datePreference == 2 ) {
1442 # DMY preferred
1443 $text = preg_replace( $rxDMY, '[[$2 $1|$1 $2]] [[$3]]', $text);
1444 $text = preg_replace( $rxYDM, '[[$4 $3|$3 $4]] [[$1]]', $text);
1445 $text = preg_replace( $rxMDY, '[[$1 $2|$2 $1]] [[$3]]', $text);
1446 $text = preg_replace( $rxYMD, '[[$3 $4|$4 $3]] [[$1]]', $text);
1447 $text = preg_replace ( $rxDM, '[[$2 $1|$1 $2]]', $text);
1448 $text = preg_replace ( $rxMD, '[[$1 $2|$2 $1]]', $text);
1449 } else if ( $datePreference == 3 ) {
1450 # YMD preferred
1451 $text = preg_replace( $rxDMY, '[[$3]] [[$2 $1]]', $text);
1452 $text = preg_replace( $rxYDM, '[[$1]] [[$4 $3]]', $text);
1453 $text = preg_replace( $rxMDY, '[[$3]] [[$1 $2]]', $text);
1454 $text = preg_replace( $rxYMD, '[[$1]] [[$3 $4]]', $text);
1455 $text = preg_replace ( $rxDM, '[[$2 $1]]', $text);
1456 }
1457 return $text;
1458 }
1459
1460 # For right-to-left language support
1461 function isRTL() { return false; }
1462 }
1463
1464 global $IP;
1465 @include_once( "{$IP}/Language" . ucfirst( $wgLanguageCode ) . ".php" );
1466
1467 ?>