2 if( defined( "MEDIAWIKI" ) ) {
5 # In general you should not make customizations in these language files
6 # directly, but should use the MediaWiki: special namespace to customize
7 # user interface messages through the wiki.
8 # See http://meta.wikipedia.org/wiki/MediaWiki_namespace
10 # NOTE TO TRANSLATORS: Do not copy this whole file when making translations!
11 # A lot of common constants and a base class with inheritable methods are
12 # defined here, which should not be redefined. See the other LanguageXx.php
16 #--------------------------------------------------------------------------
17 # Language-specific text
18 #--------------------------------------------------------------------------
20 # The names of the namespaces can be set here, but the numbers
21 # are magical, so don't change or move them! The Namespace class
22 # encapsulates some of the magic-ness.
25 if($wgMetaNamespace === FALSE)
26 $wgMetaNamespace = str_replace( ' ', '_', $wgSitename );
28 /* private */ $wgNamespaceNamesEn = array(
30 NS_SPECIAL
=> 'Special',
34 NS_USER_TALK
=> 'User_talk',
35 NS_WIKIPEDIA
=> $wgMetaNamespace,
36 NS_WIKIPEDIA_TALK
=> $wgMetaNamespace . '_talk',
38 NS_IMAGE_TALK
=> 'Image_talk',
39 NS_MEDIAWIKI
=> 'MediaWiki',
40 NS_MEDIAWIKI_TALK
=> 'MediaWiki_talk',
41 NS_TEMPLATE
=> 'Template',
42 NS_TEMPLATE_TALK
=> 'Template_talk',
44 NS_HELP_TALK
=> 'Help_talk',
45 NS_CATEGORY
=> 'Category',
46 NS_CATEGORY_TALK
=> 'Category_talk'
49 /* private */ $wgDefaultUserOptionsEn = array(
50 'quickbar' => 1, 'underline' => 1, 'hover' => 1,
51 'cols' => 80, 'rows' => 25, 'searchlimit' => 20,
52 'contextlines' => 5, 'contextchars' => 50,
53 'skin' => $wgDefaultSkin, 'math' => 1, 'rcdays' => 7, 'rclimit' => 50,
54 'highlightbroken' => 1, 'stubthreshold' => 0,
55 'previewontop' => 1, 'editsection'=>1,'editsectiononrightclick'=>0, 'showtoc'=>1,
60 /* private */ $wgQuickbarSettingsEn = array(
61 'None', 'Fixed left', 'Fixed right', 'Floating left'
64 /* private */ $wgSkinNamesEn = array(
65 'standard' => 'Classic',
66 'nostalgia' => 'Nostalgia',
67 'cologneblue' => 'Cologne Blue',
68 'davinci' => 'DaVinci',
70 'monobook' => 'MonoBook',
75 define( "MW_MATH_PNG", 0 );
76 define( "MW_MATH_SIMPLE", 1 );
77 define( "MW_MATH_HTML", 2 );
78 define( "MW_MATH_SOURCE", 3 );
79 define( "MW_MATH_MODERN", 4 );
80 define( "MW_MATH_MATHML", 5 );
83 $wgValidationTypesEn = array (
84 "0" => "Style|Awful|Awesome|5",
85 "1" => "Legal|Illegal|Legal|5",
86 "2" => "Completeness|Stub|Extensive|5",
87 "3" => "Facts|Wild guesses|Solid as a rock|5",
88 "4" => "Suitable for 1.0 (paper)|No|Yes|2",
89 "5" => "Suitable for 1.0 (CD)|No|Yes|2"
92 /* private */ $wgMathNamesEn = array(
93 MW_MATH_PNG
=> 'mw_math_png',
94 MW_MATH_SIMPLE
=> 'mw_math_simple',
95 MW_MATH_HTML
=> 'mw_math_html',
96 MW_MATH_SOURCE
=> 'mw_math_source',
97 MW_MATH_MODERN
=> 'mw_math_modern',
98 MW_MATH_MATHML
=> 'mw_math_mathml'
101 # Whether to use user or default setting in Language::date()
102 define( "MW_DATE_DEFAULT", false );
103 define( "MW_DATE_USER_FORMAT", true );
105 /* private */ $wgDateFormatsEn = array(
113 /* private */ $wgUserTogglesEn = array(
124 'editsectiononrightclick',
134 /* private */ $wgBookstoreListEn = array(
135 "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
136 "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1",
137 "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
138 "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
141 # Read language names
142 global $wgLanguageNames;
143 require_once( "Names.php" );
145 $wgLanguageNamesEn =& $wgLanguageNames;
148 /* private */ $wgWeekdayNamesEn = array(
149 'sunday', 'monday', 'tuesday', 'wednesday', 'thursday',
154 /* private */ $wgMonthNamesEn = array(
155 'january', 'february', 'march', 'april', 'may_long', 'june',
156 'july', 'august', 'september', 'october', 'november',
159 /* private */ $wgMonthNamesGenEn = array(
160 'january-gen', 'february-gen', 'march-gen', 'april-gen', 'may-gen', 'june-gen',
161 'july-gen', 'august-gen', 'september-gen', 'october-gen', 'november-gen',
165 /* private */ $wgMonthAbbreviationsEn = array(
166 'jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug',
167 'sep', 'oct', 'nov', 'dec'
170 # Note to translators:
171 # Please include the English words as synonyms. This allows people
172 # from other wikis to contribute more easily.
174 /* private */ $wgMagicWordsEn = array(
176 MAG_REDIRECT
=> array( 0, '#redirect' ),
177 MAG_NOTOC
=> array( 0, '__NOTOC__' ),
178 MAG_FORCETOC
=> array( 0, '__FORCETOC__' ),
179 MAG_TOC
=> array( 0, '__TOC__' ),
180 MAG_NOEDITSECTION
=> array( 0, '__NOEDITSECTION__' ),
181 MAG_START
=> array( 0, '__START__' ),
182 MAG_CURRENTMONTH
=> array( 1, 'CURRENTMONTH' ),
183 MAG_CURRENTMONTHNAME
=> array( 1, 'CURRENTMONTHNAME' ),
184 MAG_CURRENTDAY
=> array( 1, 'CURRENTDAY' ),
185 MAG_CURRENTDAYNAME
=> array( 1, 'CURRENTDAYNAME' ),
186 MAG_CURRENTYEAR
=> array( 1, 'CURRENTYEAR' ),
187 MAG_CURRENTTIME
=> array( 1, 'CURRENTTIME' ),
188 MAG_NUMBEROFARTICLES
=> array( 1, 'NUMBEROFARTICLES' ),
189 MAG_CURRENTMONTHNAMEGEN
=> array( 1, 'CURRENTMONTHNAMEGEN' ),
190 MAG_PAGENAME
=> array( 1, 'PAGENAME' ),
191 MAG_PAGENAMEE
=> array( 1, 'PAGENAMEE' ),
192 MAG_NAMESPACE
=> array( 1, 'NAMESPACE' ),
193 MAG_MSG
=> array( 0, 'MSG:' ),
194 MAG_SUBST
=> array( 0, 'SUBST:' ),
195 MAG_MSGNW
=> array( 0, 'MSGNW:' ),
196 MAG_END
=> array( 0, '__END__' ),
197 MAG_IMG_THUMBNAIL
=> array( 1, 'thumbnail', 'thumb' ),
198 MAG_IMG_RIGHT
=> array( 1, 'right' ),
199 MAG_IMG_LEFT
=> array( 1, 'left' ),
200 MAG_IMG_NONE
=> array( 1, 'none' ),
201 MAG_IMG_WIDTH
=> array( 1, '$1px' ),
202 MAG_IMG_CENTER
=> array( 1, 'center', 'centre' ),
203 MAG_IMG_FRAMED
=> array( 1, 'framed', 'enframed', 'frame' ),
204 MAG_INT
=> array( 0, 'INT:' ),
205 MAG_SITENAME
=> array( 1, 'SITENAME' ),
206 MAG_NS
=> array( 0, 'NS:' ),
207 MAG_LOCALURL
=> array( 0, 'LOCALURL:' ),
208 MAG_LOCALURLE
=> array( 0, 'LOCALURLE:' ),
209 MAG_SERVER
=> array( 0, 'SERVER' )
212 #-------------------------------------------------------------------
214 #-------------------------------------------------------------------
215 # Allowed characters in keys are: A-Z, a-z, 0-9, underscore (_) and
216 # hyphen (-). If you need more characters, you may be able to change
217 # the regex in MagicWord::initRegex
219 # NOTE: To turn off "Current Events" in the sidebar,
220 # set "currentevents" => ""
222 # NOTE: To turn off "Disclaimers" in the title links,
223 # set "disclaimers" => ""
225 # NOTE: To turn off "Community portal" in the title links,
229 # required for copyrightwarning
230 global $wgRightsText;
232 /* private */ $wgAllMessagesEn = array(
233 'special_version_prefix' => ' ',
234 'special_version_postfix' => ' ',
235 # User preference toggles
236 'tog-hover' => 'Show hoverbox over wiki links',
237 'tog-underline' => 'Underline links',
238 'tog-highlightbroken' => 'Format broken links <a href="" class="new">like this</a> (alternative: like this<a href="" class="internal">?</a>).',
239 'tog-justify' => 'Justify paragraphs',
240 'tog-hideminor' => 'Hide minor edits in recent changes',
241 'tog-usenewrc' => 'Enhanced recent changes (not for all browsers)',
242 'tog-numberheadings' => 'Auto-number headings',
243 'tog-showtoolbar'=>'Show edit toolbar',
244 'tog-editondblclick' => 'Edit pages on double click (JavaScript)',
245 'tog-editsection'=>'Enable section editing via [edit] links',
246 'tog-editsectiononrightclick'=>'Enable section editing by right clicking<br /> on section titles (JavaScript)',
247 'tog-showtoc'=>'Show table of contents<br />(for pages with more than 3 headings)',
248 'tog-rememberpassword' => 'Remember password across sessions',
249 'tog-editwidth' => 'Edit box has full width',
250 'tog-watchdefault' => 'Add pages you edit to your watchlist',
251 'tog-minordefault' => 'Mark all edits minor by default',
252 'tog-previewontop' => 'Show preview before edit box and not after it',
253 'tog-nocache' => 'Disable page caching',
256 'sunday' => 'Sunday',
257 'monday' => 'Monday',
258 'tuesday' => 'Tuesday',
259 'wednesday' => 'Wednesday',
260 'thursday' => 'Thursday',
261 'friday' => 'Friday',
262 'saturday' => 'Saturday',
263 'january' => 'January',
264 'february' => 'February',
270 'august' => 'August',
271 'september' => 'September',
272 'october' => 'October',
273 'november' => 'November',
274 'december' => 'December',
287 # Bits of text used by many pages:
289 'categories' => 'Categories',
290 'category' => 'category',
291 'category_header' => 'Articles in category "$1"',
292 'subcategories' => 'Subcategories',
295 'linktrail' => '/^([a-z]+)(.*)$/sD',
296 'mainpage' => 'Main Page',
297 'mainpagetext' => 'Wiki software successfully installed.',
298 "mainpagedocfooter" => "Please see [http://meta.wikipedia.org/wiki/MediaWiki_i18n documentation on customizing the interface]
299 and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] for usage and configuration help.",
300 'portal' => 'Community portal',
301 'portal-url' => '{{ns:4}}:Community Portal',
303 "aboutwikipedia" => "About {{SITENAME}}",
304 "aboutpage" => "{{ns:4}}:About",
305 'article' => 'Content page',
307 "helppage" => "{{ns:12}}:Contents",
308 "wikititlesuffix" => "{{SITENAME}}",
309 "bugreports" => "Bug reports",
310 "bugreportspage" => "{{ns:4}}:Bug_reports",
311 'sitesupport' => 'Donations', # Set a URL in $wgSiteSupportPage in LocalSettings.php
313 "faqpage" => "{{ns:4}}:FAQ",
314 "edithelp" => "Editing help",
315 "newwindow" => "(opens in new window)",
316 "edithelppage" => "{{ns:12}}:Editing",
317 'cancel' => 'Cancel',
319 'qbbrowse' => 'Browse',
321 'qbpageoptions' => 'This page',
322 'qbpageinfo' => 'Context',
323 'qbmyoptions' => 'My pages',
324 'qbspecialpages' => 'Special pages',
325 'moredotdotdot' => 'More...',
326 'mypage' => 'My page',
327 'mytalk' => 'My talk',
328 'anontalk' => 'Talk for this IP',
329 'navigation' => 'Navigation',
330 'currentevents' => 'Current events',
331 'disclaimers' => 'Disclaimers',
332 "disclaimerpage" => "{{ns:4}}:General_disclaimer",
333 "errorpagetitle" => "Error",
334 "returnto" => "Return to $1.",
335 "fromwikipedia" => "From {{SITENAME}}",
336 'whatlinkshere' => 'Pages that link here',
338 'search' => 'Search',
340 "history" => 'Page history',
341 'history_short' => 'History',
342 'info_short' => 'Information',
343 'printableversion' => 'Printable version',
345 'editthispage' => 'Edit this page',
346 'delete' => 'Delete',
347 "deletethispage" => "Delete this page",
348 "undelete_short" => "Undelete $1 edits",
349 'protect' => 'Protect',
350 'protectthispage' => 'Protect this page',
351 'unprotect' => 'Unprotect',
352 'unprotectthispage' => 'Unprotect this page',
353 'newpage' => 'New page',
354 'talkpage' => 'Discuss this page',
355 'specialpage' => 'Special Page',
356 'personaltools' => 'Personal tools',
357 'postcomment' => 'Post a comment',
359 'articlepage' => 'View content page',
360 'subjectpage' => 'View subject', # For compatibility
361 'talk' => 'Discussion',
362 'toolbox' => 'Toolbox',
363 'userpage' => 'View user page',
364 'wikipediapage' => 'View project page',
365 'imagepage' => 'View image page',
366 'viewtalkpage' => 'View discussion',
367 'otherlanguages' => 'Other languages',
368 'redirectedfrom' => "(Redirected from $1)",
369 'lastmodified' => "This page was last modified $1.",
370 'viewcount' => "This page has been accessed $1 times.",
371 'copyright' => "Content is available under $1.",
372 'poweredby' => "{{SITENAME}} is powered by [http://www.mediawiki.org/ MediaWiki], an open source wiki engine.",
373 'printsubtitle' => "(From {{SERVER}})",
374 'protectedpage' => 'Protected page',
375 'administrators' => "{{ns:4}}:Administrators",
376 'sysoptitle' => 'Sysop access required',
377 'sysoptext' => "The action you have requested can only be
378 performed by users with \"sysop\" status.
380 'developertitle' => 'Developer access required',
381 "developertext" => "The action you have requested can only be
382 performed by users with \"developer\" status.
384 'bureaucrattitle' => 'Bureaucrat access required',
385 "bureaucrattext" => "The action you have requested can only be
386 performed by sysops with \"bureaucrat\" status.",
387 'nbytes' => "$1 bytes",
390 'sitetitle' => "{{SITENAME}}",
391 'pagetitle' => "$1 - {{SITENAME}}",
392 'sitesubtitle' => 'The Free Encyclopedia', # FIXME
393 'retrievedfrom' => "Retrieved from \"$1\"",
394 'newmessages' => "You have $1.",
395 'newmessageslink' => 'new messages',
396 'editsection'=>'edit',
397 'toc' => 'Table of contents',
400 'thisisdeleted' => "View or restore $1?",
401 'restorelink' => "$1 deleted edits",
402 'feedlinks' => 'Feed:',
403 'sitenotice' => '', # the equivalent to wgSiteNotice
405 # Short words for each namespace, by default used in the 'article' tab in monobook
406 'nstab-main' => 'Article',
407 'nstab-user' => 'User page',
408 'nstab-media' => 'Media',
409 'nstab-special' => 'Special',
410 'nstab-wp' => 'About',
411 'nstab-image' => 'Image',
412 'nstab-mediawiki' => 'Message',
413 'nstab-template' => 'Template',
414 'nstab-help' => 'Help',
415 'nstab-category' => 'Category',
417 # Main script and global functions
419 'nosuchaction' => 'No such action',
420 'nosuchactiontext' => 'The action specified by the URL is not
421 recognized by the wiki',
422 'nosuchspecialpage' => 'No such special page',
423 'nospecialpagetext' => 'You have requested a special page that is not
424 recognized by the wiki.',
429 'databaseerror' => 'Database error',
430 'dberrortext' => "A database query syntax error has occurred.
431 This may indicate a bug in the software.
432 The last attempted database query was:
433 <blockquote><tt>$1</tt></blockquote>
434 from within function \"<tt>$2</tt>\".
435 MySQL returned error \"<tt>$3: $4</tt>\".",
436 'dberrortextcl' => "A database query syntax error has occurred.
437 The last attempted database query was:
439 from within function \"$2\".
440 MySQL returned error \"$3: $4\".\n",
441 'noconnect' => 'Sorry! The wiki is experiencing some technical difficulties, and cannot contact the database server. <br />
443 'nodb' => "Could not select database $1",
444 'cachederror' => 'The following is a cached copy of the requested page, and may not be up to date.',
445 'readonly' => 'Database locked',
446 'enterlockreason' => 'Enter a reason for the lock, including an estimate
447 of when the lock will be released',
448 'readonlytext' => "The database is currently locked to new
449 entries and other modifications, probably for routine database maintenance,
450 after which it will be back to normal.
451 The administrator who locked it offered this explanation:
453 'missingarticle' => "The database did not find the text of a page
454 that it should have found, named \"$1\".
456 <p>This is usually caused by following an outdated diff or history link to a
457 page that has been deleted.
459 <p>If this is not the case, you may have found a bug in the software.
460 Please report this to an administrator, making note of the URL.",
461 'internalerror' => 'Internal error',
462 'filecopyerror' => "Could not copy file \"$1\" to \"$2\".",
463 'filerenameerror' => "Could not rename file \"$1\" to \"$2\".",
464 'filedeleteerror' => "Could not delete file \"$1\".",
465 'filenotfound' => "Could not find file \"$1\".",
466 'unexpected' => "Unexpected value: \"$1\"=\"$2\".",
467 'formerror' => 'Error: could not submit form',
468 'badarticleerror' => 'This action cannot be performed on this page.',
469 'cannotdelete' => 'Could not delete the page or image specified. (It may have already been deleted by someone else.)',
470 'badtitle' => 'Bad title',
471 'badtitletext' => "The requested page title was invalid, empty, or
472 an incorrectly linked inter-language or inter-wiki title.",
473 'perfdisabled' => 'Sorry! This feature has been temporarily disabled
474 because it slows the database down to the point that no one can use
476 'perfdisabledsub' => "Here's a saved copy from $1:", # obsolete?
477 'perfcached' => 'The following data is cached and may not be completely up to date:',
478 'wrong_wfQuery_params' => "Incorrect parameters to wfQuery()<br />
482 'viewsource' => 'View source',
483 'protectedtext' => "This page has been locked to prevent editing; there are
484 a number of reasons why this may be so, please see
485 [[{{ns:4}}:Protected page]].
487 You can view and copy the source of this page:",
488 'seriousxhtmlerrors' => 'There were serious xhtml markup errors detected by tidy.',
490 # Login and logout pages
492 "logouttitle" => 'User logout',
493 "logouttext" => "You are now logged out.
494 You can continue to use {{SITENAME}} anonymously, or you can log in
495 again as the same or as a different user. Note that some pages may
496 continue to be displayed as if you were still logged in, until you clear
497 your browser cache\n",
499 'welcomecreation' => "<h2>Welcome, $1!</h2><p>Your account has been created.
500 Don't forget to change your {{SITENAME}} preferences.",
502 'loginpagetitle' => 'User login',
503 'yourname' => 'Your user name',
504 'yourpassword' => 'Your password',
505 'yourpasswordagain' => 'Retype password',
506 'newusersonly' => ' (new users only)',
507 'remembermypassword' => 'Remember my password across sessions.',
508 'loginproblem' => '<b>There has been a problem with your login.</b><br />Try again!',
509 'alreadyloggedin' => "<font color=red><b>User $1, you are already logged in!</b></font><br />\n",
512 'loginprompt' => "You must have cookies enabled to log in to {{SITENAME}}.",
513 'userlogin' => 'Create an account or log in',
514 'logout' => 'Log out',
515 'userlogout' => 'Log out',
516 'notloggedin' => 'Not logged in',
517 'createaccount' => 'Create new account',
518 'createaccountmail' => 'by email',
519 'badretype' => 'The passwords you entered do not match.',
520 'userexists' => 'The user name you entered is already in use. Please choose a different name.',
521 'youremail' => 'Your email*',
522 'yourrealname' => 'Your real name*',
523 'yournick' => 'Your nickname (for signatures)',
524 'emailforlost' => "Fields marked with a star (*) are optional. Storing an email address enables people to contact you through the website without you having to reveal your
525 email address to them, and it can be used to send you a new password if you forget it.<br /><br />Your real name, if you choose to provide it, will be used for giving you attribution for your work.",
526 'prefs-help-userdata' => '* <strong>Real name</strong> (optional): if you choose to provide it this will be used for giving you attribution for your work.<br/>
527 * <strong>Email</strong> (optional): Enables people to contact you through the website without you having to reveal your
528 email address to them, and it can be used to send you a new password if you forget it.',
529 'loginerror' => 'Login error',
530 '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.",
531 "nocookieslogin" => "{{SITENAME}} uses cookies to log in users. You have cookies disabled. Please enable them and try again.",
532 'noname' => 'You have not specified a valid user name.',
533 'loginsuccesstitle' => 'Login successful',
534 'loginsuccess' => "You are now logged in to {{SITENAME}} as \"$1\".",
535 'nosuchuser' => "There is no user by the name \"$1\".
536 Check your spelling, or use the form below to create a new user account.",
537 'wrongpassword' => 'The password you entered is incorrect. Please try again.',
538 'mailmypassword' => 'Mail me a new password',
539 'passwordremindertitle' => "Password reminder from {{SITENAME}}",
540 'passwordremindertext' => "Someone (probably you, from IP address $1)
541 requested that we send you a new {{SITENAME}} login password.
542 The password for user \"$2\" is now \"$3\".
543 You should log in and change your password now.",
544 'noemail' => "There is no e-mail address recorded for user \"$1\".",
545 'passwordsent' => "A new password has been sent to the e-mail address
546 registered for \"$1\".
547 Please log in again after you receive it.",
548 'loginend' => ' ',
549 'mailerror' => "Error sending mail: $1",
550 'acct_creation_throttle_hit' => 'Sorry, you have already created $1 accounts. You can\'t make any more.',
553 'bold_sample'=>'Bold text',
554 'bold_tip'=>'Bold text',
555 'italic_sample'=>'Italic text',
556 'italic_tip'=>'Italic text',
557 'link_sample'=>'Link title',
558 'link_tip'=>'Internal link',
559 'extlink_sample'=>'http://www.example.com link title',
560 'extlink_tip'=>'External link (remember http:// prefix)',
561 'headline_sample'=>'Headline text',
562 'headline_tip'=>'Level 2 headline',
563 'math_sample'=>'Insert formula here',
564 'math_tip'=>'Mathematical formula (LaTeX)',
565 'nowiki_sample'=>'Insert non-formatted text here',
566 'nowiki_tip'=>'Ignore wiki formatting',
567 'image_sample'=>'Example.jpg',
568 'image_tip'=>'Embedded image',
569 'media_sample'=>'Example.mp3',
570 'media_tip'=>'Media file link',
571 'sig_tip'=>'Your signature with timestamp',
572 'hr_tip'=>'Horizontal line (use sparingly)',
573 'infobox'=>'Click a button to get an example text',
574 # alert box shown in browsers where text selection does not work, test e.g. with mozilla or konqueror
575 '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",
579 'summary' => 'Summary',
580 'subject' => 'Subject/headline',
581 'minoredit' => 'This is a minor edit',
582 'watchthis' => 'Watch this page',
583 'savearticle' => 'Save page',
584 'preview' => 'Preview',
585 'showpreview' => 'Show preview',
586 'blockedtitle' => 'User is blocked',
587 'blockedtext' => "Your user name or IP address has been blocked by $1.
588 The reason given is this:<br />''$2''<p>You may contact $1 or one of the other
589 [[{{ns:4}}:Administrators|administrators]] to discuss the block.
591 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]].
593 Your IP address is $3. Please include this address in any queries you make.
595 'whitelistedittitle' => 'Login required to edit',
596 'whitelistedittext' => 'You have to [[Special:Userlogin|login]] to edit pages.',
597 'whitelistreadtitle' => 'Login required to read',
598 'whitelistreadtext' => 'You have to [[Special:Userlogin|login]] to read pages.',
599 'whitelistacctitle' => 'You are not allowed to create an account',
600 'whitelistacctext' => 'To be allowed to create accounts in this Wiki you have to [[Special:Userlogin|log]] in and have the appropriate permissions.',
601 'loginreqtitle' => 'Login Required',
602 'loginreqtext' => 'You must [[special:Userlogin|login]] to view other pages.',
603 'accmailtitle' => 'Password sent.',
604 'accmailtext' => "The Password for '$1' has been sent to $2.",
605 'newarticle' => '(New)',
607 "You've followed a link to a page that doesn't exist yet.
608 To create the page, start typing in the box below
609 (see the [[{{ns:4}}:Help|help page]] for more info).
610 If you are here by mistake, just click your browser's '''back''' button.",
611 'talkpagetext' => '<!-- MediaWiki:talkpagetext -->',
612 '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.'' ",
613 'noarticletext' => '(There is currently no text in this page)',
614 'clearyourcache' => "'''Note:''' After saving, you have to clear your browser cache to see the changes: '''Mozilla:''' click ''Reload'' (or ''Ctrl-R''), '''IE / Opera:''' ''Ctrl-F5'', '''Safari:''' ''Cmd-R'', '''Konqueror''' ''Ctrl-R''.",
615 'usercssjsyoucanpreview' => "<strong>Tip:</strong> Use the 'Show preview' button to test your new CSS/JS before saving.",
616 'usercsspreview' => "'''Remember that you are only previewing your user CSS, it has not yet been saved!'''",
617 'userjspreview' => "'''Remember that you are only testing/previewing your user JavaScript, it has not yet been saved!'''",
618 'updated' => '(Updated)',
619 'note' => '<strong>Note:</strong> ',
620 'previewnote' => 'Remember that this is only a preview, and has not yet been saved!',
621 'previewconflict' => 'This preview reflects the text in the upper
622 text editing area as it will appear if you choose to save.',
623 'editing' => "Editing $1",
624 "sectionedit" => " (section)",
625 'commentedit' => ' (comment)',
626 'editconflict' => 'Edit conflict: $1',
627 'explainconflict' => "Someone else has changed this page since you
629 The upper text area contains the page text as it currently exists.
630 Your changes are shown in the lower text area.
631 You will have to merge your changes into the existing text.
632 <b>Only</b> the text in the upper text area will be saved when you
633 press \"Save page\".\n<p>",
634 'yourtext' => 'Your text',
635 'storedversion' => 'Stored version',
636 'editingold' => '<strong>WARNING: You are editing an out-of-date
637 revision of this page.
638 If you save it, any changes made since this revision will be lost.</strong>\n',
639 'yourdiff' => 'Differences',
640 'copyrightwarning' => "Please note that all contributions to {{SITENAME}} are
641 considered to be released under the $wgRightsText
642 (see $1 for details).
643 If you don't want your writing to be edited mercilessly and redistributed
644 at will, then don't submit it here.<br />
645 You are also promising us that you wrote this yourself, or copied it from a
646 public domain or similar free resource.
647 <strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>",
648 'longpagewarning' => "WARNING: This page is $1 kilobytes long; some
649 browsers may have problems editing pages approaching or longer than 32kb.
650 Please consider breaking the page into smaller sections.",
651 'readonlywarning' => 'WARNING: The database has been locked for maintenance,
652 so you will not be able to save your edits right now. You may wish to cut-n-paste
653 the text into a text file and save it for later.',
654 'protectedpagewarning' => "WARNING: This page has been locked so that only
655 users with sysop privileges can edit it. Be sure you are following the
656 <a href='$wgScript/{{ns:4}}:Protected_page_guidelines'>protected page
661 'revhistory' => 'Revision history',
662 'nohistory' => 'There is no edit history for this page.',
663 'revnotfound' => 'Revision not found',
664 'revnotfoundtext' => "The old revision of the page you asked for could not be found.
665 Please check the URL you used to access this page.\n",
666 'loadhist' => 'Loading page history',
667 'currentrev' => 'Current revision',
668 'revisionasof' => "Revision as of $1",
673 'histlegend' => 'Diff selection: mark the radio boxes of the versions to compare and hit enter or the button at the bottom.<br/>
674 Legend: (cur) = difference with current version,
675 (last) = difference with preceding version, M = minor edit.',
676 'history_copyright' => '-',
680 'difference' => '(Difference between revisions)',
681 'loadingrev' => 'loading revision for diff',
682 'lineno' => "Line $1:",
683 'editcurrent' => 'Edit the current version of this page',
684 'selectnewerversionfordiff' => 'Select a newer version for comparison',
685 'selectolderversionfordiff' => 'Select an older version for comparison',
686 'compareselectedversions' => 'Compare selected versions',
690 'searchresults' => 'Search results',
691 'searchresulttext' => "For more information about searching {{SITENAME}}, see [[Project:Searching|Searching {{SITENAME}}]].",
692 'searchquery' => "For query \"$1\"",
693 'badquery' => 'Badly formed search query',
694 'badquerytext' => 'We could not process your query.
695 This is probably because you have attempted to search for a
696 word fewer than three letters long, which is not yet supported.
697 It could also be that you have mistyped the expression, for
698 example "fish and and scales".
699 Please try another query.',
700 'matchtotals' => "The query \"$1\" matched $2 page titles
701 and the text of $3 pages.",
702 'nogomatch' => 'No page with this exact title exists, trying full text search.',
703 'titlematches' => 'Article title matches',
704 'notitlematches' => 'No page title matches',
705 'textmatches' => 'Page text matches',
706 'notextmatches' => 'No page text matches',
707 'prevn' => "previous $1",
708 'nextn' => "next $1",
709 'viewprevnext' => "View ($1) ($2) ($3).",
710 'showingresults' => "Showing below <b>$1</b> results starting with #<b>$2</b>.",
711 'showingresultsnum' => "Showing below <b>$3</b> results starting with #<b>$2</b>.",
712 'nonefound' => "'''Note''': unsuccessful searches are
713 often caused by searching for common words like \"have\" and \"from\",
714 which are not indexed, or by specifying more than one search term (only pages
715 containing all of the search terms will appear in the result).",
716 'powersearch' => 'Search',
717 'powersearchtext' => "
718 Search in namespaces :<br />
720 $2 List redirects Search for $3 $9",
721 "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>",
723 <!-- SiteSearch Google -->
724 <FORM method=GET action=\"http://www.google.com/search\">
725 <TABLE bgcolor=\"#FFFFFF\"><tr><td>
726 <A HREF=\"http://www.google.com/\">
727 <IMG SRC=\"http://www.google.com/logos/Logo_40wht.gif\"
728 border=\"0\" ALT=\"Google\"></A>
731 <INPUT TYPE=text name=q size=31 maxlength=255 value=\"$1\">
732 <INPUT type=submit name=btnG VALUE=\"Google Search\">
734 <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 />
735 <input type='hidden' name='ie' value='$2'>
736 <input type='hidden' name='oe' value='$2'>
740 <!-- SiteSearch Google -->",
741 'blanknamespace' => '(Main)',
745 'preferences' => 'Preferences',
746 'prefsnologin' => 'Not logged in',
747 'prefsnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
748 to set user preferences.",
749 'prefslogintext' => "You are logged in as \"$1\".
750 Your internal ID number is $2.
752 See [[{{ns:4}}:User preferences help]] for help deciphering the options.",
753 'prefsreset' => 'Preferences have been reset from storage.',
754 'qbsettings' => 'Quickbar settings',
755 'qbsettingsnote' => 'This preference only works in the \'Standard\' and the \'CologneBlue\' skin.',
756 'changepassword' => 'Change password',
758 'math' => 'Rendering math',
759 'dateformat' => 'Date format',
760 'math_failure' => 'Failed to parse',
761 'math_unknown_error' => 'unknown error',
762 'math_unknown_function' => 'unknown function ',
763 'math_lexing_error' => 'lexing error',
764 'math_syntax_error' => 'syntax error',
765 'math_image_error' => 'PNG conversion failed; check for correct installation of latex, dvips, gs, and convert',
766 'math_bad_tmpdir' => 'Can\'t write to or create math temp directory',
767 'math_bad_output' => 'Can\'t write to or create math output directory',
768 'math_notexvc' => 'Missing texvc executable; please see math/README to configure.',
769 'prefs-personal' => 'User data',
770 'prefs-rc' => 'Recent changes and stub display',
771 'prefs-misc' => 'Misc settings',
772 'saveprefs' => 'Save preferences',
773 'resetprefs' => 'Reset preferences',
774 'oldpassword' => 'Old password',
775 'newpassword' => 'New password',
776 'retypenew' => 'Retype new password',
777 'textboxsize' => 'Editing',
779 'columns' => 'Columns',
780 'searchresultshead' => 'Search result settings',
781 'resultsperpage' => 'Hits to show per page',
782 'contextlines' => 'Lines to show per hit',
783 'contextchars' => 'Characters of context per line',
784 'stubthreshold' => 'Threshold for stub display',
785 'recentchangescount' => 'Number of titles in recent changes',
786 'savedprefs' => 'Your preferences have been saved.',
787 'timezonelegend' => 'Time zone',
788 'timezonetext' => 'Enter number of hours your local time differs
789 from server time (UTC).',
790 'localtime' => 'Local time display',
791 'timezoneoffset' => 'Offset',
792 'servertime' => 'Server time is now',
793 'guesstimezone' => 'Fill in from browser',
794 'emailflag' => 'Disable e-mail from other users',
795 'defaultns' => 'Search in these namespaces by default:',
799 'changes' => 'changes',
800 'recentchanges' => 'Recent changes',
801 'recentchangestext' => 'Track the most recent changes to the wiki on this page.',
802 'rcloaderr' => 'Loading recent changes',
803 'rcnote' => "Below are the last <strong>$1</strong> changes in last <strong>$2</strong> days.",
804 'rcnotefrom' => "Below are the changes since <b>$2</b> (up to <b>$1</b> shown).",
805 'rclistfrom' => "Show new changes starting from $1",
806 'showhideminor' => "$1 minor edits | $2 bots | $3 logged in users | $4 patrolled edits ",
807 'rclinks' => "Show last $1 changes in last $2 days<br />$3",
808 'rchide' => "in $4 form; $1 minor edits; $2 secondary namespaces; $3 multiple edits.",
809 'rcliu' => "; $1 edits from logged in users",
814 'tableform' => 'table',
815 'listform' => 'list',
816 'nchanges' => "$1 changes",
817 'minoreditletter' => 'm',
818 'newpageletter' => 'N',
822 'upload' => 'Upload file',
823 'uploadbtn' => 'Upload file',
824 'uploadlink' => 'Upload images',
825 'reupload' => 'Re-upload',
826 'reuploaddesc' => 'Return to the upload form.',
827 'uploadnologin' => 'Not logged in',
828 'uploadnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
830 'uploadfile' => 'Upload images, sounds, documents etc.',
831 'uploaderror' => 'Upload error',
833 "'''STOP!''' Before you upload here,
834 make sure to read and follow the [[Project:Image use policy|image use policy]].
836 To view or search previously uploaded images,
837 go to the [[Special:Imagelist|list of uploaded images]].
838 Uploads and deletions are logged on the
839 [[Project:Upload log|upload log]].
841 Use the form below to upload new image files for use in
842 illustrating your pages.
843 On most browsers, you will see a \"Browse...\" button, which will
844 bring up your operating system's standard file open dialog.
845 Choosing a file will fill the name of that file into the text
846 field next to the button.
847 You must also check the box affirming that you are not
848 violating any copyrights by uploading the file.
849 Press the \"Upload\" button to finish the upload.
850 This may take some time if you have a slow internet connection.
852 The preferred formats are JPEG for photographic images, PNG
853 for drawings and other iconic images, and OGG for sounds.
854 Please name your files descriptively to avoid confusion.
855 To include the image in a page, use a link in the form
856 '''<nowiki>[[{{ns:6}}:file.jpg]]</nowiki>''' or
857 '''<nowiki>[[{{ns:6}}:file.png|alt text]]</nowiki>''' or
858 '''<nowiki>[[{{ns:-2}}:file.ogg]]</nowiki>''' for sounds.
860 Please note that as with wiki pages, others may edit or
861 delete your uploads if they think it serves the project, and
862 you may be blocked from uploading if you abuse the system.",
864 'uploadlog' => 'upload log',
865 'uploadlogpage' => 'Upload_log',
866 'uploadlogpagetext' => 'Below is a list of the most recent file uploads.
867 All times shown are server time (UTC).
871 'filename' => 'Filename',
872 'filedesc' => 'Summary',
873 'filestatus' => 'Copyright status',
874 'filesource' => 'Source',
875 'affirmation' => "I affirm that the copyright holder of this file
876 agrees to license it under the terms of the $1.",
877 'copyrightpage' => "{{ns:4}}:Copyrights",
878 'copyrightpagename' => "{{SITENAME}} copyright",
879 'uploadedfiles' => 'Uploaded files',
880 'noaffirmation' => 'You must affirm that your upload does not violate any copyrights.',
881 'ignorewarning' => 'Ignore warning and save file anyway.',
882 'minlength' => 'Image names must be at least three letters.',
883 'illegalfilename' => 'The filename "$1" contains characters that are not allowed in page titles. Please rename the file and try uploading it again.',
884 'badfilename' => "Image name has been changed to \"$1\".",
885 'badfiletype' => "\".$1\" is not a recommended image file format.",
886 'largefile' => 'It is recommended that images not exceed 100k in size.',
887 'emptyfile' => 'The file you uploaded seems to be empty. This might be due to a typo in the file name. Please check whether you really want to upload this file.',
888 'fileexists' => 'A file with this name exists already, please check $1 if you are not sure if you want to change it.',
889 'successfulupload' => 'Successful upload',
890 'fileuploaded' => "File uploaded successfully.
891 Please follow this link: $2 to the description page and fill
892 in information about the file, such as where it came from, when it was
893 created and by whom, and anything else you may know about it. If this is an image, you can insert it like this: <tt><nowiki>[[Image:$1|thumb|Description]]</nowiki></tt>",
894 'uploadwarning' => 'Upload warning',
895 'savefile' => 'Save file',
896 'uploadedimage' => "uploaded \"$1\"",
897 'uploaddisabled' => 'Sorry, uploading is disabled.',
901 'imagelist' => 'Image list',
902 'imagelisttext' => "Below is a list of $1 images sorted $2.",
903 'getimagelist' => 'fetching image list',
904 'ilshowmatch' => 'Show all images with names matching',
905 'ilsubmit' => 'Search',
906 'showlast' => "Show last $1 images sorted $2.",
908 'byname' => 'by name',
909 'bydate' => 'by date',
910 'bysize' => 'by size',
911 'imgdelete' => 'del',
913 'imglegend' => 'Legend: (desc) = show/edit image description.',
914 'imghistory' => 'Image history',
915 'revertimg' => 'rev',
916 'deleteimg' => 'del',
917 'deleteimgcompletely' => 'Delete all revisions',
918 'imghistlegend' => 'Legend: (cur) = this is the current image, (del) = delete
919 this old version, (rev) = revert to this old version.
920 <br /><i>Click on date to see image uploaded on that date</i>.',
921 'imagelinks' => 'Image links',
922 'linkstoimage' => 'The following pages link to this image:',
923 'nolinkstoimage' => 'There are no pages that link to this image.',
927 'statistics' => 'Statistics',
928 'sitestats' => 'Site statistics',
929 'userstats' => 'User statistics',
930 'sitestatstext' => "There are '''$1''' total pages in the database.
931 This includes \"talk\" pages, pages about {{SITENAME}}, minimal \"stub\"
932 pages, redirects, and others that probably don't qualify as content pages.
933 Excluding those, there are '''$2''' pages that are probably legitimate
936 There have been a total of '''$3''' page views, and '''$4''' page edits
937 since the wiki was setup.
938 That comes to '''$5''' average edits per page, and '''$6''' views per edit.",
939 'userstatstext' => "There are '''$1''' registered users.
940 '''$2''' of these are administrators (see $3).",
944 'maintenance' => 'Maintenance page',
945 '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 ;-)',
946 'maintenancebacklink' => 'Back to Maintenance Page',
947 'disambiguations' => 'Disambiguation pages',
948 'disambiguationspage' => "{{ns:4}}:Links_to_disambiguating_pages",
949 'disambiguationstext' => "The following pages 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.",
950 'doubleredirects' => 'Double Redirects',
951 '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\" target page, which the first redirect should point to.",
952 'brokenredirects' => 'Broken Redirects',
953 'brokenredirectstext' => 'The following redirects link to a non-existing pages.',
954 'selflinks' => 'Pages with Self Links',
955 'selflinkstext' => 'The following pages contain a link to themselves, which they should not.',
956 'mispeelings' => 'Pages with misspellings',
957 'mispeelingstext' => "The following pages contain a common misspelling, which are listed on $1. The correct spelling might be given (like this).",
958 'mispeelingspage' => 'List of common misspellings',
959 'missinglanguagelinks' => 'Missing Language Links',
960 'missinglanguagelinksbutton' => 'Find missing language links for',
961 'missinglanguagelinkstext' => "These pages do <i>not</i> link to their counterpart in $1. Redirects and subpages are <i>not</i> shown.",
964 # Miscellaneous special pages
966 'orphans' => 'Orphaned pages',
967 'geo' => 'GEO coordinates',
968 'validate' => 'Validate page',
969 'lonelypages' => 'Orphaned pages',
970 'uncategorizedpages' => 'Uncategorized pages',
971 'unusedimages' => 'Unused images',
972 'popularpages' => 'Popular pages',
973 'nviews' => '$1 views',
974 'wantedpages' => 'Wanted pages',
975 'nlinks' => '$1 links',
976 'allpages' => 'All pages',
977 'randompage' => 'Random page',
978 'shortpages' => 'Short pages',
979 'longpages' => 'Long pages',
980 'deadendpages' => 'Dead-end pages',
981 'listusers' => 'User list',
982 'listadmins' => 'Admins list',
983 'specialpages' => 'Special pages',
984 'spheading' => 'Special pages for all users',
985 'sysopspheading' => 'For sysop use only',
986 'developerspheading' => 'For developer use only',
987 'protectpage' => 'Protect page',
988 'recentchangeslinked' => 'Related changes',
989 'rclsub' => "(to pages linked from \"$1\")",
991 'newpages' => 'New pages',
992 'ancientpages' => 'Oldest pages',
993 'intl' => 'Interlanguage links',
995 'movethispage' => 'Move this page',
996 'unusedimagestext' => '<p>Please note that other web sites may link to an image with
997 a direct URL, and so may still be listed here despite being
999 'booksources' => 'Book sources',
1000 # FIXME: Other sites, of course, may have affiliate relations with the booksellers list
1001 'booksourcetext' => "Below is a list of links to other sites that
1002 sell new and used books, and may also have further information
1003 about books you are looking for.
1004 {{SITENAME}} is not affiliated with any of these businesses, and
1005 this list should not be construed as an endorsement.",
1007 'rfcurl' => "http://www.faqs.org/rfcs/rfc$1.html",
1008 'alphaindexline' => "$1 to $2",
1009 'version' => 'Version',
1011 # Specific to All pages
1012 'nextpage' => 'Next page ($1)',
1013 'articlenamespace' => '(articles)',
1014 'allpagesformtext' => 'Display pages starting at: $1 Choose namespace: $2 $3',
1015 'allarticles' => 'All articles',
1016 'allpagesprev' => 'Previous',
1017 'allpagesnext' => 'Next',
1018 'allpagesnamespace' => 'All pages ($1 namespace)',
1019 'allpagessubmit' => 'Go',
1023 'mailnologin' => 'No send address',
1024 'mailnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin\">logged in</a>
1025 and have a valid e-mail address in your <a href=\"{{localurl:Special:Preferences}}\">preferences</a>
1026 to send e-mail to other users.",
1027 'emailuser' => 'E-mail this user',
1028 'emailpage' => 'E-mail user',
1029 'emailpagetext' => 'If this user has entered a valid e-mail address in
1030 his or her user preferences, the form below will send a single message.
1031 The e-mail address you entered in your user preferences will appear
1032 as the "From" address of the mail, so the recipient will be able
1034 'usermailererror' => 'Mail object returned error: ',
1035 'defemailsubject' => "{{SITENAME}} e-mail",
1036 'noemailtitle' => 'No e-mail address',
1037 'noemailtext' => 'This user has not specified a valid e-mail address,
1038 or has chosen not to receive e-mail from other users.',
1039 'emailfrom' => 'From',
1041 'emailsubject' => 'Subject',
1042 'emailmessage' => 'Message',
1043 'emailsend' => 'Send',
1044 'emailsent' => 'E-mail sent',
1045 'emailsenttext' => 'Your e-mail message has been sent.',
1049 'watchlist' => 'My watchlist',
1050 'watchlistsub' => "(for user \"$1\")",
1051 'nowatchlist' => 'You have no items on your watchlist.',
1052 'watchnologin' => 'Not logged in',
1053 'watchnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
1054 to modify your watchlist.",
1055 'addedwatch' => 'Added to watchlist',
1056 'addedwatchtext' => "The page \"$1\" has been added to your [[{{ns:-1}}:Watchlist|watchlist]].
1057 Future changes to this page and its associated Talk page will be listed there,
1058 and the page will appear '''bolded''' in the [[Special:Recentchanges|list of recent changes]] to
1059 make it easier to pick out.
1061 <p>If you want to remove the page from your watchlist later, click \"Stop watching\" in the sidebar.",
1062 'removedwatch' => 'Removed from watchlist',
1063 'removedwatchtext' => "The page \"$1\" has been removed from your watchlist.",
1065 'watchthispage' => 'Watch this page',
1066 'unwatch' => 'Unwatch',
1067 'unwatchthispage' => 'Stop watching',
1068 'notanarticle' => 'Not a content page',
1069 'watchnochange' => 'None of your watched items were edited in the time period displayed.',
1070 'watchdetails' => "($1 pages watched not counting talk pages;
1071 $2 total pages edited since cutoff;
1073 <a href='$4'>show and edit complete list</a>.)",
1074 'watchmethod-recent'=> 'checking recent edits for watched pages',
1075 'watchmethod-list' => 'checking watched pages for recent edits',
1076 'removechecked' => 'Remove checked items from watchlist',
1077 'watchlistcontains' => "Your watchlist contains $1 pages.",
1078 'watcheditlist' => 'Here\'s an alphabetical list of your
1079 watched pages. Check the boxes of pages you want to remove
1080 from your watchlist and click the \'remove checked\' button
1081 at the bottom of the screen.',
1082 'removingchecked' => 'Removing requested items from watchlist...',
1083 'couldntremove' => "Couldn't remove item '$1'...",
1084 'iteminvalidname' => "Problem with item '$1', invalid name...",
1085 'wlnote' => "Below are the last $1 changes in the last <b>$2</b> hours.",
1086 'wlshowlast' => "Show last $1 hours $2 days $3",
1087 'wlsaved' => 'This is a saved version of your watchlist.',
1090 # Delete/protect/revert
1092 'deletepage' => 'Delete page',
1093 'confirm' => 'Confirm',
1094 'excontent' => 'content was:',
1095 'exbeforeblank' => 'content before blanking was:',
1096 'exblank' => 'page was empty',
1097 'confirmdelete' => 'Confirm delete',
1098 'deletesub' => "(Deleting \"$1\")",
1099 'historywarning' => 'Warning: The page you are about to delete has a history: ',
1100 'confirmdeletetext' => "You are about to permanently delete a page
1101 or image along with all of its history from the database.
1102 Please confirm that you intend to do this, that you understand the
1103 consequences, and that you are doing this in accordance with
1104 [[{{ns:4}}:Policy]].",
1105 'confirmcheck' => 'Yes, I really want to delete this.',
1106 'actioncomplete' => 'Action complete',
1107 'deletedtext' => "\"$1\" has been deleted.
1108 See $2 for a record of recent deletions.",
1109 'deletedarticle' => "deleted \"$1\"",
1110 'dellogpage' => 'Deletion_log',
1111 'dellogpagetext' => 'Below is a list of the most recent deletions.
1112 All times shown are server time (UTC).
1116 'deletionlog' => 'deletion log',
1117 'reverted' => 'Reverted to earlier revision',
1118 'deletecomment' => 'Reason for deletion',
1119 'imagereverted' => 'Revert to earlier version was successful.',
1120 'rollback' => 'Roll back edits',
1121 'rollback_short' => 'Rollback',
1122 'rollbacklink' => 'rollback',
1123 'rollbackfailed' => 'Rollback failed',
1124 'cantrollback' => 'Cannot revert edit; last contributor is only author of this page.',
1125 'alreadyrolled' => "Cannot rollback last edit of [[$1]]
1126 by [[User:$2|$2]] ([[User talk:$2|Talk]]); someone else has edited or rolled back the page already.
1128 Last edit was by [[User:$3|$3]] ([[User talk:$3|Talk]]). ",
1129 # only shown if there is an edit comment
1130 'editcomment' => "The edit comment was: \"<i>$1</i>\".",
1131 'revertpage' => "Reverted edit of $2, changed back to last version by $1",
1132 'protectlogpage' => 'Protection_log',
1133 'protectlogtext' => "Below is a list of page locks/unlocks.
1134 See [[{{ns:4}}:Protected page]] for more information.",
1135 'protectedarticle' => "protected [[$1]]",
1136 'unprotectedarticle' => "unprotected [[$1]]",
1137 'protectsub' =>"(Protecting \"$1\")",
1138 'confirmprotecttext' => 'Do you really want to protect this page?',
1139 'confirmprotect' => 'Confirm protection',
1140 'protectcomment' => 'Reason for protecting',
1141 'unprotectsub' =>"(Unprotecting \"$1\")",
1142 'confirmunprotecttext' => 'Do you really want to unprotect this page?',
1143 'confirmunprotect' => 'Confirm unprotection',
1144 'unprotectcomment' => 'Reason for unprotecting',
1145 'protectreason' => '(give a reason)',
1148 'undelete' => 'Restore deleted page',
1149 'undeletepage' => 'View and restore deleted pages',
1150 'undeletepagetext' => 'The following pages have been deleted but are still in the archive and
1151 can be restored. The archive may be periodically cleaned out.',
1152 'undeletearticle' => 'Restore deleted page',
1153 'undeleterevisions' => "$1 revisions archived",
1154 'undeletehistory' => 'If you restore the page, all revisions will be restored to the history.
1155 If a new page with the same name has been created since the deletion, the restored
1156 revisions will appear in the prior history, and the current revision of the live page
1157 will not be automatically replaced.',
1158 'undeleterevision' => "Deleted revision as of $1",
1159 'undeletebtn' => 'Restore!',
1160 'undeletedarticle' => "restored \"$1\"",
1161 'undeletedtext' => "[[$1]] has been successfully restored.
1162 See [[{{ns:4}}:Deletion_log]] for a record of recent deletions and restorations.",
1166 'contributions' => 'User contributions',
1167 'mycontris' => 'My contributions',
1168 'contribsub' => "For $1",
1169 'nocontribs' => 'No changes were found matching these criteria.',
1170 'ucnote' => "Below are this user's last <b>$1</b> changes in the last <b>$2</b> days.",
1171 'uclinks' => "View the last $1 changes; view the last $2 days.",
1172 'uctop' => ' (top)' ,
1173 'newbies' => 'newbies',
1177 'whatlinkshere' => 'What links here',
1178 'notargettitle' => 'No target',
1179 'notargettext' => 'You have not specified a target page or user
1180 to perform this function on.',
1181 'linklistsub' => '(List of links)',
1182 'linkshere' => 'The following pages link to here:',
1183 'nolinkshere' => 'No pages link to here.',
1184 'isredirect' => 'redirect page',
1188 'blockip' => 'Block user',
1189 'blockiptext' => "Use the form below to block write access
1190 from a specific IP address or username.
1191 This should be done only only to prevent vandalism, and in
1192 accordance with [[{{ns:4}}:Policy|policy]].
1193 Fill in a specific reason below (for example, citing particular
1194 pages that were vandalized).",
1195 'ipaddress' => 'IP Address/username',
1196 'ipbexpiry' => 'Expiry',
1197 'ipbreason' => 'Reason',
1198 'ipbsubmit' => 'Block this user',
1199 'badipaddress' => 'Invalid IP address',
1200 'noblockreason' => 'You must supply a reason for the block.',
1201 'blockipsuccesssub' => 'Block succeeded',
1202 'blockipsuccesstext' => "\"$1\" has been blocked.
1203 <br />See [[Special:Ipblocklist|IP block list]] to review blocks.",
1204 'unblockip' => 'Unblock user',
1205 'unblockiptext' => 'Use the form below to restore write access
1206 to a previously blocked IP address or username.',
1207 'ipusubmit' => 'Unblock this address',
1208 'ipusuccess' => "\"$1\" unblocked",
1209 'ipblocklist' => 'List of blocked IP addresses and usernames',
1210 'blocklistline' => "$1, $2 blocked $3 (expires $4)",
1211 'blocklink' => 'block',
1212 'unblocklink' => 'unblock',
1213 'contribslink' => 'contribs',
1214 'autoblocker' => "Autoblocked because you share an IP address with \"$1\". Reason \"$2\".",
1215 'blocklogpage' => 'Block_log',
1216 'blocklogentry' => 'blocked "$1" with an expiry time of $2',
1217 'blocklogtext' => 'This is a log of user blocking and unblocking actions. Automatically
1218 blocked IP addresses are not be listed. See the [[Special:Ipblocklist|IP block list]] for
1219 the list of currently operational bans and blocks.',
1220 'unblocklogentry' => 'unblocked "$1"',
1221 'range_block_disabled' => 'The sysop ability to create range blocks is disabled.',
1222 'ipb_expiry_invalid' => 'Expiry time invalid.',
1223 'ip_range_invalid' => "Invalid IP range.\n",
1224 'proxyblocker' => 'Proxy blocker',
1225 '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.',
1226 'proxyblocksuccess' => "Done.\n",
1230 'lockdb' => 'Lock database',
1231 'unlockdb' => 'Unlock database',
1232 'lockdbtext' => 'Locking the database will suspend the ability of all
1233 users to edit pages, change their preferences, edit their watchlists, and
1234 other things requiring changes in the database.
1235 Please confirm that this is what you intend to do, and that you will
1236 unlock the database when your maintenance is done.',
1237 'unlockdbtext' => 'Unlocking the database will restore the ability of all
1238 users to edit pages, change their preferences, edit their watchlists, and
1239 other things requiring changes in the database.
1240 Please confirm that this is what you intend to do.',
1241 'lockconfirm' => 'Yes, I really want to lock the database.',
1242 'unlockconfirm' => 'Yes, I really want to unlock the database.',
1243 'lockbtn' => 'Lock database',
1244 'unlockbtn' => 'Unlock database',
1245 'locknoconfirm' => 'You did not check the confirmation box.',
1246 'lockdbsuccesssub' => 'Database lock succeeded',
1247 'unlockdbsuccesssub' => 'Database lock removed',
1248 'lockdbsuccesstext' => 'The database has been locked.
1249 <br />Remember to remove the lock after your maintenance is complete.',
1250 'unlockdbsuccesstext' => 'The database has been unlocked.',
1254 'asksql' => 'SQL query',
1255 'asksqltext' => "Use the form below to make a direct query of the
1257 Use single quotes ('like this') to delimit string literals.
1258 This can often add considerable load to the server, so please use
1259 this function sparingly.",
1260 'sqlislogged' => 'Please note that all queries are logged.',
1261 'sqlquery' => 'Enter query',
1262 'querybtn' => 'Submit query',
1263 'selectonly' => 'Only read-only queries are allowed.',
1264 'querysuccessful' => 'Query successful',
1267 'makesysoptitle' => 'Make a user into a sysop',
1268 'makesysoptext' => 'This form is used by bureaucrats to turn ordinary users into administrators.
1269 Type the name of the user in the box and press the button to make the user an administrator',
1270 'makesysopname' => 'Name of the user:',
1271 'makesysopsubmit' => 'Make this user into a sysop',
1272 'makesysopok' => "<b>User \"$1\" is now a sysop</b>",
1273 'makesysopfail' => "<b>User \"$1\" could not be made into a sysop. (Did you enter the name correctly?)</b>",
1274 'setbureaucratflag' => 'Set bureaucrat flag',
1275 'bureaucratlog' => 'Bureaucrat_log',
1276 'bureaucratlogentry' => "Rights for user \"$1\" set \"$2\"",
1277 'rights' => 'Rights:',
1278 'set_user_rights' => 'Set user rights',
1279 'user_rights_set' => "<b>User rights for \"$1\" updated</b>",
1280 'set_rights_fail' => "<b>User rights for \"$1\" could not be set. (Did you enter the name correctly?)</b>",
1281 'makesysop' => 'Make a user into a sysop',
1284 'val_clear_old' => 'Clear my other validation data for $1',
1285 'val_merge_old' => 'Use my previous assessment where selected \'No opinion\'',
1286 'val_form_note' => '<b>Hint:</b> Merging your data means that for the article
1287 revision you select, all options where you have specified <i>no opinion</i>
1288 will be set to the value and comment of the most recent revision for which you
1289 have expressed an opinion. For example, if you want to change a single option
1290 for a newer revision, but also keep your other settings for this article in
1291 this revision, just select which option you intend to <i>change</i>, and
1292 merging will fill in the other options with your previous settings.',
1293 'val_noop' => 'No opinion',
1294 'val_percent' => '<b>$1%</b><br>($2 of $3 points<br>by $4 users)',
1295 'val_percent_single' => '<b>$1%</b><br>($2 of $3 points<br>by one user)',
1296 'val_total' => 'Total',
1297 'val_version' => 'Version',
1298 'val_tab' => 'Validate',
1299 'val_this_is_current_version' => 'this is the latest version',
1300 'val_version_of' => "Version of $1" ,
1301 'val_table_header' => "<tr><th>Class</th>$1<th colspan=4>Opinion</th>$1<th>Comment</th></tr>\n",
1302 'val_stat_link_text' => 'Validation statistics for this article',
1303 'val_view_version' => 'View this version',
1304 'val_validate_version' => 'Validate this version',
1305 'val_user_validations' => 'This user has validated $1 pages.',
1306 'val_no_anon_validation' => 'You have to be logged in to validate an article.',
1307 'val_validate_article_namespace_only' => 'Only articles can be validated. This page is <i>not</i> in the article namespace.',
1308 'val_validated' => 'Validation done.',
1309 'val_article_lists' => 'List of validated articles',
1310 'val_page_validation_statistics' => 'Page validation statistics for $1',
1314 'movepage' => 'Move page',
1315 'movepagetext' => 'Using the form below will rename a page, moving all
1316 of its history to the new name.
1317 The old title will become a redirect page to the new title.
1318 Links to the old page title will not be changed; be sure to
1319 [[Special:Maintenance|check]] for double or broken redirects.
1320 You are responsible for making sure that links continue to
1321 point where they are supposed to go.
1323 Note that the page will \'\'\'not\'\'\' be moved if there is already
1324 a page at the new title, unless it is empty or a redirect and has no
1325 past edit history. This means that you can rename a page back to where
1326 it was just renamed from if you make a mistake, and you cannot overwrite
1330 This can be a drastic and unexpected change for a popular page;
1331 please be sure you understand the consequences of this before
1333 'movepagetalktext' => 'The associated talk page, if any, will be automatically moved along with it \'\'\'unless:\'\'\'
1334 *You are moving the page across namespaces,
1335 *A non-empty talk page already exists under the new name, or
1336 *You uncheck the box below.
1338 In those cases, you will have to move or merge the page manually if desired.',
1339 'movearticle' => 'Move page',
1340 'movenologin' => 'Not logged in',
1341 'movenologintext' => "You must be a registered user and <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
1343 'newtitle' => 'To new title',
1344 'movepagebtn' => 'Move page',
1345 'pagemovedsub' => 'Move succeeded',
1346 'pagemovedtext' => "Page \"[[$1]]\" moved to \"[[$2]]\".",
1347 'articleexists' => 'A page of that name already exists, or the
1348 name you have chosen is not valid.
1349 Please choose another name.',
1350 'talkexists' => 'The page itself was moved successfully, but the
1351 talk page could not be moved because one already exists at the new
1352 title. Please merge them manually.',
1353 'movedto' => 'moved to',
1354 'movetalk' => 'Move "talk" page as well, if applicable.',
1355 'talkpagemoved' => 'The corresponding talk page was also moved.',
1356 'talkpagenotmoved' => 'The corresponding talk page was <strong>not</strong> moved.',
1357 '1movedto2' => "$1 moved to $2",
1358 '1movedto2_redir' => '$1 moved to $2 over redirect',
1362 'export' => 'Export pages',
1363 'exporttext' => 'You can export the text and editing history of a particular page or
1364 set of pages wrapped in some XML. In the future, this may then be imported into another
1365 wiki running MediaWiki software, although there is no support for this feature in the
1368 To export article pages, enter the titles in the text box below, one title per line, and
1369 select whether you want the current version as well as all old versions, with the page
1370 history lines, or just the current version with the info about the last edit.
1372 In the latter case you can also use a link, e.g. [[{{ns:Special}}:Export/Train]] for the
1375 'exportcuronly' => 'Include only the current revision, not the full history',
1377 # Namespace 8 related
1379 'allmessages' => 'All system messages',
1380 'allmessagestext' => 'This is a list of all system messages available in the MediaWiki: namespace.',
1384 'thumbnail-more' => 'Enlarge',
1385 'missingimage' => "<b>Missing image</b><br /><i>$1</i>\n",
1388 'import' => 'Import pages',
1389 'importtext' => 'Please export the file from the source wiki using the Special:Export utility, save it to your disk and upload it here.',
1390 'importfailed' => "Import failed: $1",
1391 'importnotext' => 'Empty or no text',
1392 'importsuccess' => 'Import succeeded!',
1393 'importhistoryconflict' => 'Conflicting history revision exists (may have imported this page before)',
1395 # Keyboard access keys for power users
1396 'accesskey-search' => 'f',
1397 'accesskey-minoredit' => 'i',
1398 'accesskey-save' => 's',
1399 'accesskey-preview' => 'p',
1400 'accesskey-compareselectedversions' => 'v',
1402 # tooltip help for some actions, most are in Monobook.js
1403 'tooltip-search' => 'Search this wiki [alt-f]',
1404 'tooltip-minoredit' => 'Mark this as a minor edit [alt-i]',
1405 'tooltip-save' => 'Save your changes [alt-s]',
1406 'tooltip-preview' => 'Preview your changes, please use this before saving! [alt-p]',
1407 'tooltip-compareselectedversions' => 'See the differences between the two selected versions of this page. [alt-v]',
1411 'Monobook.css' => '/* edit this file to customize the monobook skin for the entire site */',
1412 #'Monobook.js' => '/* edit this file to change js things in the monobook skin */',
1415 'nodublincore' => 'Dublin Core RDF metadata disabled for this server.',
1416 'nocreativecommons' => 'Creative Commons RDF metadata disabled for this server.',
1417 'notacceptable' => 'The wiki server can\'t provide data in a format your client can read.',
1421 'anonymous' => "Anonymous user(s) of $wgSitename",
1422 'siteuser' => "$wgSitename user $1",
1423 'lastmodifiedby' => "This page was last modified $1 by $2.",
1425 'othercontribs' => "Based on work by $1.",
1426 'others' => 'others',
1427 'siteusers' => "$wgSitename user(s) $1",
1428 'creditspage' => 'Page credits',
1429 'nocredits' => 'There is no credits info available for this page.',
1433 'spamprotectiontitle' => 'Spam protection filter',
1434 'spamprotectiontext' => 'The page you wanted to save was blocked by the spam filter. This is probably caused by a link to an external site.',
1435 'spamprotectionmatch' => 'The following text is what triggered our spam filter: $1',
1436 'subcategorycount' => "There are $1 subcategories to this category.",
1437 'subcategorycount1' => "There is $1 subcategorie to this category.",
1438 'categoryarticlecount' => "There are $1 articles in this category.",
1439 'categoryarticlecount1' => "There is $1 article in this category.",
1440 'usenewcategorypage' => "1\n\nSet first character to \"0\" to disable the new category page layout.",
1443 "infosubtitle" => "Information for page",
1444 "numedits" => "Number of edits (article): $1",
1445 "numtalkedits" => "Number of edits (discussion page): $1",
1446 "numwatchers" => "Number of watchers: $1",
1447 "numauthors" => "Number of distinct authors (article): $1",
1448 "numtalkauthors" => "Number of distinct authors (discussion page): $1",
1451 'mw_math_png' => 'Always render PNG',
1452 'mw_math_simple' => 'HTML if very simple or else PNG',
1453 'mw_math_html' => 'HTML if possible or else PNG',
1454 'mw_math_source' => 'Leave it as TeX (for text browsers)',
1455 'mw_math_modern' => 'Recommended for modern browsers',
1456 'mw_math_mathml' => 'MathML if possible (experimental)',
1459 'markaspatrolleddiff' => "Mark as patrolled",
1460 'markaspatrolledlink' => "<div class='patrollink'>[$1]</div>",
1461 'markaspatrolledtext' => "Mark this article as patrolled",
1462 'markedaspatrolled' => "Marked as patrolled",
1463 'markedaspatrolledtext' => "The selected revision has been marked as patrolled.",
1464 'rcpatroldisabled' => "Recent Changes Patrol disabled",
1465 'rcpatroldisabledtext' => "The Recent Changes Patrol feature is currently disabled.",
1467 # Monobook.js: tooltips and access keys for monobook
1468 'Monobook.js' => '/* tooltips and access keys */
1470 ta[\'pt-userpage\'] = new Array(\'.\',\'My user page\');
1471 ta[\'pt-anonuserpage\'] = new Array(\'.\',\'The user page for the ip you\\\'re editing as\');
1472 ta[\'pt-mytalk\'] = new Array(\'n\',\'My talk page\');
1473 ta[\'pt-anontalk\'] = new Array(\'n\',\'Discussion about edits from this ip address\');
1474 ta[\'pt-preferences\'] = new Array(\'\',\'My preferences\');
1475 ta[\'pt-watchlist\'] = new Array(\'l\',\'The list of pages you\\\'re monitoring for changes.\');
1476 ta[\'pt-mycontris\'] = new Array(\'y\',\'List of my contributions\');
1477 ta[\'pt-login\'] = new Array(\'o\',\'You are encouraged to log in, it is not mandatory however.\');
1478 ta[\'pt-anonlogin\'] = new Array(\'o\',\'You are encouraged to log in, it is not mandatory however.\');
1479 ta[\'pt-logout\'] = new Array(\'o\',\'Log out\');
1480 ta[\'ca-talk\'] = new Array(\'t\',\'Discussion about the content page\');
1481 ta[\'ca-edit\'] = new Array(\'e\',\'You can edit this page. Please use the preview button before saving.\');
1482 ta[\'ca-addsection\'] = new Array(\'+\',\'Add a comment to this discussion.\');
1483 ta[\'ca-viewsource\'] = new Array(\'e\',\'This page is protected. You can view its source.\');
1484 ta[\'ca-history\'] = new Array(\'h\',\'Past versions of this page.\');
1485 ta[\'ca-protect\'] = new Array(\'=\',\'Protect this page\');
1486 ta[\'ca-delete\'] = new Array(\'d\',\'Delete this page\');
1487 ta[\'ca-undelete\'] = new Array(\'d\',\'Restore the edits done to this page before it was deleted\');
1488 ta[\'ca-move\'] = new Array(\'m\',\'Move this page\');
1489 ta[\'ca-nomove\'] = new Array(\'\',\'You don\\\'t have the permissions to move this page\');
1490 ta[\'ca-watch\'] = new Array(\'w\',\'Add this page to your watchlist\');
1491 ta[\'ca-unwatch\'] = new Array(\'w\',\'Remove this page from your watchlist\');
1492 ta[\'search\'] = new Array(\'f\',\'Search this wiki\');
1493 ta[\'p-logo\'] = new Array(\'\',\'Main Page\');
1494 ta[\'n-mainpage\'] = new Array(\'z\',\'Visit the Main Page\');
1495 ta[\'n-portal\'] = new Array(\'\',\'About the project, what you can do, where to find things\');
1496 ta[\'n-currentevents\'] = new Array(\'\',\'Find background information on current events\');
1497 ta[\'n-recentchanges\'] = new Array(\'r\',\'The list of recent changes in the wiki.\');
1498 ta[\'n-randompage\'] = new Array(\'x\',\'Load a random page\');
1499 ta[\'n-help\'] = new Array(\'\',\'The place to find out.\');
1500 ta[\'n-sitesupport\'] = new Array(\'\',\'Support us\');
1501 ta[\'t-whatlinkshere\'] = new Array(\'j\',\'List of all wiki pages that link here\');
1502 ta[\'t-recentchangeslinked\'] = new Array(\'k\',\'Recent changes in pages linking to this page\');
1503 ta[\'feed-rss\'] = new Array(\'\',\'RSS feed for this page\');
1504 ta[\'feed-atom\'] = new Array(\'\',\'Atom feed for this page\');
1505 ta[\'t-contributions\'] = new Array(\'\',\'View the list of contributions of this user\');
1506 ta[\'t-emailuser\'] = new Array(\'\',\'Send a mail to this user\');
1507 ta[\'t-upload\'] = new Array(\'u\',\'Upload images or media files\');
1508 ta[\'t-specialpages\'] = new Array(\'q\',\'List of all special pages\');
1509 ta[\'ca-nstab-main\'] = new Array(\'c\',\'View the content page\');
1510 ta[\'ca-nstab-user\'] = new Array(\'c\',\'View the user page\');
1511 ta[\'ca-nstab-media\'] = new Array(\'c\',\'View the media page\');
1512 ta[\'ca-nstab-special\'] = new Array(\'\',\'This is a special page, you can\\\'t edit the page itself.\');
1513 ta[\'ca-nstab-wp\'] = new Array(\'a\',\'View the project page\');
1514 ta[\'ca-nstab-image\'] = new Array(\'c\',\'View the image page\');
1515 ta[\'ca-nstab-mediawiki\'] = new Array(\'c\',\'View the system message\');
1516 ta[\'ca-nstab-template\'] = new Array(\'c\',\'View the template\');
1517 ta[\'ca-nstab-help\'] = new Array(\'c\',\'View the help page\');
1518 ta[\'ca-nstab-category\'] = new Array(\'c\',\'View the category page\');
1524 #--------------------------------------------------------------------------
1525 # Internationalisation code
1526 #--------------------------------------------------------------------------
1529 function Language(){
1530 # Copies any missing values in the specified arrays from En to the current language
1531 $fillin = array( 'wgSysopSpecialPages', 'wgValidSpecialPages', 'wgDeveloperSpecialPages' );
1532 $name = get_class( $this );
1533 if( strpos( $name, 'language' ) == 0){
1534 $lang = ucfirst( substr( $name, 8 ) );
1535 foreach( $fillin as $arrname ){
1536 $langver = "{$arrname}{$lang}";
1537 $enver = "{$arrname}En";
1538 if( ! isset( $GLOBALS[$langver] ) ||
! isset( $GLOBALS[$enver] ))
1540 foreach($GLOBALS[$enver] as $spage => $text){
1541 if( ! isset( $GLOBALS[$langver][$spage] ) )
1542 $GLOBALS[$langver][$spage] = $text;
1548 function getDefaultUserOptions () {
1549 global $wgDefaultUserOptionsEn ;
1550 return $wgDefaultUserOptionsEn ;
1553 function getBookstoreList () {
1554 global $wgBookstoreListEn ;
1555 return $wgBookstoreListEn ;
1558 function getNamespaces() {
1559 global $wgNamespaceNamesEn;
1560 return $wgNamespaceNamesEn;
1563 function getNsText( $index ) {
1564 global $wgNamespaceNamesEn;
1565 return $wgNamespaceNamesEn[$index];
1568 function getNsIndex( $text ) {
1569 global $wgNamespaceNamesEn;
1571 foreach ( $wgNamespaceNamesEn as $i => $n ) {
1572 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
1577 function specialPage( $name ) {
1578 return $this->getNsText( Namespace::getSpecial() ) . ':' . $name;
1581 function getQuickbarSettings() {
1582 global $wgQuickbarSettingsEn;
1583 return $wgQuickbarSettingsEn;
1586 function getSkinNames() {
1587 global $wgSkinNamesEn;
1588 return $wgSkinNamesEn;
1591 function getMathNames() {
1592 global $wgMathNamesEn;
1593 return $wgMathNamesEn;
1596 function getDateFormats() {
1597 global $wgDateFormatsEn;
1598 return $wgDateFormatsEn;
1601 function getValidationTypes() {
1602 global $wgValidationTypesEn;
1603 return $wgValidationTypesEn;
1606 function getUserToggles() {
1607 global $wgUserTogglesEn;
1608 return $wgUserTogglesEn;
1611 function getUserToggle( $tog ) {
1612 $togs =& $this->getUserToggles();
1613 return wfMsg("tog-".$tog);
1616 function getLanguageNames() {
1617 global $wgLanguageNamesEn;
1618 return $wgLanguageNamesEn;
1621 function getLanguageName( $code ) {
1622 global $wgLanguageNamesEn;
1623 if ( ! array_key_exists( $code, $wgLanguageNamesEn ) ) {
1626 return $wgLanguageNamesEn[$code];
1629 function getMonthName( $key )
1631 global $wgMonthNamesEn;
1632 return wfMsg($wgMonthNamesEn[$key-1]);
1635 /* by default we just return base form */
1636 function getMonthNameGen( $key )
1638 return $this->getMonthName( $key );
1641 function getMonthAbbreviation( $key )
1643 global $wgMonthAbbreviationsEn;
1644 return wfMsg(@$wgMonthAbbreviationsEn[$key-1]);
1647 function getWeekdayName( $key )
1649 global $wgWeekdayNamesEn;
1650 return wfMsg($wgWeekdayNamesEn[$key-1]);
1653 function userAdjust( $ts )
1655 global $wgUser, $wgLocalTZoffset;
1657 $tz = $wgUser->getOption( 'timecorrection' );
1659 $hrDiff = isset( $wgLocalTZoffset ) ?
$wgLocalTZoffset : 0;
1661 } elseif ( strpos( $tz, ":" ) !== false ) {
1662 $tzArray = explode( ":", $tz );
1663 $hrDiff = intval($tzArray[0]);
1664 $minDiff = intval($hrDiff < 0 ?
-$tzArray[1] : $tzArray[1]);
1666 $hrDiff = intval( $tz );
1668 if ( 0 == $hrDiff && 0 == $minDiff ) { return $ts; }
1671 (int)substr( $ts, 8, 2) ) +
$hrDiff, # Hours
1672 (int)substr( $ts, 10, 2 ) +
$minDiff, # Minutes
1673 (int)substr( $ts, 12, 2 ), # Seconds
1674 (int)substr( $ts, 4, 2 ), # Month
1675 (int)substr( $ts, 6, 2 ), # Day
1676 (int)substr( $ts, 0, 4 ) ); #Year
1677 return date( 'YmdHis', $t );
1680 function date( $ts, $adj = false, $format = MW_DATE_USER_FORMAT
)
1682 global $wgAmericanDates, $wgUser, $wgUseDynamicDates;
1684 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1685 if ( $wgUseDynamicDates ) {
1686 if ( $format == MW_DATE_USER_FORMAT
) {
1687 $datePreference = $wgUser->getOption( 'date' );
1689 $options = $this->getDefaultUserOptions();
1690 $datePreference = $options['date'];
1692 if ( $datePreference == 0 ) {
1693 $datePreference = $wgAmericanDates ?
1 : 2;
1696 $datePreference = $wgAmericanDates ?
1 : 2;
1699 $month = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) );
1700 $day = $this->formatNum( 0 +
substr( $ts, 6, 2 ) );
1701 $year = $this->formatNum( substr( $ts, 0, 4 ) );
1703 switch( $datePreference ) {
1704 case 1: return "$month $day, $year";
1705 case 2: return "$day $month $year";
1706 default: return "$year $month $day";
1710 function time( $ts, $adj = false, $seconds = false )
1712 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1714 $t = substr( $ts, 8, 2 ) . ':' . substr( $ts, 10, 2 );
1716 $t .= ':' . substr( $ts, 12, 2 );
1718 return $this->formatNum( $t );
1721 function timeanddate( $ts, $adj = false, $format = MW_DATE_USER_FORMAT
)
1723 return $this->time( $ts, $adj ) . ', ' . $this->date( $ts, $adj, $format );
1726 function rfc1123( $ts )
1728 return date( 'D, d M Y H:i:s T', $ts );
1731 function getValidSpecialPages()
1733 global $wgValidSpecialPagesEn;
1734 return $wgValidSpecialPagesEn;
1737 function getSysopSpecialPages()
1739 global $wgSysopSpecialPagesEn;
1740 return $wgSysopSpecialPagesEn;
1743 function getDeveloperSpecialPages()
1745 global $wgDeveloperSpecialPagesEn;
1746 return $wgDeveloperSpecialPagesEn;
1749 function getMessage( $key )
1751 global $wgAllMessagesEn;
1752 return @$wgAllMessagesEn[$key];
1755 function getAllMessages()
1757 global $wgAllMessagesEn;
1758 return $wgAllMessagesEn;
1761 function iconv( $in, $out, $string ) {
1762 # For most languages, this is a wrapper for iconv
1763 return iconv( $in, $out, $string );
1766 function ucfirst( $string ) {
1767 # For most languages, this is a wrapper for ucfirst()
1768 return ucfirst( $string );
1771 function lcfirst( $s ) {
1772 return strtolower( $s{0} ). substr( $s, 1 );
1775 function checkTitleEncoding( $s ) {
1776 global $wgInputEncoding;
1778 # Check for UTF-8 URLs; Internet Explorer produces these if you
1779 # type non-ASCII chars in the URL bar or follow unescaped links.
1780 $ishigh = preg_match( '/[\x80-\xff]/', $s);
1781 $isutf = ($ishigh ?
preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|' .
1782 '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s ) : true );
1784 if( ($wgInputEncoding != 'utf-8') and $ishigh and $isutf )
1785 return @iconv
( 'UTF-8', $wgInputEncoding, $s );
1787 if( ($wgInputEncoding == 'utf-8') and $ishigh and !$isutf )
1788 return utf8_encode( $s );
1790 # Other languages can safely leave this function, or replace
1791 # it with one to detect and convert another legacy encoding.
1795 function stripForSearch( $in ) {
1796 # Some languages have special punctuation to strip out
1797 # or characters which need to be converted for MySQL's
1798 # indexing to grok it correctly. Make such changes here.
1799 return strtolower( $in );
1802 function firstChar( $s ) {
1803 # Get the first character of a string. In ASCII, return
1804 # first byte of the string. UTF8 and others have to
1809 function setAltEncoding() {
1810 # Some languages may have an alternate char encoding option
1811 # (Esperanto X-coding, Japanese furigana conversion, etc)
1812 # If 'altencoding' is checked in user prefs, this gives a
1813 # chance to swap out the default encoding settings.
1814 #global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1817 function recodeForEdit( $s ) {
1818 # For some languages we'll want to explicitly specify
1819 # which characters make it into the edit box raw
1820 # or are converted in some way or another.
1821 # Note that if wgOutputEncoding is different from
1822 # wgInputEncoding, this text will be further converted
1823 # to wgOutputEncoding.
1824 global $wgInputEncoding, $wgEditEncoding;
1825 if( $wgEditEncoding == '' or
1826 $wgEditEncoding == $wgInputEncoding ) {
1829 return $this->iconv( $wgInputEncoding, $wgEditEncoding, $s );
1833 function recodeInput( $s ) {
1834 # Take the previous into account.
1835 global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1836 if($wgEditEncoding != "") {
1837 $enc = $wgEditEncoding;
1839 $enc = $wgOutputEncoding;
1841 if( $enc == $wgInputEncoding ) {
1844 return $this->iconv( $enc, $wgInputEncoding, $s );
1848 # For right-to-left language support
1849 function isRTL() { return false; }
1851 # To allow "foo[[bar]]" to extend the link over the whole word "foobar"
1852 function linkPrefixExtension() { return false; }
1855 function &getMagicWords()
1857 global $wgMagicWordsEn;
1858 return $wgMagicWordsEn;
1861 # Fill a MagicWord object with data from here
1862 function getMagic( &$mw )
1864 $raw =& $this->getMagicWords();
1865 if( !isset( $raw[$mw->mId
] ) ) {
1866 # Fall back to English if local list is incomplete
1867 $raw =& Language
::getMagicWords();
1869 $rawEntry = $raw[$mw->mId
];
1870 $mw->mCaseSensitive
= $rawEntry[0];
1871 $mw->mSynonyms
= array_slice( $rawEntry, 1 );
1874 # Italic is unsuitable for some languages
1875 function emphasize( $text )
1877 return '<em>'.$text.'</em>';
1881 # Normally we use the plain ASCII digits. Some languages such as Arabic will
1882 # want to output numbers using script-appropriate characters: override this
1883 # function with a translator. See LanguageAr.php for an example.
1884 function formatNum( $number ) {
1888 function listToText( $l ) {
1891 for ($i = $m; $i >= 0; $i--) {
1894 } else if ($i == $m - 1) {
1895 $s = $l[$i] . ' ' . $this->getMessage('and') . ' ' . $s;
1897 $s = $l[$i] . ', ' . $s;
1903 # Crop a string from the beginning or end to a certain number of bytes.
1904 # (Bytes are used because our storage has limited byte lengths for some
1905 # columns in the database.) Multibyte charsets will need to make sure that
1906 # only whole characters are included!
1908 # $length does not include the optional ellipsis.
1909 # If $length is negative, snip from the beginning
1910 function truncate( $string, $length, $ellipsis = "" ) {
1911 if( $length == 0 ) {
1914 if ( strlen( $string ) <= abs( $length ) ) {
1918 $string = substr( $string, 0, $length );
1919 return $string . $ellipsis;
1921 $string = substr( $string, $length );
1922 return $ellipsis . $string;
1927 # This should fail gracefully if there's not a localization available
1928 @include_once
( 'Language' . ucfirst( $wgLanguageCode ) . '.php' );