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