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