cc13726ea82763824ae0eacb08249b647f10b8a9
3 # In general you should not make customizations in these language files
4 # directly, but should use the MediaWiki: special namespace to customize
5 # user interface messages through the wiki.
6 # See http://meta.wikipedia.org/wiki/MediaWiki_namespace
8 # NOTE TO TRANSLATORS: Do not copy this whole file when making translations!
9 # A lot of common constants and a base class with inheritable methods are
10 # defined here, which should not be redefined. See the other LanguageXx.php
14 #--------------------------------------------------------------------------
16 #--------------------------------------------------------------------------
19 define("MAG_REDIRECT", 0);
20 define("MAG_NOTOC", 1);
21 define("MAG_START", 2);
22 define("MAG_CURRENTMONTH", 3);
23 define("MAG_CURRENTMONTHNAME", 4);
24 define("MAG_CURRENTDAY", 5);
25 define("MAG_CURRENTDAYNAME", 6);
26 define("MAG_CURRENTYEAR", 7);
27 define("MAG_CURRENTTIME", 8);
28 define("MAG_NUMBEROFARTICLES", 9);
29 define("MAG_CURRENTMONTHNAMEGEN", 10);
30 define("MAG_MSG", 11);
31 define("MAG_SUBST", 12);
32 define("MAG_MSGNW", 13);
33 define("MAG_NOEDITSECTION", 14);
34 define("MAG_END", 15);
35 define("MAG_IMG_THUMBNAIL", 16);
36 define("MAG_IMG_RIGHT", 17);
37 define("MAG_IMG_LEFT", 18);
38 define("MAG_IMG_NONE", 19);
39 define("MAG_IMG_WIDTH", 20);
40 define("MAG_IMG_CENTER", 21);
41 define("MAG_INT", 22);
42 define("MAG_FORCETOC", 23);
43 define("MAG_SITENAME", 24);
45 define("MAG_LOCALURL", 26);
46 define("MAG_LOCALURLE", 27);
47 define("MAG_SERVER", 28);
49 $wgVariableIDs = array(
57 MAG_CURRENTMONTHNAMEGEN
,
64 #--------------------------------------------------------------------------
65 # Language-specific text
66 #--------------------------------------------------------------------------
68 # The names of the namespaces can be set here, but the numbers
69 # are magical, so don't change or move them! The Namespace class
70 # encapsulates some of the magic-ness.
73 if($wgMetaNamespace === FALSE)
74 $wgMetaNamespace = str_replace( " ", "_", $wgSitename );
76 /* private */ $wgNamespaceNamesEn = array(
78 NS_SPECIAL
=> "Special",
82 NS_USER_TALK
=> "User_talk",
83 NS_WIKIPEDIA
=> $wgMetaNamespace,
84 NS_WIKIPEDIA_TALK
=> $wgMetaNamespace . "_talk",
86 NS_IMAGE_TALK
=> "Image_talk",
87 NS_MEDIAWIKI
=> "MediaWiki",
88 NS_MEDIAWIKI_TALK
=> "MediaWiki_talk",
89 NS_TEMPLATE
=> "Template",
90 NS_TEMPLATE_TALK
=> "Template_talk",
92 NS_HELP_TALK
=> "Help_talk"
95 /* private */ $wgDefaultUserOptionsEn = array(
96 "quickbar" => 1, "underline" => 1, "hover" => 1,
97 "cols" => 80, "rows" => 25, "searchlimit" => 20,
98 "contextlines" => 5, "contextchars" => 50,
99 "skin" => 'standard', "math" => 1, "rcdays" => 7, "rclimit" => 50,
100 "highlightbroken" => 1, "stubthreshold" => 0,
101 "previewontop" => 1, "editsection"=>1,"editsectiononrightclick"=>0, "showtoc"=>1,
106 /* private */ $wgQuickbarSettingsEn = array(
107 "None", "Fixed left", "Fixed right", "Floating left"
110 /* private */ $wgSkinNamesEn = array(
111 'standard' => "Standard",
112 'nostalgia' => "Nostalgia",
113 'cologneblue' => "Cologne Blue",
114 'smarty' => "Paddington",
115 'montparnasse' => "Montparnasse",
116 'davinci' => "DaVinci",
118 'monobook' => "MonoBook"
121 /* private */ $wgMathNamesEn = array(
123 "HTML if very simple or else PNG",
124 "HTML if possible or else PNG",
125 "Leave it as TeX (for text browsers)",
126 "Recommended for modern browsers"
129 /* private */ $wgDateFormatsEn = array(
137 /* private */ $wgUserTogglesEn = array(
138 "hover" => "Show hoverbox over wiki links",
139 "underline" => "Underline links",
140 "highlightbroken" => "Format broken links <a href=\"\" class=\"new\">like
141 this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
142 "justify" => "Justify paragraphs",
143 "hideminor" => "Hide minor edits in recent changes",
144 "usenewrc" => "Enhanced recent changes (not for all browsers)",
145 "numberheadings" => "Auto-number headings",
146 "showtoolbar"=>"Show edit toolbar",
147 "editondblclick" => "Edit pages on double click (JavaScript)",
148 "editsection"=>"Enable section editing via [edit] links",
149 "editsectiononrightclick"=>"Enable section editing by right clicking<br /> on section titles (JavaScript)",
150 "showtoc"=>"Show table of contents<br />(for articles with more than 3 headings)",
151 "rememberpassword" => "Remember password across sessions",
152 "editwidth" => "Edit box has full width",
153 "watchdefault" => "Add pages you edit to your watchlist",
154 "minordefault" => "Mark all edits minor by default",
155 "previewontop" => "Show preview before edit box and not after it",
156 "nocache" => "Disable page caching"
159 /* private */ $wgBookstoreListEn = array(
160 "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
161 "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1",
162 "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
163 "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
166 /* The following list is in native languages, not in English */
167 /* private */ $wgLanguageNames = array(
168 "aa" => "Afar", # Afar
169 "ab" => "Abkhazian", # Abkhazian - FIXME
170 "af" => "Afrikaans", # Afrikaans
171 "ak" => "Akana", # Akan
172 "an" => "Aragonés", # Aragonese
173 "als" => "Elsässische", # Alsatian
174 "am" => "አማርኛ", # Amharic
175 "ar" => "العربية", # Arabic
176 "arc" => "ܕܥܒܪܸܝܛ", # Aramaic
177 "as" => "অসমীয়া", # Assamese
178 "ast" => "Asturleonés", # Asturian
179 "av" => "Авар", # Avar
180 "ay" => "Aymar", # Aymara
181 "az" => "Azərbaycan", # Azerbaijani
182 "ba" => "Башҡорт", # Bashkir
183 "be" => "Беларуская", # Belarusian ''or'' Byelarussian
184 "bg" => "Български", # Bulgarian
185 "bh" => "भोजपुरी", # Bihara
186 "bi" => "Bislama", # Bislama
187 "bn" => "বাংলা - (Bangla)", # Bengali
189 "bo" => "Bod skad", # Tibetan
190 "br" => "Brezhoneg", # Breton
191 "bs" => "Bosanski", # Bosnian
192 "ca" => "Català", # Catalan
193 "ce" => "Нохчийн", # Chechen
194 "ch" => "Chamoru", # Chamorro
195 "chy" => "Tsetsêhestâhese", # Cheyenne
196 "co" => "Corsu", # Corsican
197 "cr" => "Nehiyaw", # Cree
198 "cs" => "Česky", # Czech
199 "csb" => "Kaszëbscziej", # Cassubian - FIXME
200 "cv" => "Чӑваш - (Ĉăvaŝ)", # Chuvash
201 "cy" => "Cymraeg", # Welsh
202 "da" => "Dansk", # Danish
203 "de" => "Deutsch", # German
204 "dk" => "Dansk", # 'da' is correct for the language.
205 "dv" => "Dhivehi", # Dhivehi
206 "dz" => "Dzongkha", # Bhutani
208 "el" => "Ελληνικά", # Greek
209 "en" => "English", # English
210 "eo" => "Esperanto", # Esperanto
211 "es" => "Español", # Spanish
212 "et" => "Eesti", # Estonian
213 "eu" => "Euskara", # Basque
214 "fa" => "فارسی", # Persian
215 "ff" => "Fulfulde", # Fulfulde
216 "fi" => "Suomi", # Finnish
217 "fj" => "Na Vosa Vakaviti", # Fijian
218 "fo" => "Føroyskt", # Faroese
219 "fr" => "Français", # French
220 "fy" => "Frysk", # Frisian
221 "ga" => "Gaeilge", # Irish
222 "gd" => "Gàidhlig", # Scots Gaelic
223 "gl" => "Galego", # Gallegan
224 "gn" => "Avañe'ẽ", # Guarani
225 "gu" => "ગુજરાતી", # Gujarati
226 "gv" => "Gaelg", # Manx
227 "ha" => "هَوُسَ", # Hausa
228 "haw" => "Hawai`i", # Hawaiian
229 "he" => "עברית", # Hebrew
230 "hi" => "हिन्दी", # Hindi
232 "hr" => "Hrvatski", # Croatian
233 "ht" => "Haitian", # Haitian (FIXME!)
234 "hu" => "Magyar", # Hungarian
235 "hy" => "Հայերեն", # Armenian
236 "hz" => "Otsiherero", # Herero
237 "ia" => "Interlingua", # Interlingua (IALA)
238 "id" => "Bahasa Indonesia", # Indonesian
239 "ie" => "Interlingue", # Interlingue (Occidental)
240 "ig" => "Igbo", # Igbo
241 "ii" => "Yi", # Sichuan Yi (FIXME!)
242 "ik" => "Iñupiak", # Inupiak
244 "is" => "Íslensk", # Icelandic
245 "it" => "Italiano", # Italian
246 "iu" => "ᐃᓄᒃᑎᑐᑦ", # Inuktitut
247 "ja" => "日本語", # Japanese
248 "jv" => "Bahasa Jawa", # Javanese
249 "ka" => "ქართული", # Georgian
250 "kg" => "Kongo", # Kongo (FIXME!)
251 "ki" => "Kikuyu", # Kikuyu (FIXME!)
252 "kj" => "Kuanyama", # Kuanyama (FIXME!)
253 "kk" => "қазақша", # Kazakh
254 "kl" => "Kalaallisut", # Greenlandic
255 "km" => "ភាសាខ្មែរ", # Cambodian
256 "kn" => "ಕನ್ನಡ", # Kannada
257 "ko" => "한국어", # Korean
259 "ks" => "कश्मीरी - (كشميري)", # Kashmiri
260 "ku" => "Kurdî", # Kurdish
262 "kw" => "Kernewek", # Cornish
263 "ky" => "Kırgızca", # Kirghiz
264 "la" => "Latina", # Latin
265 "lb" => "Lëtzebuergesch", # Luxemburguish
266 "lg" => "Luganda", # Ganda
267 "li" => "Limburgs", # Limburgian
268 "ln" => "Lingala", # Lingala
269 "lo" => "Pha xa lao", # Laotian
270 "lt" => "Lietuvių", # Lithuanian
271 "lv" => "Latviešu", # Latvian
272 "mg" => "Malagasy", # Malagasy - FIXME
273 "mh" => "Ebon", # Marshallese
274 "mi" => "Māori", # Maori
275 "mk" => "Македонски", # Macedonian
276 "ml" => "മലയാളം", # Malayalam
277 "mn" => "Монгол", # Mongoloian
278 "mo" => "Moldoveana", # Moldovan
279 "mr" => "मराठी", # Marathi
280 "ms" => "Bahasa Melayu", # Malay
281 "mt" => "bil-Malti", # Maltese
282 "my" => "Myanmasa", # Burmese
283 "na" => "Nauru", # Nauruan
284 "nb" => "Bokmål", # Norwegian (Bokmal)
286 "nds" => "Platdüütsch", # Low German ''or'' Low Saxon
287 "ne" => "नेपाली", # Nepali
289 "nl" => "Nederlands", # Dutch
290 "nb" => "Norsk", # Norwegian [currently using old '''no''' code]
291 "ne" => "नेपाली", # Nepali
292 "nn" => "Nynorsk" , # (Norwegian) Nynorsk
293 "no" => "Norsk", # Norwegian
294 "nv" => "Diné bizaad", # Navajo
295 "ny" => "Chi-Chewa", # Chichewa
296 "oc" => "Occitan", # Occitan
297 "om" => "Oromoo", # Oromo
298 "or" => "Oriya", # Oriya - FIXME
299 "pa" => "पंजाबी / ਪਜਾਬੀ / پنجابي", # Punjabi
300 "pi" => "पािऴ", # Pali
301 "pl" => "Polski", # Polish
302 "ps" => "پښتو", # Pashto
303 "pt" => "Português", # Portuguese
304 "qu" => "Runa Simi", # Quechua
305 "rm" => "Rumantsch", # Raeto-Romance
306 "rn" => "Kirundi", # Kirundi
307 "ro" => "Română", # Romanian
308 "ru" => "Русский", # Russian
309 "rw" => "Kinyarwanda",
310 "sa" => "संस्कृत", # Sanskrit
311 "sc" => "Sardu", # Sardinian
312 "sd" => "सिनधि", # Sindhi
313 "se" => "Sámegiella", # (Northern) Sami
315 # "sh" => "Српскохрватски (Srbskohrvatski)", ## Serbocroatian -- Obsolete
316 "si" => "Simhala", # Sinhalese
317 "simple" => "Simple English",
318 "sk" => "Slovenčina", # Slovak
319 "sl" => "Slovenščina", # Slovenian
320 "sm" => "Gagana Samoa", # Samoan
321 "sn" => "chiShona", # Shona
322 "so" => "Soomaaliga", # Somali
323 "sq" => "Shqip", # Albanian
324 "sr" => "Српски / Srpski", # Serbian
325 "ss" => "SiSwati", # Swati
326 "st" => "seSotho", # (Southern) Sotho
327 "su" => "Bahasa Sunda", # Sundanese
328 "sv" => "Svenska", # Swedish
329 "sw" => "Kiswahili", # Swahili
330 "ta" => "தமிழ்", # Tamil
331 "te" => "తెలుగు", # Telugu
332 "tg" => "Тоҷикӣ", # Tajik
333 "th" => "ไทย", # Thai
334 "ti" => "Tigrinya", # Tigrinya - FIXME
335 "tk" => "تركمن / Туркмен", # Turkmen
336 "tl" => "Tagalog", # Tagalog (Filipino)
337 "tlh" => "tlhIngan-Hol", # Klingon
338 "tn" => "Setswana", # Setswana
339 "to" => "Tonga", # Tonga - FIXME
340 "tp" => "Toki Pona", # Toki Pona
341 "tpi" => "Tok Pisin", # Tok Pisin
342 "tr" => "Türkçe", # Turkish
343 "ts" => "Xitsonga", # Tsonga
344 "tt" => "Tatar", # Tatar
345 "tw" => "Twi", # Twi -- FIXME
346 "ty" => "Reo Mā`ohi", # Tahitian
347 "ug" => "Oyghurque", # Uyghur
348 "uk" => "Українська", # Ukrainian
349 "ur" => "اردو", # Urdu
350 "uz" => "Ўзбек", # Uzbek
351 "ve" => "Venda", # Venda
352 "vi" => "Tiếng Việt", # Vietnamese
353 "vo" => "Volapük", # Volapük
354 "wa" => "Walon", # Walloon
355 "wo" => "Wollof", # Wolof
356 "xh" => "isiXhosa", # Xhosan
357 "yi" => "ייִדיש", # Yiddish
358 "yo" => "Yorùbá", # Yoruba
359 "za" => "(Cuengh)", # Zhuang
360 "zh" => "中文", # (Zhōng Wén) - Chinese
361 "zh-cn" => "中文(简体)", # Simplified
362 "zh-tw" => "中文(繁体)", # Traditional
363 "zu" => "isiZulu", # Zulu
366 $wgLanguageNamesEn =& $wgLanguageNames;
369 /* private */ $wgWeekdayNamesEn = array(
370 "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",
374 /* private */ $wgMonthNamesEn = array(
375 "January", "February", "March", "April", "May", "June",
376 "July", "August", "September", "October", "November",
380 /* private */ $wgMonthAbbreviationsEn = array(
381 "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug",
382 "Sep", "Oct", "Nov", "Dec"
385 # Note to translators:
386 # Please include the English words as synonyms. This allows people
387 # from other wikis to contribute more easily.
389 /* private */ $wgMagicWordsEn = array(
391 MAG_REDIRECT
=> array( 0, "#redirect" ),
392 MAG_NOTOC
=> array( 0, "__NOTOC__" ),
393 MAG_FORCETOC
=> array( 0, "__FORCETOC__" ),
394 MAG_NOEDITSECTION
=> array( 0, "__NOEDITSECTION__" ),
395 MAG_START
=> array( 0, "__START__" ),
396 MAG_CURRENTMONTH
=> array( 1, "CURRENTMONTH" ),
397 MAG_CURRENTMONTHNAME
=> array( 1, "CURRENTMONTHNAME" ),
398 MAG_CURRENTDAY
=> array( 1, "CURRENTDAY" ),
399 MAG_CURRENTDAYNAME
=> array( 1, "CURRENTDAYNAME" ),
400 MAG_CURRENTYEAR
=> array( 1, "CURRENTYEAR" ),
401 MAG_CURRENTTIME
=> array( 1, "CURRENTTIME" ),
402 MAG_NUMBEROFARTICLES
=> array( 1, "NUMBEROFARTICLES" ),
403 MAG_CURRENTMONTHNAMEGEN
=> array( 1, "CURRENTMONTHNAMEGEN" ),
404 MAG_MSG
=> array( 0, "MSG:" ),
405 MAG_SUBST
=> array( 0, "SUBST:" ),
406 MAG_MSGNW
=> array( 0, "MSGNW:" ),
407 MAG_END
=> array( 0, "__END__" ),
408 MAG_IMG_THUMBNAIL
=> array( 1, "thumbnail", "thumb" ),
409 MAG_IMG_RIGHT
=> array( 1, "right" ),
410 MAG_IMG_LEFT
=> array( 1, "left" ),
411 MAG_IMG_NONE
=> array( 1, "none" ),
412 MAG_IMG_WIDTH
=> array( 1, "$1px" ),
413 MAG_IMG_CENTER
=> array( 1, "center", "centre" ),
414 MAG_INT
=> array( 0, "INT:" ),
415 MAG_SITENAME
=> array( 1, "SITENAME" ),
416 MAG_NS
=> array( 0, "NS:" ),
417 MAG_LOCALURL
=> array( 0, "LOCALURL:" ),
418 MAG_LOCALURLE
=> array( 0, "LOCALURLE:" ),
419 MAG_SERVER
=> array( 0, "SERVER" )
422 # All special pages have to be listed here: a description of ""
423 # will make them not show up on the "Special Pages" page, which
424 # is the right thing for some of them (such as the "targeted" ones).
426 /* private */ $wgValidSpecialPagesEn = array(
429 "Preferences" => "Set my user preferences",
430 "Watchlist" => "My watchlist",
431 "Recentchanges" => "Recently updated pages",
432 "Upload" => "Upload image files",
433 "Imagelist" => "Image list",
434 "Listusers" => "Registered users",
435 "Statistics" => "Site statistics",
436 "Randompage" => "Random article",
438 "Lonelypages" => "Orphaned articles",
439 "Unusedimages" => "Orphaned images",
440 "Popularpages" => "Popular articles",
441 "Wantedpages" => "Most wanted articles",
442 "Shortpages" => "Short articles",
443 "Longpages" => "Long articles",
444 "Newpages" => "Newly created articles",
445 "Ancientpages" => "Oldest articles",
446 "Deadendpages" => "Dead-end pages",
447 # "Intl" => "Interlanguage Links",
448 "Allpages" => "All pages by title",
450 "Ipblocklist" => "Blocked users/IP addresses",
451 "Maintenance" => "Maintenance page",
452 "Specialpages" => "",
453 "Contributions" => "",
455 "Whatlinkshere" => "",
456 "Recentchangeslinked" => "",
459 "Booksources" => "External book sources",
460 "Categories" => "Page categories",
461 "Export" => "XML page export",
462 "Version" => "Show MediaWiki version",
463 "Allmessages" => "All system messages"
466 /* private */ $wgSysopSpecialPagesEn = array(
467 "Blockip" => "Block a user/IP address",
468 "Asksql" => "Query the database",
469 "Undelete" => "Restore deleted pages",
470 "Makesysop" => "Turn a user into a sysop",
471 "Import" => "Import a page with history",
474 /* private */ $wgDeveloperSpecialPagesEn = array(
475 "Lockdb" => "Make database read-only",
476 "Unlockdb" => "Restore DB write access"
479 #-------------------------------------------------------------------
481 #-------------------------------------------------------------------
482 # Allowed characters in keys are: A-Z, a-z, 0-9, underscore (_) and
483 # hyphen (-). If you need more characters, you may be able to change
484 # the regex in MagicWord::initRegex
486 # NOTE: To turn off "Current Events" in the sidebar,
487 # set "currentevents" => ""
489 # NOTE: To turn off "Disclaimers" in the title links,
490 # set "disclaimers" => ""
492 # NOTE: To turn off "Community portal" in the title links,
496 /* private */ $wgAllMessagesEn = array(
498 # Bits of text used by many pages:
500 "categories" => "Page categories",
501 "category" => "category",
502 "category_header" => "Articles in category \"$1\"",
503 "subcategories" => "Subcategories",
506 "linktrail" => "/^([a-z]+)(.*)\$/sD",
507 "mainpage" => "Main Page",
508 "mainpagetext" => "Wiki software successfully installed.",
509 'portal' => 'Community portal',
511 "aboutwikipedia" => "About {{SITENAME}}",
512 "aboutpage" => "{{ns:4}}:About",
513 'article' => 'Article',
515 "helppage" => "{{ns:12}}:Contents",
516 "wikititlesuffix" => "{{SITENAME}}",
517 "bugreports" => "Bug reports",
518 "bugreportspage" => "{{ns:4}}:Bug_reports",
519 "sitesupport" => "Donations", # Set a URL in $wgSiteSupportPage in LocalSettings.php
521 "faqpage" => "{{ns:4}}:FAQ",
522 "edithelp" => "Editing help",
523 "edithelppage" => "{{ns:12}}:Editing",
524 "cancel" => "Cancel",
526 "qbbrowse" => "Browse",
528 "qbpageoptions" => "This page",
529 "qbpageinfo" => "Context",
530 "qbmyoptions" => "My pages",
531 "qbspecialpages" => "Special pages",
532 "moredotdotdot" => "More...",
533 "mypage" => "My page",
534 "mytalk" => "My talk",
535 'navigation' => 'Navigation',
536 "currentevents" => "Current events",
537 "disclaimers" => "Disclaimers",
538 "disclaimerpage" => "{{ns:4}}:General_disclaimer",
539 "errorpagetitle" => "Error",
540 "returnto" => "Return to $1.",
541 "fromwikipedia" => "From {{SITENAME}}, the free encyclopedia.",
542 "whatlinkshere" => "Pages that link here",
544 "search" => "Search",
546 "history" => "Page history",
547 'history_short' => 'History',
548 "printableversion" => "Printable version",
550 "editthispage" => "Edit this page",
551 'delete' => 'Delete',
552 "deletethispage" => "Delete this page",
553 'protect' => 'Protect',
554 "protectthispage" => "Protect this page",
555 'unprotect' => 'Unprotect',
556 "unprotectthispage" => "Unprotect this page",
557 "newpage" => "New page",
558 "talkpage" => "Discuss this page",
559 'specialpage' => 'Special Page',
560 'personaltools' => 'Personal tools',
561 "postcomment" => "Post a comment",
562 "articlepage" => "View article",
563 "subjectpage" => "View subject", # For compatibility
564 'talk' => 'Discussion',
565 'toolbox' => 'Toolbox',
566 "userpage" => "View user page",
567 "wikipediapage" => "View meta page",
568 "imagepage" => "View image page",
569 "viewtalkpage" => "View discussion",
570 "otherlanguages" => "Other languages",
571 "redirectedfrom" => "(Redirected from $1)",
572 "lastmodified" => "This page was last modified $1.",
573 "viewcount" => "This page has been accessed $1 times.",
574 "gnunote" => "All text is available under the terms of the <a class='internal' href='{{localurl:GNU_Free_Documentation_License}}'>GNU Free Documentation License</a>. $wgSitename is powered by <a href='http://www.mediawiki.org/' class='external'>MediaWiki</a>, an open source wiki engine.",
575 "printsubtitle" => "(From {{SERVER}})",
576 "protectedpage" => "Protected page",
577 "administrators" => "{{ns:4}}:Administrators",
578 "sysoptitle" => "Sysop access required",
579 "sysoptext" => "The action you have requested can only be
580 performed by users with \"sysop\" status.
582 "developertitle" => "Developer access required",
583 "developertext" => "The action you have requested can only be
584 performed by users with \"developer\" status.
586 "bureaucrattitle" => "Bureaucrat access required",
587 "bureaucrattext" => "The action you have requested can only be
588 performed by sysops with \"bureaucrat\" status.",
589 "nbytes" => "$1 bytes",
592 "sitetitle" => "{{SITENAME}}",
593 "sitesubtitle" => "The Free Encyclopedia",
594 "retrievedfrom" => "Retrieved from \"$1\"",
595 "newmessages" => "You have $1.",
596 "newmessageslink" => "new messages",
597 "editsection"=>"edit",
598 "toc" => "Table of contents",
601 "thisisdeleted" => "View or restore $1?",
602 "restorelink" => "$1 deleted edits",
604 # Main script and global functions
606 "nosuchaction" => "No such action",
607 "nosuchactiontext" => "The action specified by the URL is not
608 recognized by the wiki",
609 "nosuchspecialpage" => "No such special page",
610 "nospecialpagetext" => "You have requested a special page that is not
611 recognized by the wiki.",
616 "databaseerror" => "Database error",
617 "dberrortext" => "A database query syntax error has occurred.
618 This could be because of an illegal search query (see $5),
619 or it may indicate a bug in the software.
620 The last attempted database query was:
621 <blockquote><tt>$1</tt></blockquote>
622 from within function \"<tt>$2</tt>\".
623 MySQL returned error \"<tt>$3: $4</tt>\".",
624 "dberrortextcl" => "A database query syntax error has occurred.
625 The last attempted database query was:
627 from within function \"$2\".
628 MySQL returned error \"$3: $4\".\n",
629 "noconnect" => "Sorry! The wiki is experiencing some technical difficulties, and cannot contact the database server.",
630 "nodb" => "Could not select database $1",
631 "cachederror" => "The following is a cached copy of the requested page, and may not be up to date.",
632 "readonly" => "Database locked",
633 "enterlockreason" => "Enter a reason for the lock, including an estimate
634 of when the lock will be released",
635 "readonlytext" => "The database is currently locked to new
636 entries and other modifications, probably for routine database maintenance,
637 after which it will be back to normal.
638 The administrator who locked it offered this explanation:
640 "missingarticle" => "The database did not find the text of a page
641 that it should have found, named \"$1\".
643 <p>This is usually caused by following an outdated diff or history link to a
644 page that has been deleted.
646 <p>If this is not the case, you may have found a bug in the software.
647 Please report this to an administrator, making note of the URL.",
648 "internalerror" => "Internal error",
649 "filecopyerror" => "Could not copy file \"$1\" to \"$2\".",
650 "filerenameerror" => "Could not rename file \"$1\" to \"$2\".",
651 "filedeleteerror" => "Could not delete file \"$1\".",
652 "filenotfound" => "Could not find file \"$1\".",
653 "unexpected" => "Unexpected value: \"$1\"=\"$2\".",
654 "formerror" => "Error: could not submit form",
655 "badarticleerror" => "This action cannot be performed on this page.",
656 "cannotdelete" => "Could not delete the page or image specified. (It may have already been deleted by someone else.)",
657 "badtitle" => "Bad title",
658 "badtitletext" => "The requested page title was invalid, empty, or
659 an incorrectly linked inter-language or inter-wiki title.",
660 "perfdisabled" => "Sorry! This feature has been temporarily disabled
661 because it slows the database down to the point that no one can use
663 "perfdisabledsub" => "Here's a saved copy from $1:",
664 "wrong_wfQuery_params" => "Incorrect parameters to wfQuery()<br />
668 "viewsource" => "View source",
669 "protectedtext" => "This page has been locked to prevent editing; there are
670 a number of reasons why this may be so, please see
671 [[{{ns:4}}:Protected page]].
673 You can view and copy the source of this page:",
675 # Login and logout pages
677 "logouttitle" => "User logout",
678 "logouttext" => "You are now logged out.
679 You can continue to use {{SITENAME}} anonymously, or you can log in
680 again as the same or as a different user. Note that some pages may
681 continue to be displayed as if you were still logged in, until you clear
682 your browser cache\n",
684 "welcomecreation" => "<h2>Welcome, $1!</h2><p>Your account has been created.
685 Don't forget to change your {{SITENAME}} preferences.",
687 "loginpagetitle" => "User login",
688 "yourname" => "Your user name",
689 "yourpassword" => "Your password",
690 "yourpasswordagain" => "Retype password",
691 "newusersonly" => " (new users only)",
692 "remembermypassword" => "Remember my password across sessions.",
693 "loginproblem" => "<b>There has been a problem with your login.</b><br />Try again!",
694 "alreadyloggedin" => "<font color=red><b>User $1, you are already logged in!</b></font><br />\n",
697 "loginprompt" => "You must have cookies enabled to log in to {{SITENAME}}.",
698 "userlogin" => "Log in",
699 "logout" => "Log out",
700 "userlogout" => "Log out",
701 "notloggedin" => "Not logged in",
702 "createaccount" => "Create new account",
703 "createaccountmail" => "by email",
704 "badretype" => "The passwords you entered do not match.",
705 "userexists" => "The user name you entered is already in use. Please choose a different name.",
706 "youremail" => "Your email*",
707 "yournick" => "Your nickname (for signatures)",
708 "emailforlost" => "* Entering an email address is optional. But it enables people to
709 contact you through the website without you having to reveal your
710 email address to them, and it also helps you if you forget your
712 "loginerror" => "Login error",
713 "nocookiesnew" => "The user account was created, but you are not logged in. {{SITENAME}} uses cookies to log in users. You have cookies disabled. Please enable them, then log in with your new username and password.",
714 "nocookieslogin" => "{{SITENAME}} uses cookies to log in users. You have cookies disabled. Please enable them and try again.",
715 "noname" => "You have not specified a valid user name.",
716 "loginsuccesstitle" => "Login successful",
717 "loginsuccess" => "You are now logged in to {{SITENAME}} as \"$1\".",
718 "nosuchuser" => "There is no user by the name \"$1\".
719 Check your spelling, or use the form below to create a new user account.",
720 "wrongpassword" => "The password you entered is incorrect. Please try again.",
721 "mailmypassword" => "Mail me a new password",
722 "passwordremindertitle" => "Password reminder from {{SITENAME}}",
723 "passwordremindertext" => "Someone (probably you, from IP address $1)
724 requested that we send you a new {{SITENAME}} login password.
725 The password for user \"$2\" is now \"$3\".
726 You should log in and change your password now.",
727 "noemail" => "There is no e-mail address recorded for user \"$1\".",
728 "passwordsent" => "A new password has been sent to the e-mail address
729 registered for \"$1\".
730 Please log in again after you receive it.",
731 "loginend" => " ",
732 "mailerror" => "Error sending mail: $1",
735 "bold_sample"=>"Bold text",
736 "bold_tip"=>"Bold text",
737 "italic_sample"=>"Italic text",
738 "italic_tip"=>"Italic text",
739 "link_sample"=>"Link title",
740 "link_tip"=>"Internal link",
741 "extlink_sample"=>"http://www.example.com link title",
742 "extlink_tip"=>"External link (remember http:// prefix)",
743 "headline_sample"=>"Headline text",
744 "headline_tip"=>"Level 2 headline",
745 "math_sample"=>"Insert formula here",
746 "math_tip"=>"Mathematical formula (LaTeX)",
747 "nowiki_sample"=>"Insert non-formatted text here",
748 "nowiki_tip"=>"Ignore wiki formatting",
749 "image_sample"=>"Example.jpg",
750 "image_tip"=>"Embedded image",
751 "media_sample"=>"Example.mp3",
752 "media_tip"=>"Media file link",
753 "sig_tip"=>"Your signature with timestamp",
754 "hr_tip"=>"Horizontal line (use sparingly)",
755 "infobox"=>"Click a button to get an example text",
756 # alert box shown in browsers where text selection does not work, test e.g. with mozilla or konqueror
757 "infobox_alert"=>"Please enter the text you want to be formatted.\\n It will be shown in the infobox for copy and pasting.\\nExample:\\n$1\\nwill become:\\n$2",
761 "summary" => "Summary",
762 "subject" => "Subject/headline",
763 "minoredit" => "This is a minor edit",
764 "watchthis" => "Watch this article",
765 "savearticle" => "Save page",
766 "preview" => "Preview",
767 "showpreview" => "Show preview",
768 "blockedtitle" => "User is blocked",
769 "blockedtext" => "Your user name or IP address has been blocked by $1.
770 The reason given is this:<br />''$2''<p>You may contact $1 or one of the other
771 [[{{ns4}}:Administrators|administrators]] to discuss the block.
773 Note that you may not use the \"email this user\" feature unless you have a valid email address registered in your [[Special:Preferences|user preferences]].
775 Your IP address is $3. Please include this address in any queries you make.
777 "whitelistedittitle" => "Login required to edit",
778 "whitelistedittext" => "You have to [[Special:Userlogin|login]] to edit articles.",
779 "whitelistreadtitle" => "Login required to read",
780 "whitelistreadtext" => "You have to [[Special:Userlogin|login]] to read articles.",
781 "whitelistacctitle" => "You are not allowed to create an account",
782 "whitelistacctext" => "To be allowed to create accounts in this Wiki you have to [[Special:Userlogin|log]] in and have the appropriate permissions.",
783 "loginreqtitle" => "Login Required",
784 "loginreqtext" => "You must [[special:Userlogin|login]] to view other pages.",
785 "accmailtitle" => "Password sent.",
786 "accmailtext" => "The Password for '$1' has been sent to $2.",
787 "newarticle" => "(New)",
789 "You've followed a link to a page that doesn't exist yet.
790 To create the page, start typing in the box below
791 (see the [[{{ns:4}}:Help|help page]] for more info).
792 If you are here by mistake, just click your browser's '''back''' button.",
793 "talkpagetext" => "<!-- MediaWiki:talkpagetext -->",
794 "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.'' ",
795 "noarticletext" => "(There is currently no text in this page)",
796 "updated" => "(Updated)",
797 "note" => "<strong>Note:</strong> ",
798 "previewnote" => "Remember that this is only a preview, and has not yet been saved!",
799 "previewconflict" => "This preview reflects the text in the upper
800 text editing area as it will appear if you choose to save.",
801 "editing" => "Editing $1",
802 "sectionedit" => " (section)",
803 "commentedit" => " (comment)",
804 "editconflict" => "Edit conflict: $1",
805 "explainconflict" => "Someone else has changed this page since you
807 The upper text area contains the page text as it currently exists.
808 Your changes are shown in the lower text area.
809 You will have to merge your changes into the existing text.
810 <b>Only</b> the text in the upper text area will be saved when you
811 press \"Save page\".\n<p>",
812 "yourtext" => "Your text",
813 "storedversion" => "Stored version",
814 "editingold" => "<strong>WARNING: You are editing an out-of-date
815 revision of this page.
816 If you save it, any changes made since this revision will be lost.</strong>\n",
817 "yourdiff" => "Differences",
818 # FIXME: This is inappropriate for third-party use!
819 "copyrightwarning" => "Please note that all contributions to {{SITENAME}} are
820 considered to be released under the GNU Free Documentation License
821 (see $1 for details).
822 If you don't want your writing to be edited mercilessly and redistributed
823 at will, then don't submit it here.<br />
824 You are also promising us that you wrote this yourself, or copied it from a
825 public domain or similar free resource.
826 <strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>",
827 "longpagewarning" => "WARNING: This page is $1 kilobytes long; some
828 browsers may have problems editing pages approaching or longer than 32kb.
829 Please consider breaking the page into smaller sections.",
830 "readonlywarning" => "WARNING: The database has been locked for maintenance,
831 so you will not be able to save your edits right now. You may wish to cut-n-paste
832 the text into a text file and save it for later.",
833 "protectedpagewarning" => "WARNING: This page has been locked so that only
834 users with sysop privileges can edit it. Be sure you are following the
835 <a href='$wgScript/{{ns:4}}:Protected_page_guidelines'>protected page
840 "revhistory" => "Revision history",
841 "nohistory" => "There is no edit history for this page.",
842 "revnotfound" => "Revision not found",
843 "revnotfoundtext" => "The old revision of the page you asked for could not be found.
844 Please check the URL you used to access this page.\n",
845 "loadhist" => "Loading page history",
846 "currentrev" => "Current revision",
847 "revisionasof" => "Revision as of $1",
852 "histlegend" => "Legend: (cur) = difference with current version,
853 (last) = difference with preceding version, M = minor edit",
857 "difference" => "(Difference between revisions)",
858 "loadingrev" => "loading revision for diff",
859 "lineno" => "Line $1:",
860 "editcurrent" => "Edit the current version of this page",
864 "searchresults" => "Search results",
865 "searchhelppage" => "{{ns:4}}:Searching",
866 "searchingwikipedia" => "Searching {{SITENAME}}",
867 "searchresulttext" => "For more information about searching {{SITENAME}}, see $1.",
868 "searchquery" => "For query \"$1\"",
869 "badquery" => "Badly formed search query",
870 "badquerytext" => "We could not process your query.
871 This is probably because you have attempted to search for a
872 word fewer than three letters long, which is not yet supported.
873 It could also be that you have mistyped the expression, for
874 example \"fish and and scales\".
875 Please try another query.",
876 "matchtotals" => "The query \"$1\" matched $2 article titles
877 and the text of $3 articles.",
878 "nogomatch" => "No page with this exact title exists, trying full text search.",
879 "titlematches" => "Article title matches",
880 "notitlematches" => "No article title matches",
881 "textmatches" => "Article text matches",
882 "notextmatches" => "No article text matches",
883 "prevn" => "previous $1",
884 "nextn" => "next $1",
885 "viewprevnext" => "View ($1) ($2) ($3).",
886 "showingresults" => "Showing below <b>$1</b> results starting with #<b>$2</b>.",
887 "showingresultsnum" => "Showing below <b>$3</b> results starting with #<b>$2</b>.",
888 "nonefound" => "<strong>Note</strong>: unsuccessful searches are
889 often caused by searching for common words like \"have\" and \"from\",
890 which are not indexed, or by specifying more than one search term (only pages
891 containing all of the search terms will appear in the result).",
892 "powersearch" => "Search",
893 "powersearchtext" => "
894 Search in namespaces :<br />
896 $2 List redirects Search for $3 $9",
897 "searchdisabled" => "<p>Sorry! Full text search has been disabled temporarily, for performance reasons. In the meantime, you can use the Google search below, which may be out of date.</p>",
899 <!-- SiteSearch Google -->
900 <FORM method=GET action=\"http://www.google.com/search\">
901 <TABLE bgcolor=\"#FFFFFF\"><tr><td>
902 <A HREF=\"http://www.google.com/\">
903 <IMG SRC=\"http://www.google.com/logos/Logo_40wht.gif\"
904 border=\"0\" ALT=\"Google\"></A>
907 <INPUT TYPE=text name=q size=31 maxlength=255 value=\"$1\">
908 <INPUT type=submit name=btnG VALUE=\"Google Search\">
910 <input type=hidden name=domains value=\"{{SERVER}}\"><br /><input type=radio name=sitesearch value=\"\"> WWW <input type=radio name=sitesearch value=\"{{SERVER}}\" checked> {{SERVER}} <br />
911 <input type='hidden' name='ie' value='$2'>
912 <input type='hidden' name='oe' value='$2'>
916 <!-- SiteSearch Google -->",
917 "blanknamespace" => "(Main)",
921 "preferences" => "Preferences",
922 "prefsnologin" => "Not logged in",
923 "prefsnologintext" => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
924 to set user preferences.",
925 "prefslogintext" => "You are logged in as \"$1\".
926 Your internal ID number is $2.
928 See [[{{ns:4}}:User preferences help]] for help deciphering the options.",
929 "prefsreset" => "Preferences have been reset from storage.",
930 "qbsettings" => "Quickbar settings",
931 "changepassword" => "Change password",
933 "math" => "Rendering math",
934 "dateformat" => "Date format",
935 "math_failure" => "Failed to parse",
936 "math_unknown_error" => "unknown error",
937 "math_unknown_function" => "unknown function ",
938 "math_lexing_error" => "lexing error",
939 "math_syntax_error" => "syntax error",
940 "math_image_error" => "PNG conversion failed; check for correct installation of latex, dvips, gs, and convert",
941 "math_bad_tmpdir" => "Can't write to or create math temp directory",
942 "math_bad_output" => "Can't write to or create math output directory",
943 "math_notexvc" => "Missing texvc executable; please see math/README to configure.",
944 "saveprefs" => "Save preferences",
945 "resetprefs" => "Reset preferences",
946 "oldpassword" => "Old password",
947 "newpassword" => "New password",
948 "retypenew" => "Retype new password",
949 "textboxsize" => "Textbox dimensions",
951 "columns" => "Columns",
952 "searchresultshead" => "Search result settings",
953 "resultsperpage" => "Hits to show per page",
954 "contextlines" => "Lines to show per hit",
955 "contextchars" => "Characters of context per line",
956 "stubthreshold" => "Threshold for stub display",
957 "recentchangescount" => "Number of titles in recent changes",
958 "savedprefs" => "Your preferences have been saved.",
959 "timezonetext" => "Enter number of hours your local time differs
960 from server time (UTC).",
961 "localtime" => "Local time display",
962 "timezoneoffset" => "Offset",
963 "servertime" => "Server time is now",
964 "guesstimezone" => "Fill in from browser",
965 "emailflag" => "Disable e-mail from other users",
966 "defaultns" => "Search in these namespaces by default:",
970 "changes" => "changes",
971 "recentchanges" => "Recent changes",
972 "recentchangestext" => "Track the most recent changes to the wiki on this page.",
973 "rcloaderr" => "Loading recent changes",
974 "rcnote" => "Below are the last <strong>$1</strong> changes in last <strong>$2</strong> days.",
975 "rcnotefrom" => "Below are the changes since <b>$2</b> (up to <b>$1</b> shown).",
976 "rclistfrom" => "Show new changes starting from $1",
977 # "rclinks" => "Show last $1 changes in last $2 hours / last $3 days",
978 # "rclinks" => "Show last $1 changes in last $2 days.",
979 "showhideminor" => "$1 minor edits | $2 bots | $3 logged in users ",
980 "rclinks" => "Show last $1 changes in last $2 days<br />$3",
981 "rchide" => "in $4 form; $1 minor edits; $2 secondary namespaces; $3 multiple edits.",
982 "rcliu" => "; $1 edits from logged in users",
987 "tableform" => "table",
988 "listform" => "list",
989 "nchanges" => "$1 changes",
990 "minoreditletter" => "M",
991 "newpageletter" => "N",
995 "upload" => "Upload file",
996 "uploadbtn" => "Upload file",
997 "uploadlink" => "Upload images",
998 "reupload" => "Re-upload",
999 "reuploaddesc" => "Return to the upload form.",
1000 "uploadnologin" => "Not logged in",
1001 "uploadnologintext" => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
1003 "uploadfile" => "Upload images, sounds, documents etc.",
1004 "uploaderror" => "Upload error",
1005 "uploadtext" => "<strong>STOP!</strong> Before you upload here,
1006 make sure to read and follow the <a href=\"{{localurle:Special:Image_use_policy}}\">image use policy</a>.
1007 <p>If a file with the name you are specifying already
1008 exists on the wiki, it'll be replaced without warning.
1009 So unless you mean to update a file, it's a good idea
1010 to first check if such a file exists.
1011 <p>To view or search previously uploaded images,
1012 go to the <a href=\"{{localurle:Special:Imagelist}}\">list of uploaded images</a>.
1013 Uploads and deletions are logged on the " .
1014 "<a href=\"{{localurle:Wikipedia:Upload_log}}\">upload log</a>.
1015 <p>Use the form below to upload new image files for use in
1016 illustrating your articles.
1017 On most browsers, you will see a \"Browse...\" button, which will
1018 bring up your operating system's standard file open dialog.
1019 Choosing a file will fill the name of that file into the text
1020 field next to the button.
1021 You must also check the box affirming that you are not
1022 violating any copyrights by uploading the file.
1023 Press the \"Upload\" button to finish the upload.
1024 This may take some time if you have a slow internet connection.
1025 <p>The preferred formats are JPEG for photographic images, PNG
1026 for drawings and other iconic images, and OGG for sounds.
1027 Please name your files descriptively to avoid confusion.
1028 To include the image in an article, use a link in the form
1029 <b>[[image:file.jpg]]</b> or <b>[[image:file.png|alt text]]</b>
1030 or <b>[[media:file.ogg]]</b> for sounds.
1031 <p>Please note that as with wiki pages, others may edit or
1032 delete your uploads if they think it serves the encyclopedia, and
1033 you may be blocked from uploading if you abuse the system.",
1035 "uploadlog" => "upload log",
1036 "uploadlogpage" => "Upload_log",
1037 "uploadlogpagetext" => "Below is a list of the most recent file uploads.
1038 All times shown are server time (UTC).
1042 "filename" => "Filename",
1043 "filedesc" => "Summary",
1044 "filestatus" => "Copyright status",
1045 "filesource" => "Source",
1046 "affirmation" => "I affirm that the copyright holder of this file
1047 agrees to license it under the terms of the $1.",
1048 "copyrightpage" => "{{ns:4}}:Copyrights",
1049 "copyrightpagename" => "{{SITENAME}} copyright",
1050 "uploadedfiles" => "Uploaded files",
1051 "noaffirmation" => "You must affirm that your upload does not violate
1053 "ignorewarning" => "Ignore warning and save file anyway.",
1054 "minlength" => "Image names must be at least three letters.",
1055 "badfilename" => "Image name has been changed to \"$1\".",
1056 "badfiletype" => "\".$1\" is not a recommended image file format.",
1057 "largefile" => "It is recommended that images not exceed 100k in size.",
1058 "successfulupload" => "Successful upload",
1059 "fileuploaded" => "File \"$1\" uploaded successfully.
1060 Please follow this link: ($2) to the description page and fill
1061 in information about the file, such as where it came from, when it was
1062 created and by whom, and anything else you may know about it.",
1063 "uploadwarning" => "Upload warning",
1064 "savefile" => "Save file",
1065 "uploadedimage" => "uploaded \"$1\"",
1066 "uploaddisabled" => "Sorry, uploading is disabled.",
1070 "imagelist" => "Image list",
1071 "imagelisttext" => "Below is a list of $1 images sorted $2.",
1072 "getimagelist" => "fetching image list",
1073 "ilshowmatch" => "Show all images with names matching",
1074 "ilsubmit" => "Search",
1075 "showlast" => "Show last $1 images sorted $2.",
1077 "byname" => "by name",
1078 "bydate" => "by date",
1079 "bysize" => "by size",
1080 "imgdelete" => "del",
1081 "imgdesc" => "desc",
1082 "imglegend" => "Legend: (desc) = show/edit image description.",
1083 "imghistory" => "Image history",
1084 "revertimg" => "rev",
1085 "deleteimg" => "del",
1086 "imghistlegend" => "Legend: (cur) = this is the current image, (del) = delete
1087 this old version, (rev) = revert to this old version.
1088 <br /><i>Click on date to see image uploaded on that date</i>.",
1089 "imagelinks" => "Image links",
1090 "linkstoimage" => "The following pages link to this image:",
1091 "nolinkstoimage" => "There are no pages that link to this image.",
1095 "statistics" => "Statistics",
1096 "sitestats" => "Site statistics",
1097 "userstats" => "User statistics",
1098 "sitestatstext" => "There are <b>$1</b> total pages in the database.
1099 This includes \"talk\" pages, pages about {{SITENAME}}, minimal \"stub\"
1100 pages, redirects, and others that probably don't qualify as articles.
1101 Excluding those, there are <b>$2</b> pages that are probably legitimate
1103 There have been a total of <b>$3</b> page views, and <b>$4</b> page edits
1104 since the software was upgraded (July 20, 2002).
1105 That comes to <b>$5</b> average edits per page, and <b>$6</b> views per edit.",
1106 "userstatstext" => "There are <b>$1</b> registered users.
1107 <b>$2</b> of these are administrators (see $3).",
1111 "maintenance" => "Maintenance page",
1112 "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 ;-)",
1113 "maintenancebacklink" => "Back to Maintenance Page",
1114 "disambiguations" => "Disambiguation pages",
1115 "disambiguationspage" => "{{ns:4}}:Links_to_disambiguating_pages",
1116 "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.",
1117 "doubleredirects" => "Double Redirects",
1118 "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.",
1119 "brokenredirects" => "Broken Redirects",
1120 "brokenredirectstext" => "The following redirects link to a non-existing article.",
1121 "selflinks" => "Pages with Self Links",
1122 "selflinkstext" => "The following pages contain a link to themselves, which they should not.",
1123 "mispeelings" => "Pages with misspellings",
1124 "mispeelingstext" => "The following pages contain a common misspelling, which are listed on $1. The correct spelling might be given (like this).",
1125 "mispeelingspage" => "List of common misspellings",
1126 "missinglanguagelinks" => "Missing Language Links",
1127 "missinglanguagelinksbutton" => "Find missing language links for",
1128 "missinglanguagelinkstext" => "These articles do <i>not</i> link to their counterpart in $1. Redirects and subpages are <i>not</i> shown.",
1131 # Miscellaneous special pages
1133 "orphans" => "Orphaned pages",
1134 "lonelypages" => "Orphaned pages",
1135 "unusedimages" => "Unused images",
1136 "popularpages" => "Popular pages",
1137 "nviews" => "$1 views",
1138 "wantedpages" => "Wanted pages",
1139 "nlinks" => "$1 links",
1140 "allpages" => "All pages",
1141 "randompage" => "Random page",
1142 "shortpages" => "Short pages",
1143 "longpages" => "Long pages",
1144 "deadendpages" => "Dead-end pages",
1145 "listusers" => "User list",
1146 "specialpages" => "Special pages",
1147 "spheading" => "Special pages for all users",
1148 "sysopspheading" => "For sysop use only",
1149 "developerspheading" => "For developer use only",
1150 "protectpage" => "Protect page",
1151 "recentchangeslinked" => "Related changes",
1152 "rclsub" => "(to pages linked from \"$1\")",
1154 "newpages" => "New pages",
1155 "ancientpages" => "Oldest articles",
1156 "intl" => "Interlanguage links",
1158 "movethispage" => "Move this page",
1159 "unusedimagestext" => "<p>Please note that other web sites may link to an image with
1160 a direct URL, and so may still be listed here despite being
1162 "booksources" => "Book sources",
1163 # FIXME: Other sites, of course, may have affiliate relations with the booksellers list
1164 "booksourcetext" => "Below is a list of links to other sites that
1165 sell new and used books, and may also have further information
1166 about books you are looking for.
1167 {{SITENAME}} is not affiliated with any of these businesses, and
1168 this list should not be construed as an endorsement.",
1169 "rfcurl" => "http://www.faqs.org/rfcs/rfc$1.html",
1170 "alphaindexline" => "$1 to $2",
1171 "version" => "Version",
1175 "mailnologin" => "No send address",
1176 "mailnologintext" => "You must be <a href=\"{{localurl:Special:Userlogin\">logged in</a>
1177 and have a valid e-mail address in your <a href=\"{{localurl:Special:Preferences}}\">preferences</a>
1178 to send e-mail to other users.",
1179 "emailuser" => "E-mail this user",
1180 "emailpage" => "E-mail user",
1181 "emailpagetext" => "If this user has entered a valid e-mail address in
1182 his or her user preferences, the form below will send a single message.
1183 The e-mail address you entered in your user preferences will appear
1184 as the \"From\" address of the mail, so the recipient will be able
1186 "usermailererror" => "Mail object returned error: ",
1187 "defemailsubject" => "{{SITENAME}} e-mail",
1188 "noemailtitle" => "No e-mail address",
1189 "noemailtext" => "This user has not specified a valid e-mail address,
1190 or has chosen not to receive e-mail from other users.",
1191 "emailfrom" => "From",
1193 "emailsubject" => "Subject",
1194 "emailmessage" => "Message",
1195 "emailsend" => "Send",
1196 "emailsent" => "E-mail sent",
1197 "emailsenttext" => "Your e-mail message has been sent.",
1201 "watchlist" => "My watchlist",
1202 "watchlistsub" => "(for user \"$1\")",
1203 "nowatchlist" => "You have no items on your watchlist.",
1204 "watchnologin" => "Not logged in",
1205 "watchnologintext" => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
1206 to modify your watchlist.",
1207 "addedwatch" => "Added to watchlist",
1208 "addedwatchtext" => "The page \"$1\" has been added to your <a href=\"{{localurl:Special:Watchlist}}\">watchlist</a>.
1209 Future changes to this page and its associated Talk page will be listed there,
1210 and the page will appear <b>bolded</b> in the <a href=\"{{localurl:Special:Recentchanges}}\">list of recent changes</a> to
1211 make it easier to pick out.</p>
1213 <p>If you want to remove the page from your watchlist later, click \"Stop watching\" in the sidebar.",
1214 "removedwatch" => "Removed from watchlist",
1215 "removedwatchtext" => "The page \"$1\" has been removed from your watchlist.",
1217 "watchthispage" => "Watch this page",
1218 'unwatch' => 'Unwatch',
1219 "unwatchthispage" => "Stop watching",
1220 "notanarticle" => "Not an article",
1221 "watchnochange" => "None of your watched items were edited in the time period displayed.",
1222 "watchdetails" => "($1 pages watched not counting talk pages;
1223 $2 total pages edited since cutoff;
1225 <a href='$4'>show and edit complete list</a>.)",
1226 "watchmethod-recent"=> "checking recent edits for watched pages",
1227 "watchmethod-list" => "checking watched pages for recent edits",
1228 "removechecked" => "Remove checked items from watchlist",
1229 "watchlistcontains" => "Your watchlist contains $1 pages.",
1230 "watcheditlist" => "Here's an alphabetical list of your
1231 watched pages. Check the boxes of pages you want to remove
1232 from your watchlist and click the 'remove checked' button
1233 at the bottom of the screen.",
1234 "removingchecked" => "Removing requested items from watchlist...",
1235 "couldntremove" => "Couldn't remove item '$1'...",
1236 "iteminvalidname" => "Problem with item '$1', invalid name...",
1237 "wlnote" => "Below are the last $1 changes in the last <b>$2</b> hours.",
1238 "wlshowlast" => "Show last $1 hours $2 days $3",
1239 "wlsaved" => "This is a saved version of your watchlist.",
1242 # Delete/protect/revert
1244 "deletepage" => "Delete page",
1245 "confirm" => "Confirm",
1246 "excontent" => "content was:",
1247 "exbeforeblank" => "content before blanking was:",
1248 "exblank" => "page was empty",
1249 "confirmdelete" => "Confirm delete",
1250 "deletesub" => "(Deleting \"$1\")",
1251 "historywarning" => "Warning: The page you are about to delete has a history: ",
1252 "confirmdeletetext" => "You are about to permanently delete a page
1253 or image along with all of its history from the database.
1254 Please confirm that you intend to do this, that you understand the
1255 consequences, and that you are doing this in accordance with
1256 [[{{ns:4}}:Policy]].",
1257 "confirmcheck" => "Yes, I really want to delete this.",
1258 "actioncomplete" => "Action complete",
1259 "deletedtext" => "\"$1\" has been deleted.
1260 See $2 for a record of recent deletions.",
1261 "deletedarticle" => "deleted \"$1\"",
1262 "dellogpage" => "Deletion_log",
1263 "dellogpagetext" => "Below is a list of the most recent deletions.
1264 All times shown are server time (UTC).
1268 "deletionlog" => "deletion log",
1269 "reverted" => "Reverted to earlier revision",
1270 "deletecomment" => "Reason for deletion",
1271 "imagereverted" => "Revert to earlier version was successful.",
1272 "rollback" => "Roll back edits",
1273 'rollback_short' => 'Rollback',
1274 "rollbacklink" => "rollback",
1275 "rollbackfailed" => "Rollback failed",
1276 "cantrollback" => "Cannot revert edit; last contributor is only author of this article.",
1277 "alreadyrolled" => "Cannot rollback last edit of [[$1]]
1278 by [[User:$2|$2]] ([[User talk:$2|Talk]]); someone else has edited or rolled back the article already.
1280 Last edit was by [[User:$3|$3]] ([[User talk:$3|Talk]]). ",
1281 # only shown if there is an edit comment
1282 "editcomment" => "The edit comment was: \"<i>$1</i>\".",
1283 "revertpage" => "Reverted edit of $2, changed back to last version by $1",
1284 "protectlogpage" => "Protection_log",
1285 "protectlogtext" => "Below is a list of page locks/unlocks.
1286 See [[{{ns:4}}:Protected page]] for more information.",
1287 "protectedarticle" => "protected [[$1]]",
1288 "unprotectedarticle" => "unprotected [[$1]]",
1291 "undelete" => "Restore deleted page",
1292 "undeletepage" => "View and restore deleted pages",
1293 "undeletepagetext" => "The following pages have been deleted but are still in the archive and
1294 can be restored. The archive may be periodically cleaned out.",
1295 "undeletearticle" => "Restore deleted article",
1296 "undeleterevisions" => "$1 revisions archived",
1297 "undeletehistory" => "If you restore the page, all revisions will be restored to the history.
1298 If a new page with the same name has been created since the deletion, the restored
1299 revisions will appear in the prior history, and the current revision of the live page
1300 will not be automatically replaced.",
1301 "undeleterevision" => "Deleted revision as of $1",
1302 "undeletebtn" => "Restore!",
1303 "undeletedarticle" => "restored \"$1\"",
1304 "undeletedtext" => "The article [[$1]] has been successfully restored.
1305 See [[{{ns:4}}:Deletion_log]] for a record of recent deletions and restorations.",
1309 "contributions" => "User contributions",
1310 "mycontris" => "My contributions",
1311 "contribsub" => "For $1",
1312 "nocontribs" => "No changes were found matching these criteria.",
1313 "ucnote" => "Below are this user's last <b>$1</b> changes in the last <b>$2</b> days.",
1314 "uclinks" => "View the last $1 changes; view the last $2 days.",
1315 "uctop" => " (top)" ,
1319 "whatlinkshere" => "What links here",
1320 "notargettitle" => "No target",
1321 "notargettext" => "You have not specified a target page or user
1322 to perform this function on.",
1323 "linklistsub" => "(List of links)",
1324 "linkshere" => "The following pages link to here:",
1325 "nolinkshere" => "No pages link to here.",
1326 "isredirect" => "redirect page",
1330 "blockip" => "Block user",
1331 "blockiptext" => "Use the form below to block write access
1332 from a specific IP address or username.
1333 This should be done only only to prevent vandalism, and in
1334 accordance with [[{{ns:4}}:Policy|policy]].
1335 Fill in a specific reason below (for example, citing particular
1336 pages that were vandalized).",
1337 "ipaddress" => "IP Address/username",
1338 "ipbexpiry" => "Expiry",
1339 "ipbreason" => "Reason",
1340 "ipbsubmit" => "Block this user",
1341 "badipaddress" => "Invalid IP address",
1342 "noblockreason" => "You must supply a reason for the block.",
1343 "blockipsuccesssub" => "Block succeeded",
1344 "blockipsuccesstext" => "\"$1\" has been blocked.
1345 <br />See [[Special:Ipblocklist|IP block list]] to review blocks.",
1346 "unblockip" => "Unblock user",
1347 "unblockiptext" => "Use the form below to restore write access
1348 to a previously blocked IP address or username.",
1349 "ipusubmit" => "Unblock this address",
1350 "ipusuccess" => "\"$1\" unblocked",
1351 "ipblocklist" => "List of blocked IP addresses and usernames",
1352 "blocklistline" => "$1, $2 blocked $3 (expires $4)",
1353 "blocklink" => "block",
1354 "unblocklink" => "unblock",
1355 "contribslink" => "contribs",
1356 "autoblocker" => "Autoblocked because you share an IP address with \"$1\". Reason \"$2\".",
1357 "blocklogpage" => "Block_log",
1358 "blocklogentry" => 'blocked "$1" with an expiry time of $2',
1359 "blocklogtext" => "This is a log of user blocking and unblocking actions. Automatically
1360 blocked IP addresses are not be listed. See the [[Special:Ipblocklist|IP block list]] for
1361 the list of currently operational bans and blocks.",
1362 "unblocklogentry" => 'unblocked "$1"',
1363 "range_block_disabled" => "The sysop ability to create range blocks is disabled.",
1364 "ipb_expiry_invalid" => "Expiry time invalid.",
1365 "ip_range_invalid" => "Invalid IP range.\n",
1366 "proxyblocker" => "Proxy blocker",
1367 "proxyblockreason" => "Your IP address has been blocked because it is an open proxy. Please contact your Internet service provider or tech support and inform them of this serious security problem.",
1368 "proxyblocksuccess" => "Done.\n",
1372 "lockdb" => "Lock database",
1373 "unlockdb" => "Unlock database",
1374 "lockdbtext" => "Locking the database will suspend the ability of all
1375 users to edit pages, change their preferences, edit their watchlists, and
1376 other things requiring changes in the database.
1377 Please confirm that this is what you intend to do, and that you will
1378 unlock the database when your maintenance is done.",
1379 "unlockdbtext" => "Unlocking the database will restore the ability of all
1380 users to edit pages, change their preferences, edit their watchlists, and
1381 other things requiring changes in the database.
1382 Please confirm that this is what you intend to do.",
1383 "lockconfirm" => "Yes, I really want to lock the database.",
1384 "unlockconfirm" => "Yes, I really want to unlock the database.",
1385 "lockbtn" => "Lock database",
1386 "unlockbtn" => "Unlock database",
1387 "locknoconfirm" => "You did not check the confirmation box.",
1388 "lockdbsuccesssub" => "Database lock succeeded",
1389 "unlockdbsuccesssub" => "Database lock removed",
1390 "lockdbsuccesstext" => "The database has been locked.
1391 <br />Remember to remove the lock after your maintenance is complete.",
1392 "unlockdbsuccesstext" => "The database has been unlocked.",
1396 "asksql" => "SQL query",
1397 "asksqltext" => "Use the form below to make a direct query of the
1399 Use single quotes ('like this') to delimit string literals.
1400 This can often add considerable load to the server, so please use
1401 this function sparingly.",
1402 "sqlislogged" => "Please note that all queries are logged.",
1403 "sqlquery" => "Enter query",
1404 "querybtn" => "Submit query",
1405 "selectonly" => "Only read-only queries are allowed.",
1406 "querysuccessful" => "Query successful",
1409 "makesysoptitle" => "Make a user into a sysop",
1410 "makesysoptext" => "This form is used by bureaucrats to turn ordinary users into administrators.
1411 Type the name of the user in the box and press the button to make the user an administrator",
1412 "makesysopname" => "Name of the user:",
1413 "makesysopsubmit" => "Make this user into a sysop",
1414 "makesysopok" => "<b>User \"$1\" is now a sysop</b>",
1415 "makesysopfail" => "<b>User \"$1\" could not be made into a sysop. (Did you enter the name correctly?)</b>",
1416 "setbureaucratflag" => "Set bureaucrat flag",
1417 "bureaucratlog" => "Bureaucrat_log",
1418 "bureaucratlogentry" => "Rights for user \"$1\" set \"$2\"",
1419 "rights" => "Rights:",
1420 "set_user_rights" => "Set user rights",
1421 "user_rights_set" => "<b>User rights for \"$1\" updated</b>",
1422 "set_rights_fail" => "<b>User rights for \"$1\" could not be set. (Did you enter the name correctly?)</b>",
1423 "makesysop" => "Make a user into a sysop",
1427 "movepage" => "Move page",
1428 "movepagetext" => "Using the form below will rename a page, moving all
1429 of its history to the new name.
1430 The old title will become a redirect page to the new title.
1431 Links to the old page title will not be changed; be sure to
1432 [[Special:Maintenance|check]] for double or broken redirects.
1433 You are responsible for making sure that links continue to
1434 point where they are supposed to go.
1436 Note that the page will '''not''' be moved if there is already
1437 a page at the new title, unless it is empty or a redirect and has no
1438 past edit history. This means that you can rename a page back to where
1439 it was just renamed from if you make a mistake, and you cannot overwrite
1443 This can be a drastic and unexpected change for a popular page;
1444 please be sure you understand the consequences of this before
1446 "movepagetalktext" => "The associated talk page, if any, will be automatically moved along with it '''unless:'''
1447 *You are moving the page across namespaces,
1448 *A non-empty talk page already exists under the new name, or
1449 *You uncheck the box below.
1451 In those cases, you will have to move or merge the page manually if desired.",
1452 "movearticle" => "Move page",
1453 "movenologin" => "Not logged in",
1454 "movenologintext" => "You must be a registered user and <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
1456 "newtitle" => "To new title",
1457 "movepagebtn" => "Move page",
1458 "pagemovedsub" => "Move succeeded",
1459 "pagemovedtext" => "Page \"[[$1]]\" moved to \"[[$2]]\".",
1460 "articleexists" => "A page of that name already exists, or the
1461 name you have chosen is not valid.
1462 Please choose another name.",
1463 "talkexists" => "The page itself was moved successfully, but the
1464 talk page could not be moved because one already exists at the new
1465 title. Please merge them manually.",
1466 "movedto" => "moved to",
1467 "movetalk" => "Move \"talk\" page as well, if applicable.",
1468 "talkpagemoved" => "The corresponding talk page was also moved.",
1469 "talkpagenotmoved" => "The corresponding talk page was <strong>not</strong> moved.",
1470 "1movedto2" => "$1 moved to $2",
1474 "export" => "Export pages",
1475 "exporttext" => "You can export the text and editing history of a particular
1476 page or set of pages wrapped in some XML; this can then be imported into another
1477 wiki running MediaWiki software, transformed, or just kept for your private
1479 "exportcuronly" => "Include only the current revision, not the full history",
1481 # Namespace 8 related
1483 "allmessages" => "All system messages",
1484 "allmessagestext" => "This is a list of all system messages available in the MediaWiki: namespace.",
1488 "thumbnail-more" => "Enlarge",
1489 "missingimage" => "<b>Missing image</b><br /><i>$1</i>\n",
1492 "import" => "Import pages",
1493 "importtext" => "Please export the file from the source wiki using the Special:Export utility, save it to your disk and upload it here.",
1494 "importfailed" => "Import failed: $1",
1495 "importnotext" => "Empty or no text",
1496 "importsuccess" => "Import succeeded!",
1498 # Keyboard access keys for power users
1499 'accesskey-article' => 'a',
1500 'accesskey-talk' => 't',
1501 'accesskey-edit' => 'e',
1502 'accesskey-history' => 'h',
1503 'accesskey-protect' => 'p',
1504 'accesskey-delete' => 'd',
1505 'accesskey-move' => 'm',
1506 'accesskey-watch' => '',
1507 'accesskey-unwatch' => '',
1508 'accesskey-watchlist' => 'w',
1509 'accesskey-userpage' => '',
1510 'accesskey-mytalk' => '',
1511 'accesskey-preferences' => '',
1512 'accesskey-mycontris' => '',
1513 'accesskey-login' => 'l',
1514 'accesskey-search' => 's',
1515 'accesskey-mainpage' => '',
1516 'accesskey-portal' => '',
1517 'accesskey-randompage' => 'x',
1518 'accesskey-currentevents' => '',
1519 'accesskey-sitesupport' => '',
1520 'accesskey-help' => '',
1521 'accesskey-recentchanges' => 'r',
1522 'accesskey-recentchangeslinked' => 'c',
1523 'accesskey-whatlinkshere' => 'b',
1524 'accesskey-specialpages' => '',
1525 'accesskey-specialpage' => '',
1526 'accesskey-upload' => 'u',
1528 # tooltip help for the main actions
1529 'tooltip-article' => 'View the article [alt-a]',
1530 'tooltip-talk' => 'Discussion about the article [alt-t]',
1531 'tooltip-edit' => 'You can edit this page. Please use the preview button before saving. [alt-e]',
1532 'tooltip-history' => 'Past versions of this page, [alt-h]',
1533 'tooltip-protect' => 'Protect this page [alt-p]',
1534 'tooltip-delete' => 'Delete this page [alt-d]',
1535 'tooltip-move' => 'Move this page [alt-m]',
1536 'tooltip-nomove' => 'You don\'t have the permissions to move this page',
1537 'tooltip-watch' => 'Add this page to your watchlist',
1538 'tooltip-unwatch' => 'Remove this page from your watchlist',
1539 'tooltip-watchlist' => 'The watchlist is the list of pages you\'re monitoring for changes. [alt-w]',
1540 'tooltip-userpage' => 'My user page',
1541 'tooltip-mytalk' => 'My talk page',
1542 'tooltip-preferences' => 'My preferences',
1543 'tooltip-mycontris' => 'List of my contributions',
1544 'tooltip-login' => 'You are encouraged to log in before editing, it\'s not mandatory however.',
1545 'tooltip-logout' => 'The start button',
1546 'tooltip-search' => 'Search this wiki',
1547 'tooltip-mainpage' => 'Visit the Main Page',
1548 'tooltip-portal' => 'About the project, what you can do, where to find things',
1549 'tooltip-randompage' => 'Load a random page [alt-x]',
1550 'tooltip-currentevents' => 'Find background information on current events',
1551 'tooltip-sitesupport' => 'Support {{SITENAME}}',
1552 'tooltip-help' => 'The place to find out.',
1553 'tooltip-recentchanges' => 'The list of recent changes in the wiki. [alt-r]',
1554 'tooltip-recentchangeslinked' => 'Recent changes in pages linking to this page [alt-c]',
1555 'tooltip-whatlinkshere' => 'List of all wiki pages that link here [alt-b]',
1556 'tooltip-specialpages' => 'List of all special pages',
1557 'tooltip-upload' => 'Upload images or media files [alt-u]',
1558 'tooltip-specialpage' => 'This is a special page, you can\'t edit the page itself.',
1561 "nodublincore" => "Dublin Core RDF metadata disabled for this server.",
1562 "nocreativecommons" => "Creative Commons RDF metadata disabled for this server.",
1563 "notacceptable" => "The wiki server can't provide data in a format your client can read.",
1567 "anonymous" => "Anonymous user(s) of $wgSitename"
1570 #--------------------------------------------------------------------------
1571 # Internationalisation code
1572 #--------------------------------------------------------------------------
1575 function Language(){
1576 # Copies any missing values in the specified arrays from En to the current language
1577 $fillin = array( "wgSysopSpecialPages", "wgValidSpecialPages", "wgDeveloperSpecialPages" );
1578 $name = get_class( $this );
1579 if( strpos( $name, "language" ) == 0){
1580 $lang = ucfirst( substr( $name, 8 ) );
1581 foreach( $fillin as $arrname ){
1582 $langver = "{$arrname}{$lang}";
1583 $enver = "{$arrname}En";
1584 if( ! isset( $GLOBALS[$langver] ) ||
! isset( $GLOBALS[$enver] ))
1586 foreach($GLOBALS[$enver] as $spage => $text){
1587 if( ! isset( $GLOBALS[$langver][$spage] ) )
1588 $GLOBALS[$langver][$spage] = $text;
1594 function getDefaultUserOptions () {
1595 global $wgDefaultUserOptionsEn ;
1596 return $wgDefaultUserOptionsEn ;
1599 function getBookstoreList () {
1600 global $wgBookstoreListEn ;
1601 return $wgBookstoreListEn ;
1604 function getNamespaces() {
1605 global $wgNamespaceNamesEn;
1606 return $wgNamespaceNamesEn;
1609 function getNsText( $index ) {
1610 global $wgNamespaceNamesEn;
1611 return $wgNamespaceNamesEn[$index];
1614 function getNsIndex( $text ) {
1615 global $wgNamespaceNamesEn;
1617 foreach ( $wgNamespaceNamesEn as $i => $n ) {
1618 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
1623 function specialPage( $name ) {
1624 return $this->getNsText( Namespace::getSpecial() ) . ":" . $name;
1627 function getQuickbarSettings() {
1628 global $wgQuickbarSettingsEn;
1629 return $wgQuickbarSettingsEn;
1632 function getSkinNames() {
1633 global $wgSkinNamesEn;
1634 return $wgSkinNamesEn;
1637 function getMathNames() {
1638 global $wgMathNamesEn;
1639 return $wgMathNamesEn;
1642 function getDateFormats() {
1643 global $wgDateFormatsEn;
1644 return $wgDateFormatsEn;
1647 function getUserToggles() {
1648 global $wgUserTogglesEn;
1649 return $wgUserTogglesEn;
1652 function getLanguageNames() {
1653 global $wgLanguageNamesEn;
1654 return $wgLanguageNamesEn;
1657 function getLanguageName( $code ) {
1658 global $wgLanguageNamesEn;
1659 if ( ! array_key_exists( $code, $wgLanguageNamesEn ) ) {
1662 return $wgLanguageNamesEn[$code];
1665 function getMonthName( $key )
1667 global $wgMonthNamesEn;
1668 return $wgMonthNamesEn[$key-1];
1671 /* by default we just return base form */
1672 function getMonthNameGen( $key )
1674 return $this->getMonthName( $key );
1677 function getMonthAbbreviation( $key )
1679 global $wgMonthAbbreviationsEn;
1680 return $wgMonthAbbreviationsEn[$key-1];
1683 function getWeekdayName( $key )
1685 global $wgWeekdayNamesEn;
1686 return $wgWeekdayNamesEn[$key-1];
1689 function userAdjust( $ts )
1691 global $wgUser, $wgLocalTZoffset;
1693 $tz = $wgUser->getOption( "timecorrection" );
1695 $hrDiff = isset( $wgLocalTZoffset ) ?
$wgLocalTZoffset : 0;
1697 } elseif ( strpos( $tz, ":" ) !== false ) {
1698 $tzArray = explode( ":", $tz );
1699 $hrDiff = intval($tzArray[0]);
1700 $minDiff = intval($hrDiff < 0 ?
-$tzArray[1] : $tzArray[1]);
1702 $hrDiff = intval( $tz );
1704 if ( 0 == $hrDiff && 0 == $minDiff ) { return $ts; }
1707 (int)substr( $ts, 8, 2) ) +
$hrDiff, # Hours
1708 (int)substr( $ts, 10, 2 ) +
$minDiff, # Minutes
1709 (int)substr( $ts, 12, 2 ), # Seconds
1710 (int)substr( $ts, 4, 2 ), # Month
1711 (int)substr( $ts, 6, 2 ), # Day
1712 (int)substr( $ts, 0, 4 ) ); #Year
1713 return date( "YmdHis", $t );
1716 function date( $ts, $adj = false )
1718 global $wgAmericanDates, $wgUser, $wgUseDynamicDates;
1720 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1722 if ( $wgUseDynamicDates ) {
1723 $datePreference = $wgUser->getOption( 'date' );
1724 if ( $datePreference == 0 ) {
1725 $datePreference = $wgAmericanDates ?
1 : 2;
1728 $datePreference = $wgAmericanDates ?
1 : 2;
1731 $month = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) );
1732 $day = $this->formatNum( 0 +
substr( $ts, 6, 2 ) );
1733 $year = $this->formatNum( substr( $ts, 0, 4 ) );
1735 switch( $datePreference ) {
1736 case 1: return "$month $day, $year";
1737 case 2: return "$day $month $year";
1738 default: return "$year $month $day";
1742 function time( $ts, $adj = false, $seconds = false )
1744 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1746 $t = substr( $ts, 8, 2 ) . ":" . substr( $ts, 10, 2 );
1748 $t .= ":" . substr( $ts, 12, 2 );
1750 return $this->formatNum( $t );
1753 function timeanddate( $ts, $adj = false )
1755 return $this->time( $ts, $adj ) . ", " . $this->date( $ts, $adj );
1758 function rfc1123( $ts )
1760 return date( "D, d M Y H:i:s T", $ts );
1763 function getValidSpecialPages()
1765 global $wgValidSpecialPagesEn;
1766 return $wgValidSpecialPagesEn;
1769 function getSysopSpecialPages()
1771 global $wgSysopSpecialPagesEn;
1772 return $wgSysopSpecialPagesEn;
1775 function getDeveloperSpecialPages()
1777 global $wgDeveloperSpecialPagesEn;
1778 return $wgDeveloperSpecialPagesEn;
1781 function getMessage( $key )
1783 global $wgAllMessagesEn;
1784 return $wgAllMessagesEn[$key];
1787 function getAllMessages()
1789 global $wgAllMessagesEn;
1790 return $wgAllMessagesEn;
1793 function iconv( $in, $out, $string ) {
1794 # For most languages, this is a wrapper for iconv
1795 return iconv( $in, $out, $string );
1798 function ucfirst( $string ) {
1799 # For most languages, this is a wrapper for ucfirst()
1800 return ucfirst( $string );
1803 function lcfirst( $s ) {
1804 return strtolower( $s{0} ). substr( $s, 1 );
1807 function checkTitleEncoding( $s ) {
1808 global $wgInputEncoding;
1810 # Check for UTF-8 URLs; Internet Explorer produces these if you
1811 # type non-ASCII chars in the URL bar or follow unescaped links.
1812 $ishigh = preg_match( '/[\x80-\xff]/', $s);
1813 $isutf = ($ishigh ?
preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|' .
1814 '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s ) : true );
1816 if( ($wgInputEncoding != "utf-8") and $ishigh and $isutf )
1817 return iconv( "UTF-8", $wgInputEncoding, $s );
1819 if( ($wgInputEncoding == "utf-8") and $ishigh and !$isutf )
1820 return utf8_encode( $s );
1822 # Other languages can safely leave this function, or replace
1823 # it with one to detect and convert another legacy encoding.
1827 function stripForSearch( $in ) {
1828 # Some languages have special punctuation to strip out
1829 # or characters which need to be converted for MySQL's
1830 # indexing to grok it correctly. Make such changes here.
1835 function setAltEncoding() {
1836 # Some languages may have an alternate char encoding option
1837 # (Esperanto X-coding, Japanese furigana conversion, etc)
1838 # If 'altencoding' is checked in user prefs, this gives a
1839 # chance to swap out the default encoding settings.
1840 #global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1843 function recodeForEdit( $s ) {
1844 # For some languages we'll want to explicitly specify
1845 # which characters make it into the edit box raw
1846 # or are converted in some way or another.
1847 # Note that if wgOutputEncoding is different from
1848 # wgInputEncoding, this text will be further converted
1849 # to wgOutputEncoding.
1850 global $wgInputEncoding, $wgEditEncoding;
1851 if( $wgEditEncoding == "" or
1852 $wgEditEncoding == $wgInputEncoding ) {
1855 return $this->iconv( $wgInputEncoding, $wgEditEncoding, $s );
1859 function recodeInput( $s ) {
1860 # Take the previous into account.
1861 global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1862 if($wgEditEncoding != "") {
1863 $enc = $wgEditEncoding;
1865 $enc = $wgOutputEncoding;
1867 if( $enc == $wgInputEncoding ) {
1870 return $this->iconv( $enc, $wgInputEncoding, $s );
1874 # For right-to-left language support
1875 function isRTL() { return false; }
1877 # To allow "foo[[bar]]" to extend the link over the whole word "foobar"
1878 function linkPrefixExtension() { return false; }
1881 function &getMagicWords()
1883 global $wgMagicWordsEn;
1884 return $wgMagicWordsEn;
1887 # Fill a MagicWord object with data from here
1888 function getMagic( &$mw )
1890 $raw =& $this->getMagicWords();
1891 $rawEntry = $raw[$mw->mId
];
1892 $mw->mCaseSensitive
= $rawEntry[0];
1893 $mw->mSynonyms
= array_slice( $rawEntry, 1 );
1896 # Italic is unsuitable for some languages
1897 function emphasize( $text )
1899 return "<em>$text</em>";
1902 # returns additional Regex for the tokenizer. See LanguageFr.php for an example
1903 function tokenizerRegex()
1908 # Process the token generated from the tokenizer by the above regex. Return
1909 # NULL if the token is unknown, and the text to be added to the output otherwise
1910 function processToken( &$token , &$tokenStack)
1915 # Normally we use the plain ASCII digits. Some languages such as Arabic will
1916 # want to output numbers using script-appropriate characters: override this
1917 # function with a translator. See LanguageAr.php for an example.
1918 function formatNum( $number ) {
1924 @include_once
( "Language" . ucfirst( $wgLanguageCode ) . ".php" );