47cc8b7361210f47e4fbada59006a7cd964ed756
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 #--------------------------------------------------------------------------
15 # Language-specific text
16 #--------------------------------------------------------------------------
18 # The names of the namespaces can be set here, but the numbers
19 # are magical, so don't change or move them! The Namespace class
20 # encapsulates some of the magic-ness.
23 if($wgMetaNamespace === FALSE)
24 $wgMetaNamespace = str_replace( ' ', '_', $wgSitename );
26 /* private */ $wgNamespaceNamesEn = array(
28 NS_SPECIAL
=> 'Special',
32 NS_USER_TALK
=> 'User_talk',
33 NS_WIKIPEDIA
=> $wgMetaNamespace,
34 NS_WIKIPEDIA_TALK
=> $wgMetaNamespace . '_talk',
36 NS_IMAGE_TALK
=> 'Image_talk',
37 NS_MEDIAWIKI
=> 'MediaWiki',
38 NS_MEDIAWIKI_TALK
=> 'MediaWiki_talk',
39 NS_TEMPLATE
=> 'Template',
40 NS_TEMPLATE_TALK
=> 'Template_talk',
42 NS_HELP_TALK
=> 'Help_talk',
43 NS_CATEGORY
=> 'Category',
44 NS_CATEGORY_TALK
=> 'Category_talk'
47 /* private */ $wgDefaultUserOptionsEn = array(
48 'quickbar' => 1, 'underline' => 1, 'hover' => 1,
49 'cols' => 80, 'rows' => 25, 'searchlimit' => 20,
50 'contextlines' => 5, 'contextchars' => 50,
51 'skin' => $wgDefaultSkin, 'math' => 1, 'rcdays' => 7, 'rclimit' => 50,
52 'highlightbroken' => 1, 'stubthreshold' => 0,
53 'previewontop' => 1, 'editsection'=>1,'editsectiononrightclick'=>0, 'showtoc'=>1,
58 /* private */ $wgQuickbarSettingsEn = array(
59 'None', 'Fixed left', 'Fixed right', 'Floating left'
62 /* private */ $wgSkinNamesEn = array(
63 'standard' => 'Classic',
64 'nostalgia' => 'Nostalgia',
65 'cologneblue' => 'Cologne Blue',
66 'davinci' => 'DaVinci',
68 'monobook' => 'MonoBook',
72 define( "MW_MATH_PNG", 0 );
73 define( "MW_MATH_SIMPLE", 1 );
74 define( "MW_MATH_HTML", 2 );
75 define( "MW_MATH_SOURCE", 3 );
76 define( "MW_MATH_MODERN", 4 );
77 define( "MW_MATH_MATHML", 5 );
79 /* private */ $wgMathNamesEn = array(
80 MW_MATH_PNG
=> 'mw_math_png',
81 MW_MATH_SIMPLE
=> 'mw_math_simple',
82 MW_MATH_HTML
=> 'mw_math_html',
83 MW_MATH_SOURCE
=> 'mw_math_source',
84 MW_MATH_MODERN
=> 'mw_math_modern',
85 MW_MATH_MATHML
=> 'mw_math_mathml'
88 /* private */ $wgDateFormatsEn = array(
96 /* private */ $wgUserTogglesEn = array(
97 'hover' => 'Show hoverbox over wiki links',
98 'underline' => 'Underline links',
99 'highlightbroken' => 'Format broken links <a href="" class="new">like
100 this</a> (alternative: like this<a href="" class="internal">?</a>).',
101 'justify' => 'Justify paragraphs',
102 'hideminor' => 'Hide minor edits in recent changes',
103 'usenewrc' => 'Enhanced recent changes (not for all browsers)',
104 'numberheadings' => 'Auto-number headings',
105 'showtoolbar'=>'Show edit toolbar',
106 'editondblclick' => 'Edit pages on double click (JavaScript)',
107 'editsection'=>'Enable section editing via [edit] links',
108 'editsectiononrightclick'=>'Enable section editing by right clicking<br /> on section titles (JavaScript)',
109 'showtoc'=>'Show table of contents<br />(for pages with more than 3 headings)',
110 'rememberpassword' => 'Remember password across sessions',
111 'editwidth' => 'Edit box has full width',
112 'watchdefault' => 'Add pages you edit to your watchlist',
113 'minordefault' => 'Mark all edits minor by default',
114 'previewontop' => 'Show preview before edit box and not after it',
115 'nocache' => 'Disable page caching'
118 /* private */ $wgBookstoreListEn = array(
119 "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
120 "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1",
121 "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
122 "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
125 # Read language names
126 global $wgLanguageNames;
127 require_once( "Names.php" );
129 $wgLanguageNamesEn =& $wgLanguageNames;
132 /* private */ $wgWeekdayNamesEn = array(
133 'sunday', 'monday', 'tuesday', 'wednesday', 'thursday',
138 /* private */ $wgMonthNamesEn = array(
139 'january', 'february', 'march', 'april', 'may_long', 'june',
140 'july', 'august', 'september', 'october', 'november',
143 /* private */ $wgMonthNamesGenEn = array(
144 'january-gen', 'february-gen', 'march-gen', 'april-gen', 'may-gen', 'june-gen',
145 'july-gen', 'august-gen', 'september-gen', 'october-gen', 'november-gen',
149 /* private */ $wgMonthAbbreviationsEn = array(
150 'jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug',
151 'sep', 'oct', 'nov', 'dec'
154 # Note to translators:
155 # Please include the English words as synonyms. This allows people
156 # from other wikis to contribute more easily.
158 /* private */ $wgMagicWordsEn = array(
160 MAG_REDIRECT
=> array( 0, '#redirect' ),
161 MAG_NOTOC
=> array( 0, '__NOTOC__' ),
162 MAG_FORCETOC
=> array( 0, '__FORCETOC__' ),
163 MAG_TOC
=> array( 0, '__TOC__' ),
164 MAG_NOEDITSECTION
=> array( 0, '__NOEDITSECTION__' ),
165 MAG_START
=> array( 0, '__START__' ),
166 MAG_CURRENTMONTH
=> array( 1, 'CURRENTMONTH' ),
167 MAG_CURRENTMONTHNAME
=> array( 1, 'CURRENTMONTHNAME' ),
168 MAG_CURRENTDAY
=> array( 1, 'CURRENTDAY' ),
169 MAG_CURRENTDAYNAME
=> array( 1, 'CURRENTDAYNAME' ),
170 MAG_CURRENTYEAR
=> array( 1, 'CURRENTYEAR' ),
171 MAG_CURRENTTIME
=> array( 1, 'CURRENTTIME' ),
172 MAG_NUMBEROFARTICLES
=> array( 1, 'NUMBEROFARTICLES' ),
173 MAG_CURRENTMONTHNAMEGEN
=> array( 1, 'CURRENTMONTHNAMEGEN' ),
174 MAG_PAGENAME
=> array( 1, 'PAGENAME' ),
175 MAG_NAMESPACE
=> array( 1, 'NAMESPACE' ),
176 MAG_MSG
=> array( 0, 'MSG:' ),
177 MAG_SUBST
=> array( 0, 'SUBST:' ),
178 MAG_MSGNW
=> array( 0, 'MSGNW:' ),
179 MAG_END
=> array( 0, '__END__' ),
180 MAG_IMG_THUMBNAIL
=> array( 1, 'thumbnail', 'thumb' ),
181 MAG_IMG_RIGHT
=> array( 1, 'right' ),
182 MAG_IMG_LEFT
=> array( 1, 'left' ),
183 MAG_IMG_NONE
=> array( 1, 'none' ),
184 MAG_IMG_WIDTH
=> array( 1, '$1px' ),
185 MAG_IMG_CENTER
=> array( 1, 'center', 'centre' ),
186 MAG_IMG_FRAMED
=> array( 1, 'framed', 'enframed', 'frame' ),
187 MAG_INT
=> array( 0, 'INT:' ),
188 MAG_SITENAME
=> array( 1, 'SITENAME' ),
189 MAG_NS
=> array( 0, 'NS:' ),
190 MAG_LOCALURL
=> array( 0, 'LOCALURL:' ),
191 MAG_LOCALURLE
=> array( 0, 'LOCALURLE:' ),
192 MAG_SERVER
=> array( 0, 'SERVER' )
195 #-------------------------------------------------------------------
197 #-------------------------------------------------------------------
198 # Allowed characters in keys are: A-Z, a-z, 0-9, underscore (_) and
199 # hyphen (-). If you need more characters, you may be able to change
200 # the regex in MagicWord::initRegex
202 # NOTE: To turn off "Current Events" in the sidebar,
203 # set "currentevents" => ""
205 # NOTE: To turn off "Disclaimers" in the title links,
206 # set "disclaimers" => ""
208 # NOTE: To turn off "Community portal" in the title links,
212 /* private */ $wgAllMessagesEn = array(
215 'sunday' => 'Sunday',
216 'monday' => 'Monday',
217 'tuesday' => 'Tuesday',
218 'wednesday' => 'Wednesday',
219 'thursday' => 'Thursday',
220 'friday' => 'Friday',
221 'saturday' => 'Saturday',
222 'january' => 'January',
223 'february' => 'February',
229 'august' => 'August',
230 'september' => 'September',
231 'october' => 'October',
232 'november' => 'November',
233 'december' => 'December',
246 # Bits of text used by many pages:
248 'categories' => 'Categories',
249 'category' => 'category',
250 'category_header' => 'Articles in category "$1"',
251 'subcategories' => 'Subcategories',
254 'linktrail' => '/^([a-z]+)(.*)$/sD',
255 'mainpage' => 'Main Page',
256 'mainpagetext' => 'Wiki software successfully installed.',
257 "mainpagedocfooter" => "Please see [http://meta.wikipedia.org/wiki/MediaWiki_i18n documentation on customizing the interface]
258 and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] for usage and configuration help.",
259 'portal' => 'Community portal',
260 'portal-url' => '{{ns:4}}:Community Portal',
262 "aboutwikipedia" => "About {{SITENAME}}",
263 "aboutpage" => "{{ns:4}}:About",
264 'article' => 'Content page',
266 "helppage" => "{{ns:12}}:Contents",
267 "wikititlesuffix" => "{{SITENAME}}",
268 "bugreports" => "Bug reports",
269 "bugreportspage" => "{{ns:4}}:Bug_reports",
270 'sitesupport' => 'Donations', # Set a URL in $wgSiteSupportPage in LocalSettings.php
272 "faqpage" => "{{ns:4}}:FAQ",
273 "edithelp" => "Editing help",
274 "newwindow" => "(opens in new window)",
275 "edithelppage" => "{{ns:12}}:Editing",
276 'cancel' => 'Cancel',
278 'qbbrowse' => 'Browse',
280 'qbpageoptions' => 'This page',
281 'qbpageinfo' => 'Context',
282 'qbmyoptions' => 'My pages',
283 'qbspecialpages' => 'Special pages',
284 'moredotdotdot' => 'More...',
285 'mypage' => 'My page',
286 'mytalk' => 'My talk',
287 'anontalk' => 'Talk for this IP',
288 'navigation' => 'Navigation',
289 'currentevents' => 'Current events',
290 'disclaimers' => 'Disclaimers',
291 "disclaimerpage" => "{{ns:4}}:General_disclaimer",
292 "errorpagetitle" => "Error",
293 "returnto" => "Return to $1.",
294 "fromwikipedia" => "From {{SITENAME}}",
295 'whatlinkshere' => 'Pages that link here',
297 'search' => 'Search',
299 "history" => 'Page history',
300 'history_short' => 'History',
301 'info_short' => 'Information',
302 'printableversion' => 'Printable version',
304 'editthispage' => 'Edit this page',
305 'delete' => 'Delete',
306 "deletethispage" => "Delete this page",
307 "undelete_short" => "Undelete $1 edits",
308 'protect' => 'Protect',
309 'protectthispage' => 'Protect this page',
310 'unprotect' => 'Unprotect',
311 'unprotectthispage' => 'Unprotect this page',
312 'newpage' => 'New page',
313 'talkpage' => 'Discuss this page',
314 'specialpage' => 'Special Page',
315 'personaltools' => 'Personal tools',
316 'postcomment' => 'Post a comment',
318 'articlepage' => 'View content page',
319 'subjectpage' => 'View subject', # For compatibility
320 'talk' => 'Discussion',
321 'toolbox' => 'Toolbox',
322 'userpage' => 'View user page',
323 'wikipediapage' => 'View project page',
324 'imagepage' => 'View image page',
325 'viewtalkpage' => 'View discussion',
326 'otherlanguages' => 'Other languages',
327 'redirectedfrom' => "(Redirected from $1)",
328 'lastmodified' => "This page was last modified $1.",
329 'viewcount' => "This page has been accessed $1 times.",
330 'copyright' => "Content is available under $1.",
331 'poweredby' => "{{SITENAME}} is powered by [http://www.mediawiki.org/ MediaWiki], an open source wiki engine.",
332 'printsubtitle' => "(From {{SERVER}})",
333 'protectedpage' => 'Protected page',
334 'administrators' => "{{ns:4}}:Administrators",
335 'sysoptitle' => 'Sysop access required',
336 'sysoptext' => "The action you have requested can only be
337 performed by users with \"sysop\" status.
339 'developertitle' => 'Developer access required',
340 "developertext" => "The action you have requested can only be
341 performed by users with \"developer\" status.
343 'bureaucrattitle' => 'Bureaucrat access required',
344 "bureaucrattext" => "The action you have requested can only be
345 performed by sysops with \"bureaucrat\" status.",
346 'nbytes' => "$1 bytes",
349 'sitetitle' => "{{SITENAME}}",
350 'pagetitle' => "$1 - {{SITENAME}}",
351 'sitesubtitle' => 'The Free Encyclopedia', # FIXME
352 'retrievedfrom' => "Retrieved from \"$1\"",
353 'newmessages' => "You have $1.",
354 'newmessageslink' => 'new messages',
355 'editsection'=>'edit',
356 'toc' => 'Table of contents',
359 'thisisdeleted' => "View or restore $1?",
360 'restorelink' => "$1 deleted edits",
361 'feedlinks' => 'Feed:',
363 # Short words for each namespace, by default used in the 'article' tab in monobook
364 'nstab-main' => 'Article',
365 'nstab-user' => 'User page',
366 'nstab-media' => 'Media',
367 'nstab-special' => 'Special',
368 'nstab-wp' => 'About',
369 'nstab-image' => 'Image',
370 'nstab-mediawiki' => 'Message',
371 'nstab-template' => 'Template',
372 'nstab-help' => 'Help',
373 'nstab-category' => 'Category',
375 # Main script and global functions
377 'nosuchaction' => 'No such action',
378 'nosuchactiontext' => 'The action specified by the URL is not
379 recognized by the wiki',
380 'nosuchspecialpage' => 'No such special page',
381 'nospecialpagetext' => 'You have requested a special page that is not
382 recognized by the wiki.',
387 'databaseerror' => 'Database error',
388 'dberrortext' => "A database query syntax error has occurred.
389 This could be because of an illegal search query (see $5),
390 or it may indicate a bug in the software.
391 The last attempted database query was:
392 <blockquote><tt>$1</tt></blockquote>
393 from within function \"<tt>$2</tt>\".
394 MySQL returned error \"<tt>$3: $4</tt>\".",
395 'dberrortextcl' => "A database query syntax error has occurred.
396 The last attempted database query was:
398 from within function \"$2\".
399 MySQL returned error \"$3: $4\".\n",
400 'noconnect' => 'Sorry! The wiki is experiencing some technical difficulties, and cannot contact the database server. <br />
402 'nodb' => "Could not select database $1",
403 'cachederror' => 'The following is a cached copy of the requested page, and may not be up to date.',
404 'readonly' => 'Database locked',
405 'enterlockreason' => 'Enter a reason for the lock, including an estimate
406 of when the lock will be released',
407 'readonlytext' => "The database is currently locked to new
408 entries and other modifications, probably for routine database maintenance,
409 after which it will be back to normal.
410 The administrator who locked it offered this explanation:
412 'missingarticle' => "The database did not find the text of a page
413 that it should have found, named \"$1\".
415 <p>This is usually caused by following an outdated diff or history link to a
416 page that has been deleted.
418 <p>If this is not the case, you may have found a bug in the software.
419 Please report this to an administrator, making note of the URL.",
420 'internalerror' => 'Internal error',
421 'filecopyerror' => "Could not copy file \"$1\" to \"$2\".",
422 'filerenameerror' => "Could not rename file \"$1\" to \"$2\".",
423 'filedeleteerror' => "Could not delete file \"$1\".",
424 'filenotfound' => "Could not find file \"$1\".",
425 'unexpected' => "Unexpected value: \"$1\"=\"$2\".",
426 'formerror' => 'Error: could not submit form',
427 'badarticleerror' => 'This action cannot be performed on this page.',
428 'cannotdelete' => 'Could not delete the page or image specified. (It may have already been deleted by someone else.)',
429 'badtitle' => 'Bad title',
430 'badtitletext' => "The requested page title was invalid, empty, or
431 an incorrectly linked inter-language or inter-wiki title.",
432 'perfdisabled' => 'Sorry! This feature has been temporarily disabled
433 because it slows the database down to the point that no one can use
435 'perfdisabledsub' => "Here's a saved copy from $1:", # obsolete?
436 'perfcached' => 'The following data is cached and may not be completely up to date:',
437 'wrong_wfQuery_params' => "Incorrect parameters to wfQuery()<br />
441 'viewsource' => 'View source',
442 'protectedtext' => "This page has been locked to prevent editing; there are
443 a number of reasons why this may be so, please see
444 [[{{ns:4}}:Protected page]].
446 You can view and copy the source of this page:",
447 'seriousxhtmlerrors' => 'There were serious xhtml markup errors detected by tidy.',
449 # Login and logout pages
451 "logouttitle" => 'User logout',
452 "logouttext" => "You are now logged out.
453 You can continue to use {{SITENAME}} anonymously, or you can log in
454 again as the same or as a different user. Note that some pages may
455 continue to be displayed as if you were still logged in, until you clear
456 your browser cache\n",
458 'welcomecreation' => "<h2>Welcome, $1!</h2><p>Your account has been created.
459 Don't forget to change your {{SITENAME}} preferences.",
461 'loginpagetitle' => 'User login',
462 'yourname' => 'Your user name',
463 'yourpassword' => 'Your password',
464 'yourpasswordagain' => 'Retype password',
465 'newusersonly' => ' (new users only)',
466 'remembermypassword' => 'Remember my password across sessions.',
467 'loginproblem' => '<b>There has been a problem with your login.</b><br />Try again!',
468 'alreadyloggedin' => "<font color=red><b>User $1, you are already logged in!</b></font><br />\n",
471 'loginprompt' => "You must have cookies enabled to log in to {{SITENAME}}.",
472 'userlogin' => 'Log in',
473 'logout' => 'Log out',
474 'userlogout' => 'Log out',
475 'notloggedin' => 'Not logged in',
476 'createaccount' => 'Create new account',
477 'createaccountmail' => 'by email',
478 'badretype' => 'The passwords you entered do not match.',
479 'userexists' => 'The user name you entered is already in use. Please choose a different name.',
480 'youremail' => 'Your email*',
481 'yourrealname' => 'Your real name*',
482 'yournick' => 'Your nickname (for signatures)',
483 '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
484 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.",
485 '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/>
486 * <strong>Email</strong> (optional): Enables people to contact you through the website without you having to reveal your
487 email address to them, and it can be used to send you a new password if you forget it.',
488 'loginerror' => 'Login error',
489 '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.",
490 "nocookieslogin" => "{{SITENAME}} uses cookies to log in users. You have cookies disabled. Please enable them and try again.",
491 'noname' => 'You have not specified a valid user name.',
492 'loginsuccesstitle' => 'Login successful',
493 'loginsuccess' => "You are now logged in to {{SITENAME}} as \"$1\".",
494 'nosuchuser' => "There is no user by the name \"$1\".
495 Check your spelling, or use the form below to create a new user account.",
496 'wrongpassword' => 'The password you entered is incorrect. Please try again.',
497 'mailmypassword' => 'Mail me a new password',
498 'passwordremindertitle' => "Password reminder from {{SITENAME}}",
499 'passwordremindertext' => "Someone (probably you, from IP address $1)
500 requested that we send you a new {{SITENAME}} login password.
501 The password for user \"$2\" is now \"$3\".
502 You should log in and change your password now.",
503 'noemail' => "There is no e-mail address recorded for user \"$1\".",
504 'passwordsent' => "A new password has been sent to the e-mail address
505 registered for \"$1\".
506 Please log in again after you receive it.",
507 'loginend' => ' ',
508 'mailerror' => "Error sending mail: $1",
509 'acct_creation_throttle_hit' => 'Sorry, you have already created $1 accounts. You can\'t make any more.',
512 'bold_sample'=>'Bold text',
513 'bold_tip'=>'Bold text',
514 'italic_sample'=>'Italic text',
515 'italic_tip'=>'Italic text',
516 'link_sample'=>'Link title',
517 'link_tip'=>'Internal link',
518 'extlink_sample'=>'http://www.example.com link title',
519 'extlink_tip'=>'External link (remember http:// prefix)',
520 'headline_sample'=>'Headline text',
521 'headline_tip'=>'Level 2 headline',
522 'math_sample'=>'Insert formula here',
523 'math_tip'=>'Mathematical formula (LaTeX)',
524 'nowiki_sample'=>'Insert non-formatted text here',
525 'nowiki_tip'=>'Ignore wiki formatting',
526 'image_sample'=>'Example.jpg',
527 'image_tip'=>'Embedded image',
528 'media_sample'=>'Example.mp3',
529 'media_tip'=>'Media file link',
530 'sig_tip'=>'Your signature with timestamp',
531 'hr_tip'=>'Horizontal line (use sparingly)',
532 'infobox'=>'Click a button to get an example text',
533 # alert box shown in browsers where text selection does not work, test e.g. with mozilla or konqueror
534 '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",
538 'summary' => 'Summary',
539 'subject' => 'Subject/headline',
540 'minoredit' => 'This is a minor edit',
541 'watchthis' => 'Watch this page',
542 'savearticle' => 'Save page',
543 'preview' => 'Preview',
544 'showpreview' => 'Show preview',
545 'blockedtitle' => 'User is blocked',
546 'blockedtext' => "Your user name or IP address has been blocked by $1.
547 The reason given is this:<br />''$2''<p>You may contact $1 or one of the other
548 [[{{ns:4}}:Administrators|administrators]] to discuss the block.
550 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]].
552 Your IP address is $3. Please include this address in any queries you make.
554 'whitelistedittitle' => 'Login required to edit',
555 'whitelistedittext' => 'You have to [[Special:Userlogin|login]] to edit pages.',
556 'whitelistreadtitle' => 'Login required to read',
557 'whitelistreadtext' => 'You have to [[Special:Userlogin|login]] to read pages.',
558 'whitelistacctitle' => 'You are not allowed to create an account',
559 'whitelistacctext' => 'To be allowed to create accounts in this Wiki you have to [[Special:Userlogin|log]] in and have the appropriate permissions.',
560 'loginreqtitle' => 'Login Required',
561 'loginreqtext' => 'You must [[special:Userlogin|login]] to view other pages.',
562 'accmailtitle' => 'Password sent.',
563 'accmailtext' => "The Password for '$1' has been sent to $2.",
564 'newarticle' => '(New)',
566 "You've followed a link to a page that doesn't exist yet.
567 To create the page, start typing in the box below
568 (see the [[{{ns:4}}:Help|help page]] for more info).
569 If you are here by mistake, just click your browser's '''back''' button.",
570 'talkpagetext' => '<!-- MediaWiki:talkpagetext -->',
571 '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.'' ",
572 'noarticletext' => '(There is currently no text in this page)',
573 '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''.",
574 'usercssjsyoucanpreview' => "<strong>Tip:</strong> Use the 'Show preview' button to test your new css/js before saving.",
575 'usercsspreview' => "'''Remember that you are only previewing your user css, it has not yet been saved!'''",
576 'userjspreview' => "'''Remember that you are only testing/previewing your user javascript, it has not yet been saved!'''",
577 'updated' => '(Updated)',
578 'note' => '<strong>Note:</strong> ',
579 'previewnote' => 'Remember that this is only a preview, and has not yet been saved!',
580 'previewconflict' => 'This preview reflects the text in the upper
581 text editing area as it will appear if you choose to save.',
582 'editing' => "Editing $1",
583 "sectionedit" => " (section)",
584 'commentedit' => ' (comment)',
585 'editconflict' => 'Edit conflict: $1',
586 'explainconflict' => "Someone else has changed this page since you
588 The upper text area contains the page text as it currently exists.
589 Your changes are shown in the lower text area.
590 You will have to merge your changes into the existing text.
591 <b>Only</b> the text in the upper text area will be saved when you
592 press \"Save page\".\n<p>",
593 'yourtext' => 'Your text',
594 'storedversion' => 'Stored version',
595 'editingold' => '<strong>WARNING: You are editing an out-of-date
596 revision of this page.
597 If you save it, any changes made since this revision will be lost.</strong>\n',
598 'yourdiff' => 'Differences',
599 # FIXME: This is inappropriate for third-party use!
600 'copyrightwarning' => "Please note that all contributions to {{SITENAME}} are
601 considered to be released under the GNU Free Documentation License
602 (see $1 for details).
603 If you don't want your writing to be edited mercilessly and redistributed
604 at will, then don't submit it here.<br />
605 You are also promising us that you wrote this yourself, or copied it from a
606 public domain or similar free resource.
607 <strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>",
608 'longpagewarning' => "WARNING: This page is $1 kilobytes long; some
609 browsers may have problems editing pages approaching or longer than 32kb.
610 Please consider breaking the page into smaller sections.",
611 'readonlywarning' => 'WARNING: The database has been locked for maintenance,
612 so you will not be able to save your edits right now. You may wish to cut-n-paste
613 the text into a text file and save it for later.',
614 'protectedpagewarning' => "WARNING: This page has been locked so that only
615 users with sysop privileges can edit it. Be sure you are following the
616 <a href='$wgScript/{{ns:4}}:Protected_page_guidelines'>protected page
621 'revhistory' => 'Revision history',
622 'nohistory' => 'There is no edit history for this page.',
623 'revnotfound' => 'Revision not found',
624 'revnotfoundtext' => "The old revision of the page you asked for could not be found.
625 Please check the URL you used to access this page.\n",
626 'loadhist' => 'Loading page history',
627 'currentrev' => 'Current revision',
628 'revisionasof' => "Revision as of $1",
633 'histlegend' => 'Diff selection: mark the radio boxes of the versions to compare and hit enter or the button at the bottom.<br/>
634 Legend: (cur) = difference with current version,
635 (last) = difference with preceding version, M = minor edit.',
636 'history_copyright' => '-',
640 'difference' => '(Difference between revisions)',
641 'loadingrev' => 'loading revision for diff',
642 'lineno' => "Line $1:",
643 'editcurrent' => 'Edit the current version of this page',
644 'selectnewerversionfordiff' => 'Select a newer version for comparison',
645 'selectolderversionfordiff' => 'Select an older version for comparison',
646 'compareselectedversions' => 'Compare selected versions',
650 'searchresults' => 'Search results',
651 'searchhelppage' => "{{ns:4}}:Searching",
652 'searchingwikipedia' => "Searching {{SITENAME}}",
653 'searchresulttext' => "For more information about searching {{SITENAME}}, see $1.",
654 'searchquery' => "For query \"$1\"",
655 'badquery' => 'Badly formed search query',
656 'badquerytext' => 'We could not process your query.
657 This is probably because you have attempted to search for a
658 word fewer than three letters long, which is not yet supported.
659 It could also be that you have mistyped the expression, for
660 example "fish and and scales".
661 Please try another query.',
662 'matchtotals' => "The query \"$1\" matched $2 page titles
663 and the text of $3 pages.",
664 'nogomatch' => 'No page with this exact title exists, trying full text search.',
665 'titlematches' => 'Article title matches',
666 'notitlematches' => 'No page title matches',
667 'textmatches' => 'Page text matches',
668 'notextmatches' => 'No page text matches',
669 'prevn' => "previous $1",
670 'nextn' => "next $1",
671 'viewprevnext' => "View ($1) ($2) ($3).",
672 'showingresults' => "Showing below <b>$1</b> results starting with #<b>$2</b>.",
673 'showingresultsnum' => "Showing below <b>$3</b> results starting with #<b>$2</b>.",
674 'nonefound' => "<strong>Note</strong>: unsuccessful searches are
675 often caused by searching for common words like \"have\" and \"from\",
676 which are not indexed, or by specifying more than one search term (only pages
677 containing all of the search terms will appear in the result).",
678 'powersearch' => 'Search',
679 'powersearchtext' => "
680 Search in namespaces :<br />
682 $2 List redirects Search for $3 $9",
683 "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>",
685 <!-- SiteSearch Google -->
686 <FORM method=GET action=\"http://www.google.com/search\">
687 <TABLE bgcolor=\"#FFFFFF\"><tr><td>
688 <A HREF=\"http://www.google.com/\">
689 <IMG SRC=\"http://www.google.com/logos/Logo_40wht.gif\"
690 border=\"0\" ALT=\"Google\"></A>
693 <INPUT TYPE=text name=q size=31 maxlength=255 value=\"$1\">
694 <INPUT type=submit name=btnG VALUE=\"Google Search\">
696 <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 />
697 <input type='hidden' name='ie' value='$2'>
698 <input type='hidden' name='oe' value='$2'>
702 <!-- SiteSearch Google -->",
703 'blanknamespace' => '(Main)',
707 'preferences' => 'Preferences',
708 'prefsnologin' => 'Not logged in',
709 'prefsnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
710 to set user preferences.",
711 'prefslogintext' => "You are logged in as \"$1\".
712 Your internal ID number is $2.
714 See [[{{ns:4}}:User preferences help]] for help deciphering the options.",
715 'prefsreset' => 'Preferences have been reset from storage.',
716 'qbsettings' => 'Quickbar settings',
717 'qbsettingsnote' => 'This preference only works in the \'Standard\' and the \'CologneBlue\' skin.',
718 'changepassword' => 'Change password',
720 'math' => 'Rendering math',
721 'dateformat' => 'Date format',
722 'math_failure' => 'Failed to parse',
723 'math_unknown_error' => 'unknown error',
724 'math_unknown_function' => 'unknown function ',
725 'math_lexing_error' => 'lexing error',
726 'math_syntax_error' => 'syntax error',
727 'math_image_error' => 'PNG conversion failed; check for correct installation of latex, dvips, gs, and convert',
728 'math_bad_tmpdir' => 'Can\'t write to or create math temp directory',
729 'math_bad_output' => 'Can\'t write to or create math output directory',
730 'math_notexvc' => 'Missing texvc executable; please see math/README to configure.',
731 'prefs-personal' => 'User data',
732 'prefs-rc' => 'Recent changes and stub display',
733 'prefs-misc' => 'Misc settings',
734 'saveprefs' => 'Save preferences',
735 'resetprefs' => 'Reset preferences',
736 'oldpassword' => 'Old password',
737 'newpassword' => 'New password',
738 'retypenew' => 'Retype new password',
739 'textboxsize' => 'Editing',
741 'columns' => 'Columns',
742 'searchresultshead' => 'Search result settings',
743 'resultsperpage' => 'Hits to show per page',
744 'contextlines' => 'Lines to show per hit',
745 'contextchars' => 'Characters of context per line',
746 'stubthreshold' => 'Threshold for stub display',
747 'recentchangescount' => 'Number of titles in recent changes',
748 'savedprefs' => 'Your preferences have been saved.',
749 'timezonelegend' => 'Time zone',
750 'timezonetext' => 'Enter number of hours your local time differs
751 from server time (UTC).',
752 'localtime' => 'Local time display',
753 'timezoneoffset' => 'Offset',
754 'servertime' => 'Server time is now',
755 'guesstimezone' => 'Fill in from browser',
756 'emailflag' => 'Disable e-mail from other users',
757 'defaultns' => 'Search in these namespaces by default:',
761 'changes' => 'changes',
762 'recentchanges' => 'Recent changes',
763 'recentchangestext' => 'Track the most recent changes to the wiki on this page.',
764 'rcloaderr' => 'Loading recent changes',
765 'rcnote' => "Below are the last <strong>$1</strong> changes in last <strong>$2</strong> days.",
766 'rcnotefrom' => "Below are the changes since <b>$2</b> (up to <b>$1</b> shown).",
767 'rclistfrom' => "Show new changes starting from $1",
768 # "rclinks" => "Show last $1 changes in last $2 hours / last $3 days",
769 # "rclinks" => "Show last $1 changes in last $2 days.",
770 'showhideminor' => "$1 minor edits | $2 bots | $3 logged in users ",
771 'rclinks' => "Show last $1 changes in last $2 days<br />$3",
772 'rchide' => "in $4 form; $1 minor edits; $2 secondary namespaces; $3 multiple edits.",
773 'rcliu' => "; $1 edits from logged in users",
778 'tableform' => 'table',
779 'listform' => 'list',
780 'nchanges' => "$1 changes",
781 'minoreditletter' => 'M',
782 'newpageletter' => 'N',
786 'upload' => 'Upload file',
787 'uploadbtn' => 'Upload file',
788 'uploadlink' => 'Upload images',
789 'reupload' => 'Re-upload',
790 'reuploaddesc' => 'Return to the upload form.',
791 'uploadnologin' => 'Not logged in',
792 'uploadnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
794 'uploadfile' => 'Upload images, sounds, documents etc.',
795 'uploaderror' => 'Upload error',
796 'uploadtext' => "<strong>STOP!</strong> Before you upload here,
797 make sure to read and follow the <a href=\"{{localurle:Special:Image_use_policy}}\">image use policy</a>.
798 <p>If a file with the name you are specifying already
799 exists on the wiki, it'll be replaced without warning.
800 So unless you mean to update a file, it's a good idea
801 to first check if such a file exists.
802 <p>To view or search previously uploaded images,
803 go to the <a href=\"{{localurle:Special:Imagelist}}\">list of uploaded images</a>.
804 Uploads and deletions are logged on the " .
805 "<a href=\"{{localurle:Project:Upload_log}}\">upload log</a>.
806 </p><p>Use the form below to upload new image files for use in
807 illustrating your pages.
808 On most browsers, you will see a \"Browse...\" button, which will
809 bring up your operating system's standard file open dialog.
810 Choosing a file will fill the name of that file into the text
811 field next to the button.
812 You must also check the box affirming that you are not
813 violating any copyrights by uploading the file.
814 Press the \"Upload\" button to finish the upload.
815 This may take some time if you have a slow internet connection.
816 <p>The preferred formats are JPEG for photographic images, PNG
817 for drawings and other iconic images, and OGG for sounds.
818 Please name your files descriptively to avoid confusion.
819 To include the image in a page, use a link in the form
820 <b>[[{{ns:6}}:file.jpg]]</b> or <b>[[{{ns:6}}:file.png|alt text]]</b>
821 or <b>[[{{ns:-2}}:file.ogg]]</b> for sounds.
822 <p>Please note that as with wiki pages, others may edit or
823 delete your uploads if they think it serves the project, and
824 you may be blocked from uploading if you abuse the system.",
826 'uploadlog' => 'upload log',
827 'uploadlogpage' => 'Upload_log',
828 'uploadlogpagetext' => 'Below is a list of the most recent file uploads.
829 All times shown are server time (UTC).
833 'filename' => 'Filename',
834 'filedesc' => 'Summary',
835 'filestatus' => 'Copyright status',
836 'filesource' => 'Source',
837 'affirmation' => "I affirm that the copyright holder of this file
838 agrees to license it under the terms of the $1.",
839 'copyrightpage' => "{{ns:4}}:Copyrights",
840 'copyrightpagename' => "{{SITENAME}} copyright",
841 'uploadedfiles' => 'Uploaded files',
842 'noaffirmation' => 'You must affirm that your upload does not violate any copyrights.',
843 'ignorewarning' => 'Ignore warning and save file anyway.',
844 'minlength' => 'Image names must be at least three letters.',
845 'badfilename' => "Image name has been changed to \"$1\".",
846 'badfiletype' => "\".$1\" is not a recommended image file format.",
847 'largefile' => 'It is recommended that images not exceed 100k in size.',
848 'fileexists' => 'A file with this name exists already, please check $1 if you are not sure if you want to change it.',
849 'successfulupload' => 'Successful upload',
850 'fileuploaded' => "File uploaded successfully.
851 Please follow this link: $2 to the description page and fill
852 in information about the file, such as where it came from, when it was
853 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>",
854 'uploadwarning' => 'Upload warning',
855 'savefile' => 'Save file',
856 'uploadedimage' => "uploaded \"$1\"",
857 'uploaddisabled' => 'Sorry, uploading is disabled.',
861 'imagelist' => 'Image list',
862 'imagelisttext' => "Below is a list of $1 images sorted $2.",
863 'getimagelist' => 'fetching image list',
864 'ilshowmatch' => 'Show all images with names matching',
865 'ilsubmit' => 'Search',
866 'showlast' => "Show last $1 images sorted $2.",
868 'byname' => 'by name',
869 'bydate' => 'by date',
870 'bysize' => 'by size',
871 'imgdelete' => 'del',
873 'imglegend' => 'Legend: (desc) = show/edit image description.',
874 'imghistory' => 'Image history',
875 'revertimg' => 'rev',
876 'deleteimg' => 'del',
877 'imghistlegend' => 'Legend: (cur) = this is the current image, (del) = delete
878 this old version, (rev) = revert to this old version.
879 <br /><i>Click on date to see image uploaded on that date</i>.',
880 'imagelinks' => 'Image links',
881 'linkstoimage' => 'The following pages link to this image:',
882 'nolinkstoimage' => 'There are no pages that link to this image.',
886 'statistics' => 'Statistics',
887 'sitestats' => 'Site statistics',
888 'userstats' => 'User statistics',
889 'sitestatstext' => "There are '''$1''' total pages in the database.
890 This includes \"talk\" pages, pages about {{SITENAME}}, minimal \"stub\"
891 pages, redirects, and others that probably don't qualify as content pages.
892 Excluding those, there are '''$2''' pages that are probably legitimate
895 There have been a total of '''$3''' page views, and '''$4''' page edits
896 since the wiki was setup.
897 That comes to '''$5''' average edits per page, and '''$6''' views per edit.",
898 'userstatstext' => "There are '''$1''' registered users.
899 '''$2''' of these are administrators (see $3).",
903 'maintenance' => 'Maintenance page',
904 '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 ;-)',
905 'maintenancebacklink' => 'Back to Maintenance Page',
906 'disambiguations' => 'Disambiguation pages',
907 'disambiguationspage' => "{{ns:4}}:Links_to_disambiguating_pages",
908 '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.",
909 'doubleredirects' => 'Double Redirects',
910 '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.",
911 'brokenredirects' => 'Broken Redirects',
912 'brokenredirectstext' => 'The following redirects link to a non-existing pages.',
913 'selflinks' => 'Pages with Self Links',
914 'selflinkstext' => 'The following pages contain a link to themselves, which they should not.',
915 'mispeelings' => 'Pages with misspellings',
916 'mispeelingstext' => "The following pages contain a common misspelling, which are listed on $1. The correct spelling might be given (like this).",
917 'mispeelingspage' => 'List of common misspellings',
918 'missinglanguagelinks' => 'Missing Language Links',
919 'missinglanguagelinksbutton' => 'Find missing language links for',
920 'missinglanguagelinkstext' => "These pages do <i>not</i> link to their counterpart in $1. Redirects and subpages are <i>not</i> shown.",
923 # Miscellaneous special pages
925 'orphans' => 'Orphaned pages',
926 'geo' => 'GEO coordinates',
927 'validate' => 'Validate page',
928 'lonelypages' => 'Orphaned pages',
929 'unusedimages' => 'Unused images',
930 'popularpages' => 'Popular pages',
931 'nviews' => '$1 views',
932 'wantedpages' => 'Wanted pages',
933 'nlinks' => '$1 links',
934 'allpages' => 'All pages',
935 'nextpage' => 'Next page ($1)',
936 'randompage' => 'Random page',
937 'shortpages' => 'Short pages',
938 'longpages' => 'Long pages',
939 'deadendpages' => 'Dead-end pages',
940 'listusers' => 'User list',
941 'listadmins' => 'Admins list',
942 'specialpages' => 'Special pages',
943 'spheading' => 'Special pages for all users',
944 'sysopspheading' => 'For sysop use only',
945 'developerspheading' => 'For developer use only',
946 'protectpage' => 'Protect page',
947 'recentchangeslinked' => 'Related changes',
948 'rclsub' => "(to pages linked from \"$1\")",
950 'newpages' => 'New pages',
951 'ancientpages' => 'Oldest pages',
952 'intl' => 'Interlanguage links',
954 'movethispage' => 'Move this page',
955 'unusedimagestext' => '<p>Please note that other web sites may link to an image with
956 a direct URL, and so may still be listed here despite being
958 'booksources' => 'Book sources',
959 # FIXME: Other sites, of course, may have affiliate relations with the booksellers list
960 'booksourcetext' => "Below is a list of links to other sites that
961 sell new and used books, and may also have further information
962 about books you are looking for.
963 {{SITENAME}} is not affiliated with any of these businesses, and
964 this list should not be construed as an endorsement.",
966 'rfcurl' => "http://www.faqs.org/rfcs/rfc$1.html",
967 'alphaindexline' => "$1 to $2",
968 'version' => 'Version',
972 'mailnologin' => 'No send address',
973 'mailnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin\">logged in</a>
974 and have a valid e-mail address in your <a href=\"{{localurl:Special:Preferences}}\">preferences</a>
975 to send e-mail to other users.",
976 'emailuser' => 'E-mail this user',
977 'emailpage' => 'E-mail user',
978 'emailpagetext' => 'If this user has entered a valid e-mail address in
979 his or her user preferences, the form below will send a single message.
980 The e-mail address you entered in your user preferences will appear
981 as the "From" address of the mail, so the recipient will be able
983 'usermailererror' => 'Mail object returned error: ',
984 'defemailsubject' => "{{SITENAME}} e-mail",
985 'noemailtitle' => 'No e-mail address',
986 'noemailtext' => 'This user has not specified a valid e-mail address,
987 or has chosen not to receive e-mail from other users.',
988 'emailfrom' => 'From',
990 'emailsubject' => 'Subject',
991 'emailmessage' => 'Message',
992 'emailsend' => 'Send',
993 'emailsent' => 'E-mail sent',
994 'emailsenttext' => 'Your e-mail message has been sent.',
998 'watchlist' => 'My watchlist',
999 'watchlistsub' => "(for user \"$1\")",
1000 'nowatchlist' => 'You have no items on your watchlist.',
1001 'watchnologin' => 'Not logged in',
1002 'watchnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
1003 to modify your watchlist.",
1004 'addedwatch' => 'Added to watchlist',
1005 'addedwatchtext' => "The page \"$1\" has been added to your [[{{ns:-1}}:Watchlist|watchlist]].
1006 Future changes to this page and its associated Talk page will be listed there,
1007 and the page will appear '''bolded''' in the [[Special:Recentchanges|list of recent changes]] to
1008 make it easier to pick out.
1010 <p>If you want to remove the page from your watchlist later, click \"Stop watching\" in the sidebar.",
1011 'removedwatch' => 'Removed from watchlist',
1012 'removedwatchtext' => "The page \"$1\" has been removed from your watchlist.",
1014 'watchthispage' => 'Watch this page',
1015 'unwatch' => 'Unwatch',
1016 'unwatchthispage' => 'Stop watching',
1017 'notanarticle' => 'Not a content page',
1018 'watchnochange' => 'None of your watched items were edited in the time period displayed.',
1019 'watchdetails' => "($1 pages watched not counting talk pages;
1020 $2 total pages edited since cutoff;
1022 <a href='$4'>show and edit complete list</a>.)",
1023 'watchmethod-recent'=> 'checking recent edits for watched pages',
1024 'watchmethod-list' => 'checking watched pages for recent edits',
1025 'removechecked' => 'Remove checked items from watchlist',
1026 'watchlistcontains' => "Your watchlist contains $1 pages.",
1027 'watcheditlist' => 'Here\'s an alphabetical list of your
1028 watched pages. Check the boxes of pages you want to remove
1029 from your watchlist and click the \'remove checked\' button
1030 at the bottom of the screen.',
1031 'removingchecked' => 'Removing requested items from watchlist...',
1032 'couldntremove' => "Couldn't remove item '$1'...",
1033 'iteminvalidname' => "Problem with item '$1', invalid name...",
1034 'wlnote' => "Below are the last $1 changes in the last <b>$2</b> hours.",
1035 'wlshowlast' => "Show last $1 hours $2 days $3",
1036 'wlsaved' => 'This is a saved version of your watchlist.',
1039 # Delete/protect/revert
1041 'deletepage' => 'Delete page',
1042 'confirm' => 'Confirm',
1043 'excontent' => 'content was:',
1044 'exbeforeblank' => 'content before blanking was:',
1045 'exblank' => 'page was empty',
1046 'confirmdelete' => 'Confirm delete',
1047 'deletesub' => "(Deleting \"$1\")",
1048 'historywarning' => 'Warning: The page you are about to delete has a history: ',
1049 'confirmdeletetext' => "You are about to permanently delete a page
1050 or image along with all of its history from the database.
1051 Please confirm that you intend to do this, that you understand the
1052 consequences, and that you are doing this in accordance with
1053 [[{{ns:4}}:Policy]].",
1054 'confirmcheck' => 'Yes, I really want to delete this.',
1055 'actioncomplete' => 'Action complete',
1056 'deletedtext' => "\"$1\" has been deleted.
1057 See $2 for a record of recent deletions.",
1058 'deletedarticle' => "deleted \"$1\"",
1059 'dellogpage' => 'Deletion_log',
1060 'dellogpagetext' => 'Below is a list of the most recent deletions.
1061 All times shown are server time (UTC).
1065 'deletionlog' => 'deletion log',
1066 'reverted' => 'Reverted to earlier revision',
1067 'deletecomment' => 'Reason for deletion',
1068 'imagereverted' => 'Revert to earlier version was successful.',
1069 'rollback' => 'Roll back edits',
1070 'rollback_short' => 'Rollback',
1071 'rollbacklink' => 'rollback',
1072 'rollbackfailed' => 'Rollback failed',
1073 'cantrollback' => 'Cannot revert edit; last contributor is only author of this page.',
1074 'alreadyrolled' => "Cannot rollback last edit of [[$1]]
1075 by [[User:$2|$2]] ([[User talk:$2|Talk]]); someone else has edited or rolled back the page already.
1077 Last edit was by [[User:$3|$3]] ([[User talk:$3|Talk]]). ",
1078 # only shown if there is an edit comment
1079 'editcomment' => "The edit comment was: \"<i>$1</i>\".",
1080 'revertpage' => "Reverted edit of $2, changed back to last version by $1",
1081 'protectlogpage' => 'Protection_log',
1082 'protectlogtext' => "Below is a list of page locks/unlocks.
1083 See [[{{ns:4}}:Protected page]] for more information.",
1084 'protectedarticle' => "protected [[$1]]",
1085 'unprotectedarticle' => "unprotected [[$1]]",
1086 'protectsub' =>"(Protecting \"$1\")",
1087 'confirmprotecttext' => 'Do you really want to protect this page?',
1088 'confirmprotect' => 'Confirm protection',
1089 'protectcomment' => 'Reason for protecting',
1090 'unprotectsub' =>"(Unprotecting \"$1\")",
1091 'confirmunprotecttext' => 'Do you really want to unprotect this page?',
1092 'confirmunprotect' => 'Confirm unprotection',
1093 'unprotectcomment' => 'Reason for unprotecting',
1094 'protectreason' => '(give a reason)',
1097 'undelete' => 'Restore deleted page',
1098 'undeletepage' => 'View and restore deleted pages',
1099 'undeletepagetext' => 'The following pages have been deleted but are still in the archive and
1100 can be restored. The archive may be periodically cleaned out.',
1101 'undeletearticle' => 'Restore deleted page',
1102 'undeleterevisions' => "$1 revisions archived",
1103 'undeletehistory' => 'If you restore the page, all revisions will be restored to the history.
1104 If a new page with the same name has been created since the deletion, the restored
1105 revisions will appear in the prior history, and the current revision of the live page
1106 will not be automatically replaced.',
1107 'undeleterevision' => "Deleted revision as of $1",
1108 'undeletebtn' => 'Restore!',
1109 'undeletedarticle' => "restored \"$1\"",
1110 'undeletedtext' => "[[$1]] has been successfully restored.
1111 See [[{{ns:4}}:Deletion_log]] for a record of recent deletions and restorations.",
1115 'contributions' => 'User contributions',
1116 'mycontris' => 'My contributions',
1117 'contribsub' => "For $1",
1118 'nocontribs' => 'No changes were found matching these criteria.',
1119 'ucnote' => "Below are this user's last <b>$1</b> changes in the last <b>$2</b> days.",
1120 'uclinks' => "View the last $1 changes; view the last $2 days.",
1121 'uctop' => ' (top)' ,
1125 'whatlinkshere' => 'What links here',
1126 'notargettitle' => 'No target',
1127 'notargettext' => 'You have not specified a target page or user
1128 to perform this function on.',
1129 'linklistsub' => '(List of links)',
1130 'linkshere' => 'The following pages link to here:',
1131 'nolinkshere' => 'No pages link to here.',
1132 'isredirect' => 'redirect page',
1136 'blockip' => 'Block user',
1137 'blockiptext' => "Use the form below to block write access
1138 from a specific IP address or username.
1139 This should be done only only to prevent vandalism, and in
1140 accordance with [[{{ns:4}}:Policy|policy]].
1141 Fill in a specific reason below (for example, citing particular
1142 pages that were vandalized).",
1143 'ipaddress' => 'IP Address/username',
1144 'ipbexpiry' => 'Expiry',
1145 'ipbreason' => 'Reason',
1146 'ipbsubmit' => 'Block this user',
1147 'badipaddress' => 'Invalid IP address',
1148 'noblockreason' => 'You must supply a reason for the block.',
1149 'blockipsuccesssub' => 'Block succeeded',
1150 'blockipsuccesstext' => "\"$1\" has been blocked.
1151 <br />See [[Special:Ipblocklist|IP block list]] to review blocks.",
1152 'unblockip' => 'Unblock user',
1153 'unblockiptext' => 'Use the form below to restore write access
1154 to a previously blocked IP address or username.',
1155 'ipusubmit' => 'Unblock this address',
1156 'ipusuccess' => "\"$1\" unblocked",
1157 'ipblocklist' => 'List of blocked IP addresses and usernames',
1158 'blocklistline' => "$1, $2 blocked $3 (expires $4)",
1159 'blocklink' => 'block',
1160 'unblocklink' => 'unblock',
1161 'contribslink' => 'contribs',
1162 'autoblocker' => "Autoblocked because you share an IP address with \"$1\". Reason \"$2\".",
1163 'blocklogpage' => 'Block_log',
1164 'blocklogentry' => 'blocked "$1" with an expiry time of $2',
1165 'blocklogtext' => 'This is a log of user blocking and unblocking actions. Automatically
1166 blocked IP addresses are not be listed. See the [[Special:Ipblocklist|IP block list]] for
1167 the list of currently operational bans and blocks.',
1168 'unblocklogentry' => 'unblocked "$1"',
1169 'range_block_disabled' => 'The sysop ability to create range blocks is disabled.',
1170 'ipb_expiry_invalid' => 'Expiry time invalid.',
1171 'ip_range_invalid' => "Invalid IP range.\n",
1172 'proxyblocker' => 'Proxy blocker',
1173 '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.',
1174 'proxyblocksuccess' => "Done.\n",
1178 'lockdb' => 'Lock database',
1179 'unlockdb' => 'Unlock database',
1180 'lockdbtext' => 'Locking the database will suspend the ability of all
1181 users to edit pages, change their preferences, edit their watchlists, and
1182 other things requiring changes in the database.
1183 Please confirm that this is what you intend to do, and that you will
1184 unlock the database when your maintenance is done.',
1185 'unlockdbtext' => 'Unlocking the database will restore the ability of all
1186 users to edit pages, change their preferences, edit their watchlists, and
1187 other things requiring changes in the database.
1188 Please confirm that this is what you intend to do.',
1189 'lockconfirm' => 'Yes, I really want to lock the database.',
1190 'unlockconfirm' => 'Yes, I really want to unlock the database.',
1191 'lockbtn' => 'Lock database',
1192 'unlockbtn' => 'Unlock database',
1193 'locknoconfirm' => 'You did not check the confirmation box.',
1194 'lockdbsuccesssub' => 'Database lock succeeded',
1195 'unlockdbsuccesssub' => 'Database lock removed',
1196 'lockdbsuccesstext' => 'The database has been locked.
1197 <br />Remember to remove the lock after your maintenance is complete.',
1198 'unlockdbsuccesstext' => 'The database has been unlocked.',
1202 'asksql' => 'SQL query',
1203 'asksqltext' => "Use the form below to make a direct query of the
1205 Use single quotes ('like this') to delimit string literals.
1206 This can often add considerable load to the server, so please use
1207 this function sparingly.",
1208 'sqlislogged' => 'Please note that all queries are logged.',
1209 'sqlquery' => 'Enter query',
1210 'querybtn' => 'Submit query',
1211 'selectonly' => 'Only read-only queries are allowed.',
1212 'querysuccessful' => 'Query successful',
1215 'makesysoptitle' => 'Make a user into a sysop',
1216 'makesysoptext' => 'This form is used by bureaucrats to turn ordinary users into administrators.
1217 Type the name of the user in the box and press the button to make the user an administrator',
1218 'makesysopname' => 'Name of the user:',
1219 'makesysopsubmit' => 'Make this user into a sysop',
1220 'makesysopok' => "<b>User \"$1\" is now a sysop</b>",
1221 'makesysopfail' => "<b>User \"$1\" could not be made into a sysop. (Did you enter the name correctly?)</b>",
1222 'setbureaucratflag' => 'Set bureaucrat flag',
1223 'bureaucratlog' => 'Bureaucrat_log',
1224 'bureaucratlogentry' => "Rights for user \"$1\" set \"$2\"",
1225 'rights' => 'Rights:',
1226 'set_user_rights' => 'Set user rights',
1227 'user_rights_set' => "<b>User rights for \"$1\" updated</b>",
1228 'set_rights_fail' => "<b>User rights for \"$1\" could not be set. (Did you enter the name correctly?)</b>",
1229 'makesysop' => 'Make a user into a sysop',
1232 'val_clear_old' => 'Clear my other validation data for <a href="$1">the article</a>',
1233 'val_noop' => 'No opinion',
1234 'val_percent' => '<b>$1%</b> ($2 of $3 points)',
1238 'movepage' => 'Move page',
1239 'movepagetext' => 'Using the form below will rename a page, moving all
1240 of its history to the new name.
1241 The old title will become a redirect page to the new title.
1242 Links to the old page title will not be changed; be sure to
1243 [[Special:Maintenance|check]] for double or broken redirects.
1244 You are responsible for making sure that links continue to
1245 point where they are supposed to go.
1247 Note that the page will \'\'\'not\'\'\' be moved if there is already
1248 a page at the new title, unless it is empty or a redirect and has no
1249 past edit history. This means that you can rename a page back to where
1250 it was just renamed from if you make a mistake, and you cannot overwrite
1254 This can be a drastic and unexpected change for a popular page;
1255 please be sure you understand the consequences of this before
1257 'movepagetalktext' => 'The associated talk page, if any, will be automatically moved along with it \'\'\'unless:\'\'\'
1258 *You are moving the page across namespaces,
1259 *A non-empty talk page already exists under the new name, or
1260 *You uncheck the box below.
1262 In those cases, you will have to move or merge the page manually if desired.',
1263 'movearticle' => 'Move page',
1264 'movenologin' => 'Not logged in',
1265 'movenologintext' => "You must be a registered user and <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
1267 'newtitle' => 'To new title',
1268 'movepagebtn' => 'Move page',
1269 'pagemovedsub' => 'Move succeeded',
1270 'pagemovedtext' => "Page \"[[$1]]\" moved to \"[[$2]]\".",
1271 'articleexists' => 'A page of that name already exists, or the
1272 name you have chosen is not valid.
1273 Please choose another name.',
1274 'talkexists' => 'The page itself was moved successfully, but the
1275 talk page could not be moved because one already exists at the new
1276 title. Please merge them manually.',
1277 'movedto' => 'moved to',
1278 'movetalk' => 'Move "talk" page as well, if applicable.',
1279 'talkpagemoved' => 'The corresponding talk page was also moved.',
1280 'talkpagenotmoved' => 'The corresponding talk page was <strong>not</strong> moved.',
1281 '1movedto2' => "$1 moved to $2",
1282 '1movedto2_redir' => '$1 moved to $2 over redirect',
1286 'export' => 'Export pages',
1287 'exporttext' => 'You can export the text and editing history of a particular
1288 page or set of pages wrapped in some XML; this can then be imported into another
1289 wiki running MediaWiki software, transformed, or just kept for your private
1291 'exportcuronly' => 'Include only the current revision, not the full history',
1293 # Namespace 8 related
1295 'allmessages' => 'All system messages',
1296 'allmessagestext' => 'This is a list of all system messages available in the MediaWiki: namespace.',
1300 'thumbnail-more' => 'Enlarge',
1301 'missingimage' => "<b>Missing image</b><br /><i>$1</i>\n",
1304 'import' => 'Import pages',
1305 'importtext' => 'Please export the file from the source wiki using the Special:Export utility, save it to your disk and upload it here.',
1306 'importfailed' => "Import failed: $1",
1307 'importnotext' => 'Empty or no text',
1308 'importsuccess' => 'Import succeeded!',
1309 'importhistoryconflict' => 'Conflicting history revision exists (may have imported this page before)',
1311 # Keyboard access keys for power users
1312 'accesskey-search' => 'f',
1313 'accesskey-minoredit' => 'i',
1314 'accesskey-save' => 's',
1315 'accesskey-preview' => 'p',
1316 'accesskey-compareselectedversions' => 'v',
1318 # tooltip help for some actions, most are in Monobook.js
1319 'tooltip-search' => 'Search this wiki [alt-f]',
1320 'tooltip-minoredit' => 'Mark this as a minor edit [alt-i]',
1321 'tooltip-save' => 'Save your changes [alt-s]',
1322 'tooltip-preview' => 'Preview your changes, please use this before saving! [alt-p]',
1323 'tooltip-compareselectedversions' => 'See the differences between the two selected versions of this page. [alt-v]',
1327 'Monobook.css' => '/* edit this file to customize the monobook skin for the entire site */',
1328 #'Monobook.js' => '/* edit this file to change js things in the monobook skin */',
1331 'nodublincore' => 'Dublin Core RDF metadata disabled for this server.',
1332 'nocreativecommons' => 'Creative Commons RDF metadata disabled for this server.',
1333 'notacceptable' => 'The wiki server can\'t provide data in a format your client can read.',
1337 'anonymous' => "Anonymous user(s) of $wgSitename",
1338 'siteuser' => "$wgSitename user $1",
1339 'lastmodifiedby' => "This page was last modified $1 by $2.",
1341 'othercontribs' => "Based on work by $1.",
1342 'others' => 'others',
1343 'siteusers' => "$wgSitename user(s) $1",
1344 'creditspage' => 'Page credits',
1345 'nocredits' => 'There is no credits info available for this page.',
1349 'spamprotectiontitle' => 'Spam protection filter',
1350 'spamprotectiontext' => 'The page you wanted to save was blocked by the spam filter. This is probably caused by a link to an external site.
1352 You might want to check the following regular expression for patterns that are currently blocked:',
1353 'subcategorycount' => "There are $1 subcategories to this category.",
1354 'categoryarticlecount' => "There are $1 articles in this category.",
1355 'usenewcategorypage' => "1\n\nSet first character to \"0\" to disable the new category page layout.",
1358 "infosubtitle" => "Information for page",
1359 "numedits" => "Number of edits (article): $1",
1360 "numtalkedits" => "Number of edits (discussion page): $1",
1361 "numwatchers" => "Number of watchers: $1",
1362 "numauthors" => "Number of distinct authors (article): $1",
1363 "numtalkauthors" => "Number of distinct authors (discussion page): $1",
1366 'mw_math_png' => 'Always render PNG',
1367 'mw_math_simple' => 'HTML if very simple or else PNG',
1368 'mw_math_html' => 'HTML if possible or else PNG',
1369 'mw_math_source' => 'Leave it as TeX (for text browsers)',
1370 'mw_math_modern' => 'Recommended for modern browsers',
1371 'mw_math_mathml' => 'MathML if possible (experimental)',
1373 # Monobook.js: tooltips and access keys for monobook
1374 'Monobook.js' => '/* tooltips and access keys */
1376 ta[\'pt-userpage\'] = new Array(\'.\',\'My user page\');
1377 ta[\'pt-anonuserpage\'] = new Array(\'.\',\'The user page for the ip you\\\'re editing as\');
1378 ta[\'pt-mytalk\'] = new Array(\'n\',\'My talk page\');
1379 ta[\'pt-anontalk\'] = new Array(\'n\',\'Discussion about edits from this ip address\');
1380 ta[\'pt-preferences\'] = new Array(\'\',\'My preferences\');
1381 ta[\'pt-watchlist\'] = new Array(\'l\',\'The list of pages you\\\'re monitoring for changes.\');
1382 ta[\'pt-mycontris\'] = new Array(\'y\',\'List of my contributions\');
1383 ta[\'pt-login\'] = new Array(\'o\',\'You are encouraged to log in, it is not mandatory however.\');
1384 ta[\'pt-anonlogin\'] = new Array(\'o\',\'You are encouraged to log in, it is not mandatory however.\');
1385 ta[\'pt-logout\'] = new Array(\'o\',\'Log out\');
1386 ta[\'ca-talk\'] = new Array(\'t\',\'Discussion about the content page\');
1387 ta[\'ca-edit\'] = new Array(\'e\',\'You can edit this page. Please use the preview button before saving.\');
1388 ta[\'ca-addsection\'] = new Array(\'+\',\'Add a comment to this discussion.\');
1389 ta[\'ca-viewsource\'] = new Array(\'e\',\'This page is protected. You can view its source.\');
1390 ta[\'ca-history\'] = new Array(\'h\',\'Past versions of this page.\');
1391 ta[\'ca-protect\'] = new Array(\'=\',\'Protect this page\');
1392 ta[\'ca-delete\'] = new Array(\'d\',\'Delete this page\');
1393 ta[\'ca-undelete\'] = new Array(\'d\',\'Restore the edits done to this page before it was deleted\');
1394 ta[\'ca-move\'] = new Array(\'m\',\'Move this page\');
1395 ta[\'ca-nomove\'] = new Array(\'\',\'You don\\\'t have the permissions to move this page\');
1396 ta[\'ca-watch\'] = new Array(\'w\',\'Add this page to your watchlist\');
1397 ta[\'ca-unwatch\'] = new Array(\'w\',\'Remove this page from your watchlist\');
1398 ta[\'search\'] = new Array(\'f\',\'Search this wiki\');
1399 ta[\'p-logo\'] = new Array(\'\',\'Main Page\');
1400 ta[\'n-mainpage\'] = new Array(\'z\',\'Visit the Main Page\');
1401 ta[\'n-portal\'] = new Array(\'\',\'About the project, what you can do, where to find things\');
1402 ta[\'n-currentevents\'] = new Array(\'\',\'Find background information on current events\');
1403 ta[\'n-recentchanges\'] = new Array(\'r\',\'The list of recent changes in the wiki.\');
1404 ta[\'n-randompage\'] = new Array(\'x\',\'Load a random page\');
1405 ta[\'n-help\'] = new Array(\'\',\'The place to find out.\');
1406 ta[\'n-sitesupport\'] = new Array(\'\',\'Support us\');
1407 ta[\'t-whatlinkshere\'] = new Array(\'j\',\'List of all wiki pages that link here\');
1408 ta[\'t-recentchangeslinked\'] = new Array(\'k\',\'Recent changes in pages linking to this page\');
1409 ta[\'feed-rss\'] = new Array(\'\',\'RSS feed for this page\');
1410 ta[\'feed-atom\'] = new Array(\'\',\'Atom feed for this page\');
1411 ta[\'t-contributions\'] = new Array(\'\',\'View the list of contributions of this user\');
1412 ta[\'t-emailuser\'] = new Array(\'\',\'Send a mail to this user\');
1413 ta[\'t-upload\'] = new Array(\'u\',\'Upload images or media files\');
1414 ta[\'t-specialpages\'] = new Array(\'q\',\'List of all special pages\');
1415 ta[\'ca-nstab-main\'] = new Array(\'c\',\'View the content page\');
1416 ta[\'ca-nstab-user\'] = new Array(\'c\',\'View the user page\');
1417 ta[\'ca-nstab-media\'] = new Array(\'c\',\'View the media page\');
1418 ta[\'ca-nstab-special\'] = new Array(\'\',\'This is a special page, you can\\\'t edit the page itself.\');
1419 ta[\'ca-nstab-wp\'] = new Array(\'a\',\'View the project page\');
1420 ta[\'ca-nstab-image\'] = new Array(\'c\',\'View the image page\');
1421 ta[\'ca-nstab-mediawiki\'] = new Array(\'c\',\'View the system message\');
1422 ta[\'ca-nstab-template\'] = new Array(\'c\',\'View the template\');
1423 ta[\'ca-nstab-help\'] = new Array(\'c\',\'View the help page\');
1424 ta[\'ca-nstab-category\'] = new Array(\'c\',\'View the category page\');
1430 #--------------------------------------------------------------------------
1431 # Internationalisation code
1432 #--------------------------------------------------------------------------
1435 function Language(){
1436 # Copies any missing values in the specified arrays from En to the current language
1437 $fillin = array( 'wgSysopSpecialPages', 'wgValidSpecialPages', 'wgDeveloperSpecialPages' );
1438 $name = get_class( $this );
1439 if( strpos( $name, 'language' ) == 0){
1440 $lang = ucfirst( substr( $name, 8 ) );
1441 foreach( $fillin as $arrname ){
1442 $langver = "{$arrname}{$lang}";
1443 $enver = "{$arrname}En";
1444 if( ! isset( $GLOBALS[$langver] ) ||
! isset( $GLOBALS[$enver] ))
1446 foreach($GLOBALS[$enver] as $spage => $text){
1447 if( ! isset( $GLOBALS[$langver][$spage] ) )
1448 $GLOBALS[$langver][$spage] = $text;
1454 function getDefaultUserOptions () {
1455 global $wgDefaultUserOptionsEn ;
1456 return $wgDefaultUserOptionsEn ;
1459 function getBookstoreList () {
1460 global $wgBookstoreListEn ;
1461 return $wgBookstoreListEn ;
1464 function getNamespaces() {
1465 global $wgNamespaceNamesEn;
1466 return $wgNamespaceNamesEn;
1469 function getNsText( $index ) {
1470 global $wgNamespaceNamesEn;
1471 return $wgNamespaceNamesEn[$index];
1474 function getNsIndex( $text ) {
1475 global $wgNamespaceNamesEn;
1477 foreach ( $wgNamespaceNamesEn as $i => $n ) {
1478 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
1483 function specialPage( $name ) {
1484 return $this->getNsText( Namespace::getSpecial() ) . ':' . $name;
1487 function getQuickbarSettings() {
1488 global $wgQuickbarSettingsEn;
1489 return $wgQuickbarSettingsEn;
1492 function getSkinNames() {
1493 global $wgSkinNamesEn;
1494 return $wgSkinNamesEn;
1497 function getMathNames() {
1498 global $wgMathNamesEn;
1499 return $wgMathNamesEn;
1502 function getDateFormats() {
1503 global $wgDateFormatsEn;
1504 return $wgDateFormatsEn;
1507 function getUserToggles() {
1508 global $wgUserTogglesEn;
1509 return $wgUserTogglesEn;
1512 function getUserToggle( $tog ) {
1513 $togs =& $this->getUserToggles();
1517 function getLanguageNames() {
1518 global $wgLanguageNamesEn;
1519 return $wgLanguageNamesEn;
1522 function getLanguageName( $code ) {
1523 global $wgLanguageNamesEn;
1524 if ( ! array_key_exists( $code, $wgLanguageNamesEn ) ) {
1527 return $wgLanguageNamesEn[$code];
1530 function getMonthName( $key )
1532 global $wgMonthNamesEn;
1533 return wfMsg($wgMonthNamesEn[$key-1]);
1536 /* by default we just return base form */
1537 function getMonthNameGen( $key )
1539 return $this->getMonthName( $key );
1542 function getMonthAbbreviation( $key )
1544 global $wgMonthAbbreviationsEn;
1545 return wfMsg(@$wgMonthAbbreviationsEn[$key-1]);
1548 function getWeekdayName( $key )
1550 global $wgWeekdayNamesEn;
1551 return wfMsg($wgWeekdayNamesEn[$key-1]);
1554 function userAdjust( $ts )
1556 global $wgUser, $wgLocalTZoffset;
1558 $tz = $wgUser->getOption( 'timecorrection' );
1560 $hrDiff = isset( $wgLocalTZoffset ) ?
$wgLocalTZoffset : 0;
1562 } elseif ( strpos( $tz, ":" ) !== false ) {
1563 $tzArray = explode( ":", $tz );
1564 $hrDiff = intval($tzArray[0]);
1565 $minDiff = intval($hrDiff < 0 ?
-$tzArray[1] : $tzArray[1]);
1567 $hrDiff = intval( $tz );
1569 if ( 0 == $hrDiff && 0 == $minDiff ) { return $ts; }
1572 (int)substr( $ts, 8, 2) ) +
$hrDiff, # Hours
1573 (int)substr( $ts, 10, 2 ) +
$minDiff, # Minutes
1574 (int)substr( $ts, 12, 2 ), # Seconds
1575 (int)substr( $ts, 4, 2 ), # Month
1576 (int)substr( $ts, 6, 2 ), # Day
1577 (int)substr( $ts, 0, 4 ) ); #Year
1578 return date( 'YmdHis', $t );
1581 function date( $ts, $adj = false )
1583 global $wgAmericanDates, $wgUser, $wgUseDynamicDates;
1585 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1587 if ( $wgUseDynamicDates ) {
1588 $datePreference = $wgUser->getOption( 'date' );
1589 if ( $datePreference == 0 ) {
1590 $datePreference = $wgAmericanDates ?
1 : 2;
1593 $datePreference = $wgAmericanDates ?
1 : 2;
1596 $month = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) );
1597 $day = $this->formatNum( 0 +
substr( $ts, 6, 2 ) );
1598 $year = $this->formatNum( substr( $ts, 0, 4 ) );
1600 switch( $datePreference ) {
1601 case 1: return "$month $day, $year";
1602 case 2: return "$day $month $year";
1603 default: return "$year $month $day";
1607 function time( $ts, $adj = false, $seconds = false )
1609 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1611 $t = substr( $ts, 8, 2 ) . ':' . substr( $ts, 10, 2 );
1613 $t .= ':' . substr( $ts, 12, 2 );
1615 return $this->formatNum( $t );
1618 function timeanddate( $ts, $adj = false )
1620 return $this->time( $ts, $adj ) . ', ' . $this->date( $ts, $adj );
1623 function rfc1123( $ts )
1625 return date( 'D, d M Y H:i:s T', $ts );
1628 function getValidSpecialPages()
1630 global $wgValidSpecialPagesEn;
1631 return $wgValidSpecialPagesEn;
1634 function getSysopSpecialPages()
1636 global $wgSysopSpecialPagesEn;
1637 return $wgSysopSpecialPagesEn;
1640 function getDeveloperSpecialPages()
1642 global $wgDeveloperSpecialPagesEn;
1643 return $wgDeveloperSpecialPagesEn;
1646 function getMessage( $key )
1648 global $wgAllMessagesEn;
1649 return @$wgAllMessagesEn[$key];
1652 function getAllMessages()
1654 global $wgAllMessagesEn;
1655 return $wgAllMessagesEn;
1658 function iconv( $in, $out, $string ) {
1659 # For most languages, this is a wrapper for iconv
1660 return iconv( $in, $out, $string );
1663 function ucfirst( $string ) {
1664 # For most languages, this is a wrapper for ucfirst()
1665 return ucfirst( $string );
1668 function lcfirst( $s ) {
1669 return strtolower( $s{0} ). substr( $s, 1 );
1672 function checkTitleEncoding( $s ) {
1673 global $wgInputEncoding;
1675 # Check for UTF-8 URLs; Internet Explorer produces these if you
1676 # type non-ASCII chars in the URL bar or follow unescaped links.
1677 $ishigh = preg_match( '/[\x80-\xff]/', $s);
1678 $isutf = ($ishigh ?
preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|' .
1679 '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s ) : true );
1681 if( ($wgInputEncoding != 'utf-8') and $ishigh and $isutf )
1682 return @iconv
( 'UTF-8', $wgInputEncoding, $s );
1684 if( ($wgInputEncoding == 'utf-8') and $ishigh and !$isutf )
1685 return utf8_encode( $s );
1687 # Other languages can safely leave this function, or replace
1688 # it with one to detect and convert another legacy encoding.
1692 function stripForSearch( $in ) {
1693 # Some languages have special punctuation to strip out
1694 # or characters which need to be converted for MySQL's
1695 # indexing to grok it correctly. Make such changes here.
1699 function firstChar( $s ) {
1700 # Get the first character of a string. In ASCII, return
1701 # first byte of the string. UTF8 and others have to
1706 function setAltEncoding() {
1707 # Some languages may have an alternate char encoding option
1708 # (Esperanto X-coding, Japanese furigana conversion, etc)
1709 # If 'altencoding' is checked in user prefs, this gives a
1710 # chance to swap out the default encoding settings.
1711 #global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1714 function recodeForEdit( $s ) {
1715 # For some languages we'll want to explicitly specify
1716 # which characters make it into the edit box raw
1717 # or are converted in some way or another.
1718 # Note that if wgOutputEncoding is different from
1719 # wgInputEncoding, this text will be further converted
1720 # to wgOutputEncoding.
1721 global $wgInputEncoding, $wgEditEncoding;
1722 if( $wgEditEncoding == '' or
1723 $wgEditEncoding == $wgInputEncoding ) {
1726 return $this->iconv( $wgInputEncoding, $wgEditEncoding, $s );
1730 function recodeInput( $s ) {
1731 # Take the previous into account.
1732 global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1733 if($wgEditEncoding != "") {
1734 $enc = $wgEditEncoding;
1736 $enc = $wgOutputEncoding;
1738 if( $enc == $wgInputEncoding ) {
1741 return $this->iconv( $enc, $wgInputEncoding, $s );
1745 # For right-to-left language support
1746 function isRTL() { return false; }
1748 # To allow "foo[[bar]]" to extend the link over the whole word "foobar"
1749 function linkPrefixExtension() { return false; }
1752 function &getMagicWords()
1754 global $wgMagicWordsEn;
1755 return $wgMagicWordsEn;
1758 # Fill a MagicWord object with data from here
1759 function getMagic( &$mw )
1761 $raw =& $this->getMagicWords();
1762 if( !isset( $raw[$mw->mId
] ) ) {
1763 # Fall back to English if local list is incomplete
1764 $raw =& Language
::getMagicWords();
1766 $rawEntry = $raw[$mw->mId
];
1767 $mw->mCaseSensitive
= $rawEntry[0];
1768 $mw->mSynonyms
= array_slice( $rawEntry, 1 );
1771 # Italic is unsuitable for some languages
1772 function emphasize( $text )
1774 return '<em>'.$text.'</em>';
1778 # Normally we use the plain ASCII digits. Some languages such as Arabic will
1779 # want to output numbers using script-appropriate characters: override this
1780 # function with a translator. See LanguageAr.php for an example.
1781 function formatNum( $number ) {
1785 function listToText( $l ) {
1788 for ($i = $m; $i >= 0; $i--) {
1791 } else if ($i == $m - 1) {
1792 $s = $l[$i] . ' ' . $this->getMessage('and') . ' ' . $s;
1794 $s = $l[$i] . ', ' . $s;
1801 # This should fail gracefully if there's not a localization available
1802 @include_once
( 'Language' . ucfirst( $wgLanguageCode ) . '.php' );