Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

Language.php

Go to the documentation of this file.
00001 <?php 00002 # 00003 # In general you should not make customizations in these language files 00004 # directly, but should use the MediaWiki: special namespace to customize 00005 # user interface messages through the wiki. 00006 # See http://meta.wikipedia.org/wiki/MediaWiki_namespace 00007 # 00008 # NOTE TO TRANSLATORS: Do not copy this whole file when making translations! 00009 # A lot of common constants and a base class with inheritable methods are 00010 # defined here, which should not be redefined. See the other LanguageXx.php 00011 # files for examples. 00012 # 00013 00014 #-------------------------------------------------------------------------- 00015 # Language-specific text 00016 #-------------------------------------------------------------------------- 00017 00018 # The names of the namespaces can be set here, but the numbers 00019 # are magical, so don't change or move them! The Namespace class 00020 # encapsulates some of the magic-ness. 00021 # 00022 00023 if($wgMetaNamespace === FALSE) 00024 $wgMetaNamespace = str_replace( ' ', '_', $wgSitename ); 00025 00026 /* private */ $wgNamespaceNamesEn = array( 00027 NS_MEDIA => 'Media', 00028 NS_SPECIAL => 'Special', 00029 NS_MAIN => '', 00030 NS_TALK => 'Talk', 00031 NS_USER => 'User', 00032 NS_USER_TALK => 'User_talk', 00033 NS_WIKIPEDIA => $wgMetaNamespace, 00034 NS_WIKIPEDIA_TALK => $wgMetaNamespace . '_talk', 00035 NS_IMAGE => 'Image', 00036 NS_IMAGE_TALK => 'Image_talk', 00037 NS_MEDIAWIKI => 'MediaWiki', 00038 NS_MEDIAWIKI_TALK => 'MediaWiki_talk', 00039 NS_TEMPLATE => 'Template', 00040 NS_TEMPLATE_TALK => 'Template_talk', 00041 NS_HELP => 'Help', 00042 NS_HELP_TALK => 'Help_talk', 00043 NS_CATEGORY => 'Category', 00044 NS_CATEGORY_TALK => 'Category_talk' 00045 ); 00046 00047 /* private */ $wgDefaultUserOptionsEn = array( 00048 'quickbar' => 1, 'underline' => 1, 'hover' => 1, 00049 'cols' => 80, 'rows' => 25, 'searchlimit' => 20, 00050 'contextlines' => 5, 'contextchars' => 50, 00051 'skin' => $wgDefaultSkin, 'math' => 1, 'rcdays' => 7, 'rclimit' => 50, 00052 'highlightbroken' => 1, 'stubthreshold' => 0, 00053 'previewontop' => 1, 'editsection'=>1,'editsectiononrightclick'=>0, 'showtoc'=>1, 00054 'showtoolbar' =>1, 00055 'date' => 0 00056 ); 00057 00058 /* private */ $wgQuickbarSettingsEn = array( 00059 'None', 'Fixed left', 'Fixed right', 'Floating left' 00060 ); 00061 00062 /* private */ $wgSkinNamesEn = array( 00063 'standard' => 'Standard', 00064 'nostalgia' => 'Nostalgia', 00065 'cologneblue' => 'Cologne Blue', 00066 'davinci' => 'DaVinci', 00067 'mono' => 'Mono', 00068 'monobook' => 'MonoBook', 00069 'myskin' => 'MySkin' 00070 ); 00071 00072 define( "MW_MATH_PNG", 0 ); 00073 define( "MW_MATH_SIMPLE", 1 ); 00074 define( "MW_MATH_HTML", 2 ); 00075 define( "MW_MATH_SOURCE", 3 ); 00076 define( "MW_MATH_MODERN", 4 ); 00077 define( "MW_MATH_MATHML", 5 ); 00078 00079 /* private */ $wgMathNamesEn = array( 00080 MW_MATH_PNG => 'Always render PNG', 00081 MW_MATH_SIMPLE => 'HTML if very simple or else PNG', 00082 MW_MATH_HTML => 'HTML if possible or else PNG', 00083 MW_MATH_SOURCE => 'Leave it as TeX (for text browsers)', 00084 MW_MATH_MODERN => 'Recommended for modern browsers', 00085 MW_MATH_MATHML => 'MathML if possible (experimental)', 00086 ); 00087 00088 /* private */ $wgDateFormatsEn = array( 00089 'No preference', 00090 'January 15, 2001', 00091 '15 January 2001', 00092 '2001 January 15', 00093 '2001-01-15' 00094 ); 00095 00096 /* private */ $wgUserTogglesEn = array( 00097 'hover' => 'Show hoverbox over wiki links', 00098 'underline' => 'Underline links', 00099 'highlightbroken' => 'Format broken links <a href="" class="new">like 00100 this</a> (alternative: like this<a href="" class="internal">?</a>).', 00101 'justify' => 'Justify paragraphs', 00102 'hideminor' => 'Hide minor edits in recent changes', 00103 'usenewrc' => 'Enhanced recent changes (not for all browsers)', 00104 'numberheadings' => 'Auto-number headings', 00105 'showtoolbar'=>'Show edit toolbar', 00106 'editondblclick' => 'Edit pages on double click (JavaScript)', 00107 'editsection'=>'Enable section editing via [edit] links', 00108 'editsectiononrightclick'=>'Enable section editing by right clicking<br /> on section titles (JavaScript)', 00109 'showtoc'=>'Show table of contents<br />(for pages with more than 3 headings)', 00110 'rememberpassword' => 'Remember password across sessions', 00111 'editwidth' => 'Edit box has full width', 00112 'watchdefault' => 'Add pages you edit to your watchlist', 00113 'minordefault' => 'Mark all edits minor by default', 00114 'previewontop' => 'Show preview before edit box and not after it', 00115 'nocache' => 'Disable page caching' 00116 ); 00117 00118 /* private */ $wgBookstoreListEn = array( 00119 "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN", 00120 "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1", 00121 "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1", 00122 "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1" 00123 ); 00124 00125 # Read language names 00126 global $wgLanguageNames; 00127 require_once( "Names.php" ); 00128 00129 $wgLanguageNamesEn =& $wgLanguageNames; 00130 00131 00132 /* private */ $wgWeekdayNamesEn = array( 00133 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 00134 'Friday', 'Saturday' 00135 ); 00136 00137 /* private */ $wgMonthNamesEn = array( 00138 'January', 'February', 'March', 'April', 'May', 'June', 00139 'July', 'August', 'September', 'October', 'November', 00140 'December' 00141 ); 00142 00143 /* private */ $wgMonthAbbreviationsEn = array( 00144 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 00145 'Sep', 'Oct', 'Nov', 'Dec' 00146 ); 00147 00148 # Note to translators: 00149 # Please include the English words as synonyms. This allows people 00150 # from other wikis to contribute more easily. 00151 # 00152 /* private */ $wgMagicWordsEn = array( 00153 # ID CASE SYNONYMS 00154 MAG_REDIRECT => array( 0, '#redirect' ), 00155 MAG_NOTOC => array( 0, '__NOTOC__' ), 00156 MAG_FORCETOC => array( 0, '__FORCETOC__' ), 00157 MAG_NOEDITSECTION => array( 0, '__NOEDITSECTION__' ), 00158 MAG_START => array( 0, '__START__' ), 00159 MAG_CURRENTMONTH => array( 1, 'CURRENTMONTH' ), 00160 MAG_CURRENTMONTHNAME => array( 1, 'CURRENTMONTHNAME' ), 00161 MAG_CURRENTDAY => array( 1, 'CURRENTDAY' ), 00162 MAG_CURRENTDAYNAME => array( 1, 'CURRENTDAYNAME' ), 00163 MAG_CURRENTYEAR => array( 1, 'CURRENTYEAR' ), 00164 MAG_CURRENTTIME => array( 1, 'CURRENTTIME' ), 00165 MAG_NUMBEROFARTICLES => array( 1, 'NUMBEROFARTICLES' ), 00166 MAG_CURRENTMONTHNAMEGEN => array( 1, 'CURRENTMONTHNAMEGEN' ), 00167 MAG_PAGENAME => array( 1, 'PAGENAME' ), 00168 MAG_NAMESPACE => array( 1, 'NAMESPACE' ), 00169 MAG_MSG => array( 0, 'MSG:' ), 00170 MAG_SUBST => array( 0, 'SUBST:' ), 00171 MAG_MSGNW => array( 0, 'MSGNW:' ), 00172 MAG_END => array( 0, '__END__' ), 00173 MAG_IMG_THUMBNAIL => array( 1, 'thumbnail', 'thumb' ), 00174 MAG_IMG_RIGHT => array( 1, 'right' ), 00175 MAG_IMG_LEFT => array( 1, 'left' ), 00176 MAG_IMG_NONE => array( 1, 'none' ), 00177 MAG_IMG_WIDTH => array( 1, '$1px' ), 00178 MAG_IMG_CENTER => array( 1, 'center', 'centre' ), 00179 MAG_IMG_FRAMED => array( 1, 'framed', 'enframed', 'frame' ), 00180 MAG_INT => array( 0, 'INT:' ), 00181 MAG_SITENAME => array( 1, 'SITENAME' ), 00182 MAG_NS => array( 0, 'NS:' ), 00183 MAG_LOCALURL => array( 0, 'LOCALURL:' ), 00184 MAG_LOCALURLE => array( 0, 'LOCALURLE:' ), 00185 MAG_SERVER => array( 0, 'SERVER' ) 00186 ); 00187 00188 #------------------------------------------------------------------- 00189 # Default messages 00190 #------------------------------------------------------------------- 00191 # Allowed characters in keys are: A-Z, a-z, 0-9, underscore (_) and 00192 # hyphen (-). If you need more characters, you may be able to change 00193 # the regex in MagicWord::initRegex 00194 00195 # NOTE: To turn off "Current Events" in the sidebar, 00196 # set "currentevents" => "" 00197 00198 # NOTE: To turn off "Disclaimers" in the title links, 00199 # set "disclaimers" => "" 00200 00201 # NOTE: To turn off "Community portal" in the title links, 00202 # set "portal" => "" 00203 00204 00205 /* private */ $wgAllMessagesEn = array( 00206 00207 # Bits of text used by many pages: 00208 # 00209 'categories' => 'Categories', 00210 'category' => 'category', 00211 'category_header' => 'Articles in category "$1"', 00212 'subcategories' => 'Subcategories', 00213 00214 00215 'linktrail' => '/^([a-z]+)(.*)\$/sD', 00216 'mainpage' => 'Main Page', 00217 'mainpagetext' => 'Wiki software successfully installed.', 00218 "mainpagedocfooter" => "Please see [http://meta.wikipedia.org/wiki/MediaWiki_i18n documentation on customizing the interface] 00219 and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] for usage and configuration help.", 00220 'portal' => 'Community portal', 00221 'portal-url' => '{{ns:4}}:Community Portal', 00222 'about' => 'About', 00223 "aboutwikipedia" => "About {{SITENAME}}", 00224 "aboutpage" => "{{ns:4}}:About", 00225 'article' => 'Content page', 00226 'help' => 'Help', 00227 "helppage" => "{{ns:12}}:Contents", 00228 "wikititlesuffix" => "{{SITENAME}}", 00229 "bugreports" => "Bug reports", 00230 "bugreportspage" => "{{ns:4}}:Bug_reports", 00231 'sitesupport' => 'Donations', # Set a URL in $wgSiteSupportPage in LocalSettings.php 00232 'faq' => 'FAQ', 00233 "faqpage" => "{{ns:4}}:FAQ", 00234 "edithelp" => "Editing help", 00235 "newwindow" => "(opens in new window)", 00236 "edithelppage" => "{{ns:12}}:Editing", 00237 'cancel' => 'Cancel', 00238 'qbfind' => 'Find', 00239 'qbbrowse' => 'Browse', 00240 'qbedit' => 'Edit', 00241 'qbpageoptions' => 'This page', 00242 'qbpageinfo' => 'Context', 00243 'qbmyoptions' => 'My pages', 00244 'qbspecialpages' => 'Special pages', 00245 'moredotdotdot' => 'More...', 00246 'mypage' => 'My page', 00247 'mytalk' => 'My talk', 00248 'anontalk' => 'Talk for this IP', 00249 'navigation' => 'Navigation', 00250 'currentevents' => 'Current events', 00251 'disclaimers' => 'Disclaimers', 00252 "disclaimerpage" => "{{ns:4}}:General_disclaimer", 00253 "errorpagetitle" => "Error", 00254 "returnto" => "Return to $1.", 00255 "fromwikipedia" => "From {{SITENAME}}", 00256 'whatlinkshere' => 'Pages that link here', 00257 'help' => 'Help', 00258 'search' => 'Search', 00259 'go' => 'Go', 00260 "history" => 'Page history', 00261 'history_short' => 'History', 00262 'printableversion' => 'Printable version', 00263 'edit' => 'Edit', 00264 'editthispage' => 'Edit this page', 00265 'delete' => 'Delete', 00266 "deletethispage" => "Delete this page", 00267 "undelete_short" => "Undelete $1 edits", 00268 'protect' => 'Protect', 00269 'protectthispage' => 'Protect this page', 00270 'unprotect' => 'Unprotect', 00271 'unprotectthispage' => 'Unprotect this page', 00272 'newpage' => 'New page', 00273 'talkpage' => 'Discuss this page', 00274 'specialpage' => 'Special Page', 00275 'personaltools' => 'Personal tools', 00276 'postcomment' => 'Post a comment', 00277 'addsection' => '+', 00278 'articlepage' => 'View content page', 00279 'subjectpage' => 'View subject', # For compatibility 00280 'talk' => 'Discussion', 00281 'toolbox' => 'Toolbox', 00282 'userpage' => 'View user page', 00283 'wikipediapage' => 'View project page', 00284 'imagepage' => 'View image page', 00285 'viewtalkpage' => 'View discussion', 00286 'otherlanguages' => 'Other languages', 00287 'redirectedfrom' => "(Redirected from $1)", 00288 'lastmodified' => "This page was last modified $1.", 00289 'viewcount' => "This page has been accessed $1 times.", 00290 'copyright' => "Content is available under $1.", 00291 'poweredby' => "{{SITENAME}} is powered by [http://www.mediawiki.org/ MediaWiki], an open source wiki engine.", 00292 'printsubtitle' => "(From {{SERVER}})", 00293 'protectedpage' => 'Protected page', 00294 'administrators' => "{{ns:4}}:Administrators", 00295 'sysoptitle' => 'Sysop access required', 00296 'sysoptext' => "The action you have requested can only be 00297 performed by users with \"sysop\" status. 00298 See $1.", 00299 'developertitle' => 'Developer access required', 00300 "developertext" => "The action you have requested can only be 00301 performed by users with \"developer\" status. 00302 See $1.", 00303 'bureaucrattitle' => 'Bureaucrat access required', 00304 "bureaucrattext" => "The action you have requested can only be 00305 performed by sysops with \"bureaucrat\" status.", 00306 'nbytes' => "$1 bytes", 00307 'go' => 'Go', 00308 'ok' => 'OK', 00309 'sitetitle' => "{{SITENAME}}", 00310 'pagetitle' => "$1 - {{SITENAME}}", 00311 'sitesubtitle' => 'The Free Encyclopedia', # FIXME 00312 'retrievedfrom' => "Retrieved from \"$1\"", 00313 'newmessages' => "You have $1.", 00314 'newmessageslink' => 'new messages', 00315 'editsection'=>'edit', 00316 'toc' => 'Table of contents', 00317 'showtoc' => 'show', 00318 'hidetoc' => 'hide', 00319 'thisisdeleted' => "View or restore $1?", 00320 'restorelink' => "$1 deleted edits", 00321 'feedlinks' => 'Feed:', 00322 00323 # Short words for each namespace, by default used in the 'article' tab in monobook 00324 'nstab-main' => 'Article', 00325 'nstab-user' => 'User page', 00326 'nstab-media' => 'Media', 00327 'nstab-special' => 'Special', 00328 'nstab-wp' => 'About', 00329 'nstab-image' => 'Image', 00330 'nstab-mediawiki' => 'Message', 00331 'nstab-template' => 'Template', 00332 'nstab-help' => 'Help', 00333 'nstab-category' => 'Category', 00334 00335 # Main script and global functions 00336 # 00337 'nosuchaction' => 'No such action', 00338 'nosuchactiontext' => 'The action specified by the URL is not 00339 recognized by the wiki', 00340 'nosuchspecialpage' => 'No such special page', 00341 'nospecialpagetext' => 'You have requested a special page that is not 00342 recognized by the wiki.', 00343 00344 # General errors 00345 # 00346 'error' => 'Error', 00347 'databaseerror' => 'Database error', 00348 'dberrortext' => "A database query syntax error has occurred. 00349 This could be because of an illegal search query (see $5), 00350 or it may indicate a bug in the software. 00351 The last attempted database query was: 00352 <blockquote><tt>$1</tt></blockquote> 00353 from within function \"<tt>$2</tt>\". 00354 MySQL returned error \"<tt>$3: $4</tt>\".", 00355 'dberrortextcl' => "A database query syntax error has occurred. 00356 The last attempted database query was: 00357 \"$1\" 00358 from within function \"$2\". 00359 MySQL returned error \"$3: $4\".\n", 00360 'noconnect' => 'Sorry! The wiki is experiencing some technical difficulties, and cannot contact the database server. <br /> 00361 $1', 00362 'nodb' => "Could not select database $1", 00363 'cachederror' => 'The following is a cached copy of the requested page, and may not be up to date.', 00364 'readonly' => 'Database locked', 00365 'enterlockreason' => 'Enter a reason for the lock, including an estimate 00366 of when the lock will be released', 00367 'readonlytext' => "The database is currently locked to new 00368 entries and other modifications, probably for routine database maintenance, 00369 after which it will be back to normal. 00370 The administrator who locked it offered this explanation: 00371 <p>$1", 00372 'missingarticle' => "The database did not find the text of a page 00373 that it should have found, named \"$1\". 00374 00375 <p>This is usually caused by following an outdated diff or history link to a 00376 page that has been deleted. 00377 00378 <p>If this is not the case, you may have found a bug in the software. 00379 Please report this to an administrator, making note of the URL.", 00380 'internalerror' => 'Internal error', 00381 'filecopyerror' => "Could not copy file \"$1\" to \"$2\".", 00382 'filerenameerror' => "Could not rename file \"$1\" to \"$2\".", 00383 'filedeleteerror' => "Could not delete file \"$1\".", 00384 'filenotfound' => "Could not find file \"$1\".", 00385 'unexpected' => "Unexpected value: \"$1\"=\"$2\".", 00386 'formerror' => 'Error: could not submit form', 00387 'badarticleerror' => 'This action cannot be performed on this page.', 00388 'cannotdelete' => 'Could not delete the page or image specified. (It may have already been deleted by someone else.)', 00389 'badtitle' => 'Bad title', 00390 'badtitletext' => "The requested page title was invalid, empty, or 00391 an incorrectly linked inter-language or inter-wiki title.", 00392 'perfdisabled' => 'Sorry! This feature has been temporarily disabled 00393 because it slows the database down to the point that no one can use 00394 the wiki.', 00395 'perfdisabledsub' => "Here's a saved copy from $1:", # obsolete? 00396 'perfcached' => 'The following data is cached and may not be completely up to date:', 00397 'wrong_wfQuery_params' => "Incorrect parameters to wfQuery()<br /> 00398 Function: $1<br /> 00399 Query: $2 00400 ", 00401 'viewsource' => 'View source', 00402 'protectedtext' => "This page has been locked to prevent editing; there are 00403 a number of reasons why this may be so, please see 00404 [[{{ns:4}}:Protected page]]. 00405 00406 You can view and copy the source of this page:", 00407 'seriousxhtmlerrors' => 'There were serious xhtml markup errors detected by tidy.', 00408 00409 # Login and logout pages 00410 # 00411 "logouttitle" => 'User logout', 00412 "logouttext" => "You are now logged out. 00413 You can continue to use {{SITENAME}} anonymously, or you can log in 00414 again as the same or as a different user. Note that some pages may 00415 continue to be displayed as if you were still logged in, until you clear 00416 your browser cache\n", 00417 00418 'welcomecreation' => "<h2>Welcome, $1!</h2><p>Your account has been created. 00419 Don't forget to change your {{SITENAME}} preferences.", 00420 00421 'loginpagetitle' => 'User login', 00422 'yourname' => 'Your user name', 00423 'yourpassword' => 'Your password', 00424 'yourpasswordagain' => 'Retype password', 00425 'newusersonly' => ' (new users only)', 00426 'remembermypassword' => 'Remember my password across sessions.', 00427 'loginproblem' => '<b>There has been a problem with your login.</b><br />Try again!', 00428 'alreadyloggedin' => "<font color=red><b>User $1, you are already logged in!</b></font><br />\n", 00429 00430 'login' => 'Log in', 00431 'loginprompt' => "You must have cookies enabled to log in to {{SITENAME}}.", 00432 'userlogin' => 'Log in', 00433 'logout' => 'Log out', 00434 'userlogout' => 'Log out', 00435 'notloggedin' => 'Not logged in', 00436 'createaccount' => 'Create new account', 00437 'createaccountmail' => 'by email', 00438 'badretype' => 'The passwords you entered do not match.', 00439 'userexists' => 'The user name you entered is already in use. Please choose a different name.', 00440 'youremail' => 'Your email*', 00441 'yourrealname' => 'Your real name*', 00442 'yournick' => 'Your nickname (for signatures)', 00443 '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 00444 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.", 00445 '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/> 00446 * <strong>Email</strong> (optional): Enables people to contact you through the website without you having to reveal your 00447 email address to them, and it can be used to send you a new password if you forget it.', 00448 'loginerror' => 'Login error', 00449 '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.", 00450 "nocookieslogin" => "{{SITENAME}} uses cookies to log in users. You have cookies disabled. Please enable them and try again.", 00451 'noname' => 'You have not specified a valid user name.', 00452 'loginsuccesstitle' => 'Login successful', 00453 'loginsuccess' => "You are now logged in to {{SITENAME}} as \"$1\".", 00454 'nosuchuser' => "There is no user by the name \"$1\". 00455 Check your spelling, or use the form below to create a new user account.", 00456 'wrongpassword' => 'The password you entered is incorrect. Please try again.', 00457 'mailmypassword' => 'Mail me a new password', 00458 'passwordremindertitle' => "Password reminder from {{SITENAME}}", 00459 'passwordremindertext' => "Someone (probably you, from IP address $1) 00460 requested that we send you a new {{SITENAME}} login password. 00461 The password for user \"$2\" is now \"$3\". 00462 You should log in and change your password now.", 00463 'noemail' => "There is no e-mail address recorded for user \"$1\".", 00464 'passwordsent' => "A new password has been sent to the e-mail address 00465 registered for \"$1\". 00466 Please log in again after you receive it.", 00467 'loginend' => '&nbsp;', 00468 'mailerror' => "Error sending mail: $1", 00469 00470 # Edit page toolbar 00471 'bold_sample'=>'Bold text', 00472 'bold_tip'=>'Bold text', 00473 'italic_sample'=>'Italic text', 00474 'italic_tip'=>'Italic text', 00475 'link_sample'=>'Link title', 00476 'link_tip'=>'Internal link', 00477 'extlink_sample'=>'http://www.example.com link title', 00478 'extlink_tip'=>'External link (remember http:// prefix)', 00479 'headline_sample'=>'Headline text', 00480 'headline_tip'=>'Level 2 headline', 00481 'math_sample'=>'Insert formula here', 00482 'math_tip'=>'Mathematical formula (LaTeX)', 00483 'nowiki_sample'=>'Insert non-formatted text here', 00484 'nowiki_tip'=>'Ignore wiki formatting', 00485 'image_sample'=>'Example.jpg', 00486 'image_tip'=>'Embedded image', 00487 'media_sample'=>'Example.mp3', 00488 'media_tip'=>'Media file link', 00489 'sig_tip'=>'Your signature with timestamp', 00490 'hr_tip'=>'Horizontal line (use sparingly)', 00491 'infobox'=>'Click a button to get an example text', 00492 # alert box shown in browsers where text selection does not work, test e.g. with mozilla or konqueror 00493 '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", 00494 00495 # Edit pages 00496 # 00497 'summary' => 'Summary', 00498 'subject' => 'Subject/headline', 00499 'minoredit' => 'This is a minor edit', 00500 'watchthis' => 'Watch this page', 00501 'savearticle' => 'Save page', 00502 'preview' => 'Preview', 00503 'showpreview' => 'Show preview', 00504 'blockedtitle' => 'User is blocked', 00505 'blockedtext' => "Your user name or IP address has been blocked by $1. 00506 The reason given is this:<br />''$2''<p>You may contact $1 or one of the other 00507 [[{{ns:4}}:Administrators|administrators]] to discuss the block. 00508 00509 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]]. 00510 00511 Your IP address is $3. Please include this address in any queries you make. 00512 ", 00513 'whitelistedittitle' => 'Login required to edit', 00514 'whitelistedittext' => 'You have to [[Special:Userlogin|login]] to edit pages.', 00515 'whitelistreadtitle' => 'Login required to read', 00516 'whitelistreadtext' => 'You have to [[Special:Userlogin|login]] to read pages.', 00517 'whitelistacctitle' => 'You are not allowed to create an account', 00518 'whitelistacctext' => 'To be allowed to create accounts in this Wiki you have to [[Special:Userlogin|log]] in and have the appropriate permissions.', 00519 'loginreqtitle' => 'Login Required', 00520 'loginreqtext' => 'You must [[special:Userlogin|login]] to view other pages.', 00521 'accmailtitle' => 'Password sent.', 00522 'accmailtext' => "The Password for '$1' has been sent to $2.", 00523 'newarticle' => '(New)', 00524 'newarticletext' => 00525 "You've followed a link to a page that doesn't exist yet. 00526 To create the page, start typing in the box below 00527 (see the [[{{ns:4}}:Help|help page]] for more info). 00528 If you are here by mistake, just click your browser's '''back''' button.", 00529 'talkpagetext' => '<!-- MediaWiki:talkpagetext -->', 00530 '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.'' ", 00531 'noarticletext' => '(There is currently no text in this page)', 00532 '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''.", 00533 'usercssjsyoucanpreview' => "<strong>Tip:</strong> Use the 'Show preview' button to test your new css/js before saving.", 00534 'usercsspreview' => "'''Remember that you are only previewing your user css, it has not yet been saved!'''", 00535 'userjspreview' => "'''Remember that you are only testing/previewing your user javascript, it has not yet been saved!'''", 00536 'updated' => '(Updated)', 00537 'note' => '<strong>Note:</strong> ', 00538 'previewnote' => 'Remember that this is only a preview, and has not yet been saved!', 00539 'previewconflict' => 'This preview reflects the text in the upper 00540 text editing area as it will appear if you choose to save.', 00541 'editing' => "Editing $1", 00542 "sectionedit" => " (section)", 00543 'commentedit' => ' (comment)', 00544 'editconflict' => 'Edit conflict: $1', 00545 'explainconflict' => "Someone else has changed this page since you 00546 started editing it. 00547 The upper text area contains the page text as it currently exists. 00548 Your changes are shown in the lower text area. 00549 You will have to merge your changes into the existing text. 00550 <b>Only</b> the text in the upper text area will be saved when you 00551 press \"Save page\".\n<p>", 00552 'yourtext' => 'Your text', 00553 'storedversion' => 'Stored version', 00554 'editingold' => '<strong>WARNING: You are editing an out-of-date 00555 revision of this page. 00556 If you save it, any changes made since this revision will be lost.</strong>\n', 00557 'yourdiff' => 'Differences', 00558 # FIXME: This is inappropriate for third-party use! 00559 'copyrightwarning' => "Please note that all contributions to {{SITENAME}} are 00560 considered to be released under the GNU Free Documentation License 00561 (see $1 for details). 00562 If you don't want your writing to be edited mercilessly and redistributed 00563 at will, then don't submit it here.<br /> 00564 You are also promising us that you wrote this yourself, or copied it from a 00565 public domain or similar free resource. 00566 <strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>", 00567 'longpagewarning' => "WARNING: This page is $1 kilobytes long; some 00568 browsers may have problems editing pages approaching or longer than 32kb. 00569 Please consider breaking the page into smaller sections.", 00570 'readonlywarning' => 'WARNING: The database has been locked for maintenance, 00571 so you will not be able to save your edits right now. You may wish to cut-n-paste 00572 the text into a text file and save it for later.', 00573 'protectedpagewarning' => "WARNING: This page has been locked so that only 00574 users with sysop privileges can edit it. Be sure you are following the 00575 <a href='$wgScript/{{ns:4}}:Protected_page_guidelines'>protected page 00576 guidelines</a>.", 00577 00578 # History pages 00579 # 00580 'revhistory' => 'Revision history', 00581 'nohistory' => 'There is no edit history for this page.', 00582 'revnotfound' => 'Revision not found', 00583 'revnotfoundtext' => "The old revision of the page you asked for could not be found. 00584 Please check the URL you used to access this page.\n", 00585 'loadhist' => 'Loading page history', 00586 'currentrev' => 'Current revision', 00587 'revisionasof' => "Revision as of $1", 00588 'cur' => 'cur', 00589 'next' => 'next', 00590 'last' => 'last', 00591 'orig' => 'orig', 00592 'histlegend' => 'Diff selection: mark the radio boxes of the versions to compare and hit enter or the button at the bottom.<br/> 00593 Legend: (cur) = difference with current version, 00594 (last) = difference with preceding version, M = minor edit.', 00595 00596 # Diffs 00597 # 00598 'difference' => '(Difference between revisions)', 00599 'loadingrev' => 'loading revision for diff', 00600 'lineno' => "Line $1:", 00601 'editcurrent' => 'Edit the current version of this page', 00602 'selectnewerversionfordiff' => 'Select a newer version for comparison', 00603 'selectolderversionfordiff' => 'Select an older version for comparison', 00604 'compareselectedversions' => 'Compare selected versions', 00605 00606 # Search results 00607 # 00608 'searchresults' => 'Search results', 00609 'searchhelppage' => "{{ns:4}}:Searching", 00610 'searchingwikipedia' => "Searching {{SITENAME}}", 00611 'searchresulttext' => "For more information about searching {{SITENAME}}, see $1.", 00612 'searchquery' => "For query \"$1\"", 00613 'badquery' => 'Badly formed search query', 00614 'badquerytext' => 'We could not process your query. 00615 This is probably because you have attempted to search for a 00616 word fewer than three letters long, which is not yet supported. 00617 It could also be that you have mistyped the expression, for 00618 example "fish and and scales". 00619 Please try another query.', 00620 'matchtotals' => "The query \"$1\" matched $2 page titles 00621 and the text of $3 pages.", 00622 'nogomatch' => 'No page with this exact title exists, trying full text search.', 00623 'titlematches' => 'Article title matches', 00624 'notitlematches' => 'No page title matches', 00625 'textmatches' => 'Page text matches', 00626 'notextmatches' => 'No page text matches', 00627 'prevn' => "previous $1", 00628 'nextn' => "next $1", 00629 'viewprevnext' => "View ($1) ($2) ($3).", 00630 'showingresults' => "Showing below <b>$1</b> results starting with #<b>$2</b>.", 00631 'showingresultsnum' => "Showing below <b>$3</b> results starting with #<b>$2</b>.", 00632 'nonefound' => "<strong>Note</strong>: unsuccessful searches are 00633 often caused by searching for common words like \"have\" and \"from\", 00634 which are not indexed, or by specifying more than one search term (only pages 00635 containing all of the search terms will appear in the result).", 00636 'powersearch' => 'Search', 00637 'powersearchtext' => " 00638 Search in namespaces :<br /> 00639 $1<br /> 00640 $2 List redirects &nbsp; Search for $3 $9", 00641 "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>", 00642 'googlesearch' => " 00643 <!-- SiteSearch Google --> 00644 <FORM method=GET action=\"http://www.google.com/search\"> 00645 <TABLE bgcolor=\"#FFFFFF\"><tr><td> 00646 <A HREF=\"http://www.google.com/\"> 00647 <IMG SRC=\"http://www.google.com/logos/Logo_40wht.gif\" 00648 border=\"0\" ALT=\"Google\"></A> 00649 </td> 00650 <td> 00651 <INPUT TYPE=text name=q size=31 maxlength=255 value=\"$1\"> 00652 <INPUT type=submit name=btnG VALUE=\"Google Search\"> 00653 <font size=-1> 00654 <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 /> 00655 <input type='hidden' name='ie' value='$2'> 00656 <input type='hidden' name='oe' value='$2'> 00657 </font> 00658 </td></tr></TABLE> 00659 </FORM> 00660 <!-- SiteSearch Google -->", 00661 'blanknamespace' => '(Main)', 00662 00663 # Preferences page 00664 # 00665 'preferences' => 'Preferences', 00666 'prefsnologin' => 'Not logged in', 00667 'prefsnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a> 00668 to set user preferences.", 00669 'prefslogintext' => "You are logged in as \"$1\". 00670 Your internal ID number is $2. 00671 00672 See [[{{ns:4}}:User preferences help]] for help deciphering the options.", 00673 'prefsreset' => 'Preferences have been reset from storage.', 00674 'qbsettings' => 'Quickbar settings', 00675 'qbsettingsnote' => 'This preference only works in the \'Standard\' and the \'CologneBlue\' skin.', 00676 'changepassword' => 'Change password', 00677 'skin' => 'Skin', 00678 'math' => 'Rendering math', 00679 'dateformat' => 'Date format', 00680 'math_failure' => 'Failed to parse', 00681 'math_unknown_error' => 'unknown error', 00682 'math_unknown_function' => 'unknown function ', 00683 'math_lexing_error' => 'lexing error', 00684 'math_syntax_error' => 'syntax error', 00685 'math_image_error' => 'PNG conversion failed; check for correct installation of latex, dvips, gs, and convert', 00686 'math_bad_tmpdir' => 'Can\'t write to or create math temp directory', 00687 'math_bad_output' => 'Can\'t write to or create math output directory', 00688 'math_notexvc' => 'Missing texvc executable; please see math/README to configure.', 00689 'prefs-personal' => 'User data', 00690 'prefs-rc' => 'Recent changes and stub display', 00691 'prefs-misc' => 'Misc settings', 00692 'saveprefs' => 'Save preferences', 00693 'resetprefs' => 'Reset preferences', 00694 'oldpassword' => 'Old password', 00695 'newpassword' => 'New password', 00696 'retypenew' => 'Retype new password', 00697 'textboxsize' => 'Textbox dimensions', 00698 'rows' => 'Rows', 00699 'columns' => 'Columns', 00700 'searchresultshead' => 'Search result settings', 00701 'resultsperpage' => 'Hits to show per page', 00702 'contextlines' => 'Lines to show per hit', 00703 'contextchars' => 'Characters of context per line', 00704 'stubthreshold' => 'Threshold for stub display', 00705 'recentchangescount' => 'Number of titles in recent changes', 00706 'savedprefs' => 'Your preferences have been saved.', 00707 'timezonelegend' => 'Time zone', 00708 'timezonetext' => 'Enter number of hours your local time differs 00709 from server time (UTC).', 00710 'localtime' => 'Local time display', 00711 'timezoneoffset' => 'Offset', 00712 'servertime' => 'Server time is now', 00713 'guesstimezone' => 'Fill in from browser', 00714 'emailflag' => 'Disable e-mail from other users', 00715 'defaultns' => 'Search in these namespaces by default:', 00716 00717 # Recent changes 00718 # 00719 'changes' => 'changes', 00720 'recentchanges' => 'Recent changes', 00721 'recentchangestext' => 'Track the most recent changes to the wiki on this page.', 00722 'rcloaderr' => 'Loading recent changes', 00723 'rcnote' => "Below are the last <strong>$1</strong> changes in last <strong>$2</strong> days.", 00724 'rcnotefrom' => "Below are the changes since <b>$2</b> (up to <b>$1</b> shown).", 00725 'rclistfrom' => "Show new changes starting from $1", 00726 # "rclinks" => "Show last $1 changes in last $2 hours / last $3 days", 00727 # "rclinks" => "Show last $1 changes in last $2 days.", 00728 'showhideminor' => "$1 minor edits | $2 bots | $3 logged in users ", 00729 'rclinks' => "Show last $1 changes in last $2 days<br />$3", 00730 'rchide' => "in $4 form; $1 minor edits; $2 secondary namespaces; $3 multiple edits.", 00731 'rcliu' => "; $1 edits from logged in users", 00732 'diff' => 'diff', 00733 'hist' => 'hist', 00734 'hide' => 'hide', 00735 'show' => 'show', 00736 'tableform' => 'table', 00737 'listform' => 'list', 00738 'nchanges' => "$1 changes", 00739 'minoreditletter' => 'M', 00740 'newpageletter' => 'N', 00741 00742 # Upload 00743 # 00744 'upload' => 'Upload file', 00745 'uploadbtn' => 'Upload file', 00746 'uploadlink' => 'Upload images', 00747 'reupload' => 'Re-upload', 00748 'reuploaddesc' => 'Return to the upload form.', 00749 'uploadnologin' => 'Not logged in', 00750 'uploadnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a> 00751 to upload files.", 00752 'uploadfile' => 'Upload images, sounds, documents etc.', 00753 'uploaderror' => 'Upload error', 00754 'uploadtext' => "<strong>STOP!</strong> Before you upload here, 00755 make sure to read and follow the <a href=\"{{localurle:Special:Image_use_policy}}\">image use policy</a>. 00756 <p>If a file with the name you are specifying already 00757 exists on the wiki, it'll be replaced without warning. 00758 So unless you mean to update a file, it's a good idea 00759 to first check if such a file exists. 00760 <p>To view or search previously uploaded images, 00761 go to the <a href=\"{{localurle:Special:Imagelist}}\">list of uploaded images</a>. 00762 Uploads and deletions are logged on the " . 00763 "<a href=\"{{localurle:Project:Upload_log}}\">upload log</a>. 00764 </p><p>Use the form below to upload new image files for use in 00765 illustrating your pages. 00766 On most browsers, you will see a \"Browse...\" button, which will 00767 bring up your operating system's standard file open dialog. 00768 Choosing a file will fill the name of that file into the text 00769 field next to the button. 00770 You must also check the box affirming that you are not 00771 violating any copyrights by uploading the file. 00772 Press the \"Upload\" button to finish the upload. 00773 This may take some time if you have a slow internet connection. 00774 <p>The preferred formats are JPEG for photographic images, PNG 00775 for drawings and other iconic images, and OGG for sounds. 00776 Please name your files descriptively to avoid confusion. 00777 To include the image in a page, use a link in the form 00778 <b>[[{{ns:6}}:file.jpg]]</b> or <b>[[{{ns:6}}:file.png|alt text]]</b> 00779 or <b>[[{{ns:-2}}:file.ogg]]</b> for sounds. 00780 <p>Please note that as with wiki pages, others may edit or 00781 delete your uploads if they think it serves the project, and 00782 you may be blocked from uploading if you abuse the system.", 00783 00784 'uploadlog' => 'upload log', 00785 'uploadlogpage' => 'Upload_log', 00786 'uploadlogpagetext' => 'Below is a list of the most recent file uploads. 00787 All times shown are server time (UTC). 00788 <ul> 00789 </ul> 00790 ', 00791 'filename' => 'Filename', 00792 'filedesc' => 'Summary', 00793 'filestatus' => 'Copyright status', 00794 'filesource' => 'Source', 00795 'affirmation' => "I affirm that the copyright holder of this file 00796 agrees to license it under the terms of the $1.", 00797 'copyrightpage' => "{{ns:4}}:Copyrights", 00798 'copyrightpagename' => "{{SITENAME}} copyright", 00799 'uploadedfiles' => 'Uploaded files', 00800 'noaffirmation' => 'You must affirm that your upload does not violate any copyrights.', 00801 'ignorewarning' => 'Ignore warning and save file anyway.', 00802 'minlength' => 'Image names must be at least three letters.', 00803 'badfilename' => "Image name has been changed to \"$1\".", 00804 'badfiletype' => "\".$1\" is not a recommended image file format.", 00805 'largefile' => 'It is recommended that images not exceed 100k in size.', 00806 'successfulupload' => 'Successful upload', 00807 'fileuploaded' => "File \"$1\" uploaded successfully. 00808 Please follow this link: $2 to the description page and fill 00809 in information about the file, such as where it came from, when it was 00810 created and by whom, and anything else you may know about it.", 00811 'uploadwarning' => 'Upload warning', 00812 'savefile' => 'Save file', 00813 'uploadedimage' => "uploaded \"$1\"", 00814 'uploaddisabled' => 'Sorry, uploading is disabled.', 00815 00816 # Image list 00817 # 00818 'imagelist' => 'Image list', 00819 'imagelisttext' => "Below is a list of $1 images sorted $2.", 00820 'getimagelist' => 'fetching image list', 00821 'ilshowmatch' => 'Show all images with names matching', 00822 'ilsubmit' => 'Search', 00823 'showlast' => "Show last $1 images sorted $2.", 00824 'all' => 'all', 00825 'byname' => 'by name', 00826 'bydate' => 'by date', 00827 'bysize' => 'by size', 00828 'imgdelete' => 'del', 00829 'imgdesc' => 'desc', 00830 'imglegend' => 'Legend: (desc) = show/edit image description.', 00831 'imghistory' => 'Image history', 00832 'revertimg' => 'rev', 00833 'deleteimg' => 'del', 00834 'imghistlegend' => 'Legend: (cur) = this is the current image, (del) = delete 00835 this old version, (rev) = revert to this old version. 00836 <br /><i>Click on date to see image uploaded on that date</i>.', 00837 'imagelinks' => 'Image links', 00838 'linkstoimage' => 'The following pages link to this image:', 00839 'nolinkstoimage' => 'There are no pages that link to this image.', 00840 00841 # Statistics 00842 # 00843 'statistics' => 'Statistics', 00844 'sitestats' => 'Site statistics', 00845 'userstats' => 'User statistics', 00846 'sitestatstext' => "There are '''$1''' total pages in the database. 00847 This includes \"talk\" pages, pages about {{SITENAME}}, minimal \"stub\" 00848 pages, redirects, and others that probably don't qualify as content pages. 00849 Excluding those, there are '''$2''' pages that are probably legitimate 00850 content pages. 00851 00852 There have been a total of '''$3''' page views, and '''$4''' page edits 00853 since the wiki was setup. 00854 That comes to '''$5''' average edits per page, and '''$6''' views per edit.", 00855 'userstatstext' => "There are '''$1''' registered users. 00856 '''$2''' of these are administrators (see $3).", 00857 00858 # Maintenance Page 00859 # 00860 'maintenance' => 'Maintenance page', 00861 '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 ;-)', 00862 'maintenancebacklink' => 'Back to Maintenance Page', 00863 'disambiguations' => 'Disambiguation pages', 00864 'disambiguationspage' => "{{ns:4}}:Links_to_disambiguating_pages", 00865 '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.", 00866 'doubleredirects' => 'Double Redirects', 00867 '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.", 00868 'brokenredirects' => 'Broken Redirects', 00869 'brokenredirectstext' => 'The following redirects link to a non-existing pages.', 00870 'selflinks' => 'Pages with Self Links', 00871 'selflinkstext' => 'The following pages contain a link to themselves, which they should not.', 00872 'mispeelings' => 'Pages with misspellings', 00873 'mispeelingstext' => "The following pages contain a common misspelling, which are listed on $1. The correct spelling might be given (like this).", 00874 'mispeelingspage' => 'List of common misspellings', 00875 'missinglanguagelinks' => 'Missing Language Links', 00876 'missinglanguagelinksbutton' => 'Find missing language links for', 00877 'missinglanguagelinkstext' => "These pages do <i>not</i> link to their counterpart in $1. Redirects and subpages are <i>not</i> shown.", 00878 00879 00880 # Miscellaneous special pages 00881 # 00882 'orphans' => 'Orphaned pages', 00883 'lonelypages' => 'Orphaned pages', 00884 'unusedimages' => 'Unused images', 00885 'popularpages' => 'Popular pages', 00886 'nviews' => '$1 views', 00887 'wantedpages' => 'Wanted pages', 00888 'nlinks' => '$1 links', 00889 'allpages' => 'All pages', 00890 'randompage' => 'Random page', 00891 'shortpages' => 'Short pages', 00892 'longpages' => 'Long pages', 00893 'deadendpages' => 'Dead-end pages', 00894 'listusers' => 'User list', 00895 'listadmins' => 'Admins list', 00896 'specialpages' => 'Special pages', 00897 'spheading' => 'Special pages for all users', 00898 'sysopspheading' => 'For sysop use only', 00899 'developerspheading' => 'For developer use only', 00900 'protectpage' => 'Protect page', 00901 'recentchangeslinked' => 'Related changes', 00902 'rclsub' => "(to pages linked from \"$1\")", 00903 'debug' => 'Debug', 00904 'newpages' => 'New pages', 00905 'ancientpages' => 'Oldest pages', 00906 'intl' => 'Interlanguage links', 00907 'move' => 'Move', 00908 'movethispage' => 'Move this page', 00909 'unusedimagestext' => '<p>Please note that other web sites may link to an image with 00910 a direct URL, and so may still be listed here despite being 00911 in active use.', 00912 'booksources' => 'Book sources', 00913 # FIXME: Other sites, of course, may have affiliate relations with the booksellers list 00914 'booksourcetext' => "Below is a list of links to other sites that 00915 sell new and used books, and may also have further information 00916 about books you are looking for. 00917 {{SITENAME}} is not affiliated with any of these businesses, and 00918 this list should not be construed as an endorsement.", 00919 'isbn' => 'ISBN', 00920 'rfcurl' => "http://www.faqs.org/rfcs/rfc$1.html", 00921 'alphaindexline' => "$1 to $2", 00922 'version' => 'Version', 00923 00924 # Email this user 00925 # 00926 'mailnologin' => 'No send address', 00927 'mailnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin\">logged in</a> 00928 and have a valid e-mail address in your <a href=\"{{localurl:Special:Preferences}}\">preferences</a> 00929 to send e-mail to other users.", 00930 'emailuser' => 'E-mail this user', 00931 'emailpage' => 'E-mail user', 00932 'emailpagetext' => 'If this user has entered a valid e-mail address in 00933 his or her user preferences, the form below will send a single message. 00934 The e-mail address you entered in your user preferences will appear 00935 as the "From" address of the mail, so the recipient will be able 00936 to reply.', 00937 'usermailererror' => 'Mail object returned error: ', 00938 'defemailsubject' => "{{SITENAME}} e-mail", 00939 'noemailtitle' => 'No e-mail address', 00940 'noemailtext' => 'This user has not specified a valid e-mail address, 00941 or has chosen not to receive e-mail from other users.', 00942 'emailfrom' => 'From', 00943 'emailto' => 'To', 00944 'emailsubject' => 'Subject', 00945 'emailmessage' => 'Message', 00946 'emailsend' => 'Send', 00947 'emailsent' => 'E-mail sent', 00948 'emailsenttext' => 'Your e-mail message has been sent.', 00949 00950 # Watchlist 00951 # 00952 'watchlist' => 'My watchlist', 00953 'watchlistsub' => "(for user \"$1\")", 00954 'nowatchlist' => 'You have no items on your watchlist.', 00955 'watchnologin' => 'Not logged in', 00956 'watchnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a> 00957 to modify your watchlist.", 00958 'addedwatch' => 'Added to watchlist', 00959 'addedwatchtext' => "The page \"$1\" has been added to your [[{{ns:-1}}:Watchlist|watchlist]]. 00960 Future changes to this page and its associated Talk page will be listed there, 00961 and the page will appear '''bolded''' in the [[Special:Recentchanges|list of recent changes]] to 00962 make it easier to pick out. 00963 00964 <p>If you want to remove the page from your watchlist later, click \"Stop watching\" in the sidebar.", 00965 'removedwatch' => 'Removed from watchlist', 00966 'removedwatchtext' => "The page \"$1\" has been removed from your watchlist.", 00967 'watch' => 'Watch', 00968 'watchthispage' => 'Watch this page', 00969 'unwatch' => 'Unwatch', 00970 'unwatchthispage' => 'Stop watching', 00971 'notanarticle' => 'Not a content page', 00972 'watchnochange' => 'None of your watched items were edited in the time period displayed.', 00973 'watchdetails' => "($1 pages watched not counting talk pages; 00974 $2 total pages edited since cutoff; 00975 $3... 00976 <a href='$4'>show and edit complete list</a>.)", 00977 'watchmethod-recent'=> 'checking recent edits for watched pages', 00978 'watchmethod-list' => 'checking watched pages for recent edits', 00979 'removechecked' => 'Remove checked items from watchlist', 00980 'watchlistcontains' => "Your watchlist contains $1 pages.", 00981 'watcheditlist' => 'Here\'s an alphabetical list of your 00982 watched pages. Check the boxes of pages you want to remove 00983 from your watchlist and click the \'remove checked\' button 00984 at the bottom of the screen.', 00985 'removingchecked' => 'Removing requested items from watchlist...', 00986 'couldntremove' => "Couldn't remove item '$1'...", 00987 'iteminvalidname' => "Problem with item '$1', invalid name...", 00988 'wlnote' => "Below are the last $1 changes in the last <b>$2</b> hours.", 00989 'wlshowlast' => "Show last $1 hours $2 days $3", 00990 'wlsaved' => 'This is a saved version of your watchlist.', 00991 00992 00993 # Delete/protect/revert 00994 # 00995 'deletepage' => 'Delete page', 00996 'confirm' => 'Confirm', 00997 'excontent' => 'content was:', 00998 'exbeforeblank' => 'content before blanking was:', 00999 'exblank' => 'page was empty', 01000 'confirmdelete' => 'Confirm delete', 01001 'deletesub' => "(Deleting \"$1\")", 01002 'historywarning' => 'Warning: The page you are about to delete has a history: ', 01003 'confirmdeletetext' => "You are about to permanently delete a page 01004 or image along with all of its history from the database. 01005 Please confirm that you intend to do this, that you understand the 01006 consequences, and that you are doing this in accordance with 01007 [[{{ns:4}}:Policy]].", 01008 'confirmcheck' => 'Yes, I really want to delete this.', 01009 'actioncomplete' => 'Action complete', 01010 'deletedtext' => "\"$1\" has been deleted. 01011 See $2 for a record of recent deletions.", 01012 'deletedarticle' => "deleted \"$1\"", 01013 'dellogpage' => 'Deletion_log', 01014 'dellogpagetext' => 'Below is a list of the most recent deletions. 01015 All times shown are server time (UTC). 01016 <ul> 01017 </ul> 01018 ', 01019 'deletionlog' => 'deletion log', 01020 'reverted' => 'Reverted to earlier revision', 01021 'deletecomment' => 'Reason for deletion', 01022 'imagereverted' => 'Revert to earlier version was successful.', 01023 'rollback' => 'Roll back edits', 01024 'rollback_short' => 'Rollback', 01025 'rollbacklink' => 'rollback', 01026 'rollbackfailed' => 'Rollback failed', 01027 'cantrollback' => 'Cannot revert edit; last contributor is only author of this page.', 01028 'alreadyrolled' => "Cannot rollback last edit of [[$1]] 01029 by [[User:$2|$2]] ([[User talk:$2|Talk]]); someone else has edited or rolled back the page already. 01030 01031 Last edit was by [[User:$3|$3]] ([[User talk:$3|Talk]]). ", 01032 # only shown if there is an edit comment 01033 'editcomment' => "The edit comment was: \"<i>$1</i>\".", 01034 'revertpage' => "Reverted edit of $2, changed back to last version by $1", 01035 'protectlogpage' => 'Protection_log', 01036 'protectlogtext' => "Below is a list of page locks/unlocks. 01037 See [[{{ns:4}}:Protected page]] for more information.", 01038 'protectedarticle' => "protected [[$1]]", 01039 'unprotectedarticle' => "unprotected [[$1]]", 01040 'protectsub' =>"(Protecting \"$1\")", 01041 'confirmprotecttext' => 'Do you really want to protect this page?', 01042 'confirmprotect' => 'Confirm protection', 01043 'protectcomment' => 'Reason for protecting', 01044 'unprotectsub' =>"(Unprotecting \"$1\")", 01045 'confirmunprotecttext' => 'Do you really want to unprotect this page?', 01046 'confirmunprotect' => 'Confirm unprotection', 01047 'unprotectcomment' => 'Reason for unprotecting', 01048 'protectreason' => '(give a reason)', 01049 01050 # Undelete 01051 'undelete' => 'Restore deleted page', 01052 'undeletepage' => 'View and restore deleted pages', 01053 'undeletepagetext' => 'The following pages have been deleted but are still in the archive and 01054 can be restored. The archive may be periodically cleaned out.', 01055 'undeletearticle' => 'Restore deleted page', 01056 'undeleterevisions' => "$1 revisions archived", 01057 'undeletehistory' => 'If you restore the page, all revisions will be restored to the history. 01058 If a new page with the same name has been created since the deletion, the restored 01059 revisions will appear in the prior history, and the current revision of the live page 01060 will not be automatically replaced.', 01061 'undeleterevision' => "Deleted revision as of $1", 01062 'undeletebtn' => 'Restore!', 01063 'undeletedarticle' => "restored \"$1\"", 01064 'undeletedtext' => "[[$1]] has been successfully restored. 01065 See [[{{ns:4}}:Deletion_log]] for a record of recent deletions and restorations.", 01066 01067 # Contributions 01068 # 01069 'contributions' => 'User contributions', 01070 'mycontris' => 'My contributions', 01071 'contribsub' => "For $1", 01072 'nocontribs' => 'No changes were found matching these criteria.', 01073 'ucnote' => "Below are this user's last <b>$1</b> changes in the last <b>$2</b> days.", 01074 'uclinks' => "View the last $1 changes; view the last $2 days.", 01075 'uctop' => ' (top)' , 01076 01077 # What links here 01078 # 01079 'whatlinkshere' => 'What links here', 01080 'notargettitle' => 'No target', 01081 'notargettext' => 'You have not specified a target page or user 01082 to perform this function on.', 01083 'linklistsub' => '(List of links)', 01084 'linkshere' => 'The following pages link to here:', 01085 'nolinkshere' => 'No pages link to here.', 01086 'isredirect' => 'redirect page', 01087 01088 # Block/unblock IP 01089 # 01090 'blockip' => 'Block user', 01091 'blockiptext' => "Use the form below to block write access 01092 from a specific IP address or username. 01093 This should be done only only to prevent vandalism, and in 01094 accordance with [[{{ns:4}}:Policy|policy]]. 01095 Fill in a specific reason below (for example, citing particular 01096 pages that were vandalized).", 01097 'ipaddress' => 'IP Address/username', 01098 'ipbexpiry' => 'Expiry', 01099 'ipbreason' => 'Reason', 01100 'ipbsubmit' => 'Block this user', 01101 'badipaddress' => 'Invalid IP address', 01102 'noblockreason' => 'You must supply a reason for the block.', 01103 'blockipsuccesssub' => 'Block succeeded', 01104 'blockipsuccesstext' => "\"$1\" has been blocked. 01105 <br />See [[Special:Ipblocklist|IP block list]] to review blocks.", 01106 'unblockip' => 'Unblock user', 01107 'unblockiptext' => 'Use the form below to restore write access 01108 to a previously blocked IP address or username.', 01109 'ipusubmit' => 'Unblock this address', 01110 'ipusuccess' => "\"$1\" unblocked", 01111 'ipblocklist' => 'List of blocked IP addresses and usernames', 01112 'blocklistline' => "$1, $2 blocked $3 (expires $4)", 01113 'blocklink' => 'block', 01114 'unblocklink' => 'unblock', 01115 'contribslink' => 'contribs', 01116 'autoblocker' => "Autoblocked because you share an IP address with \"$1\". Reason \"$2\".", 01117 'blocklogpage' => 'Block_log', 01118 'blocklogentry' => 'blocked "$1" with an expiry time of $2', 01119 'blocklogtext' => 'This is a log of user blocking and unblocking actions. Automatically 01120 blocked IP addresses are not be listed. See the [[Special:Ipblocklist|IP block list]] for 01121 the list of currently operational bans and blocks.', 01122 'unblocklogentry' => 'unblocked "$1"', 01123 'range_block_disabled' => 'The sysop ability to create range blocks is disabled.', 01124 'ipb_expiry_invalid' => 'Expiry time invalid.', 01125 'ip_range_invalid' => "Invalid IP range.\n", 01126 'proxyblocker' => 'Proxy blocker', 01127 '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.', 01128 'proxyblocksuccess' => "Done.\n", 01129 01130 # Developer tools 01131 # 01132 'lockdb' => 'Lock database', 01133 'unlockdb' => 'Unlock database', 01134 'lockdbtext' => 'Locking the database will suspend the ability of all 01135 users to edit pages, change their preferences, edit their watchlists, and 01136 other things requiring changes in the database. 01137 Please confirm that this is what you intend to do, and that you will 01138 unlock the database when your maintenance is done.', 01139 'unlockdbtext' => 'Unlocking the database will restore the ability of all 01140 users to edit pages, change their preferences, edit their watchlists, and 01141 other things requiring changes in the database. 01142 Please confirm that this is what you intend to do.', 01143 'lockconfirm' => 'Yes, I really want to lock the database.', 01144 'unlockconfirm' => 'Yes, I really want to unlock the database.', 01145 'lockbtn' => 'Lock database', 01146 'unlockbtn' => 'Unlock database', 01147 'locknoconfirm' => 'You did not check the confirmation box.', 01148 'lockdbsuccesssub' => 'Database lock succeeded', 01149 'unlockdbsuccesssub' => 'Database lock removed', 01150 'lockdbsuccesstext' => 'The database has been locked. 01151 <br />Remember to remove the lock after your maintenance is complete.', 01152 'unlockdbsuccesstext' => 'The database has been unlocked.', 01153 01154 # SQL query 01155 # 01156 'asksql' => 'SQL query', 01157 'asksqltext' => "Use the form below to make a direct query of the 01158 database. 01159 Use single quotes ('like this') to delimit string literals. 01160 This can often add considerable load to the server, so please use 01161 this function sparingly.", 01162 'sqlislogged' => 'Please note that all queries are logged.', 01163 'sqlquery' => 'Enter query', 01164 'querybtn' => 'Submit query', 01165 'selectonly' => 'Only read-only queries are allowed.', 01166 'querysuccessful' => 'Query successful', 01167 01168 # Make sysop 01169 'makesysoptitle' => 'Make a user into a sysop', 01170 'makesysoptext' => 'This form is used by bureaucrats to turn ordinary users into administrators. 01171 Type the name of the user in the box and press the button to make the user an administrator', 01172 'makesysopname' => 'Name of the user:', 01173 'makesysopsubmit' => 'Make this user into a sysop', 01174 'makesysopok' => "<b>User \"$1\" is now a sysop</b>", 01175 'makesysopfail' => "<b>User \"$1\" could not be made into a sysop. (Did you enter the name correctly?)</b>", 01176 'setbureaucratflag' => 'Set bureaucrat flag', 01177 'bureaucratlog' => 'Bureaucrat_log', 01178 'bureaucratlogentry' => "Rights for user \"$1\" set \"$2\"", 01179 'rights' => 'Rights:', 01180 'set_user_rights' => 'Set user rights', 01181 'user_rights_set' => "<b>User rights for \"$1\" updated</b>", 01182 'set_rights_fail' => "<b>User rights for \"$1\" could not be set. (Did you enter the name correctly?)</b>", 01183 'makesysop' => 'Make a user into a sysop', 01184 01185 # Move page 01186 # 01187 'movepage' => 'Move page', 01188 'movepagetext' => 'Using the form below will rename a page, moving all 01189 of its history to the new name. 01190 The old title will become a redirect page to the new title. 01191 Links to the old page title will not be changed; be sure to 01192 [[Special:Maintenance|check]] for double or broken redirects. 01193 You are responsible for making sure that links continue to 01194 point where they are supposed to go. 01195 01196 Note that the page will \'\'\'not\'\'\' be moved if there is already 01197 a page at the new title, unless it is empty or a redirect and has no 01198 past edit history. This means that you can rename a page back to where 01199 it was just renamed from if you make a mistake, and you cannot overwrite 01200 an existing page. 01201 01202 <b>WARNING!</b> 01203 This can be a drastic and unexpected change for a popular page; 01204 please be sure you understand the consequences of this before 01205 proceeding.', 01206 'movepagetalktext' => 'The associated talk page, if any, will be automatically moved along with it \'\'\'unless:\'\'\' 01207 *You are moving the page across namespaces, 01208 *A non-empty talk page already exists under the new name, or 01209 *You uncheck the box below. 01210 01211 In those cases, you will have to move or merge the page manually if desired.', 01212 'movearticle' => 'Move page', 01213 'movenologin' => 'Not logged in', 01214 'movenologintext' => "You must be a registered user and <a href=\"{{localurl:Special:Userlogin}}\">logged in</a> 01215 to move a page.", 01216 'newtitle' => 'To new title', 01217 'movepagebtn' => 'Move page', 01218 'pagemovedsub' => 'Move succeeded', 01219 'pagemovedtext' => "Page \"[[$1]]\" moved to \"[[$2]]\".", 01220 'articleexists' => 'A page of that name already exists, or the 01221 name you have chosen is not valid. 01222 Please choose another name.', 01223 'talkexists' => 'The page itself was moved successfully, but the 01224 talk page could not be moved because one already exists at the new 01225 title. Please merge them manually.', 01226 'movedto' => 'moved to', 01227 'movetalk' => 'Move "talk" page as well, if applicable.', 01228 'talkpagemoved' => 'The corresponding talk page was also moved.', 01229 'talkpagenotmoved' => 'The corresponding talk page was <strong>not</strong> moved.', 01230 '1movedto2' => "$1 moved to $2", 01231 '1movedto2_redir' => '$1 moved to $2 over redirect', 01232 01233 # Export 01234 01235 'export' => 'Export pages', 01236 'exporttext' => 'You can export the text and editing history of a particular 01237 page or set of pages wrapped in some XML; this can then be imported into another 01238 wiki running MediaWiki software, transformed, or just kept for your private 01239 amusement.', 01240 'exportcuronly' => 'Include only the current revision, not the full history', 01241 01242 # Namespace 8 related 01243 01244 'allmessages' => 'All system messages', 01245 'allmessagestext' => 'This is a list of all system messages available in the MediaWiki: namespace.', 01246 01247 # Thumbnails 01248 01249 'thumbnail-more' => 'Enlarge', 01250 'missingimage' => "<b>Missing image</b><br /><i>$1</i>\n", 01251 01252 # Special:Import 01253 'import' => 'Import pages', 01254 'importtext' => 'Please export the file from the source wiki using the Special:Export utility, save it to your disk and upload it here.', 01255 'importfailed' => "Import failed: $1", 01256 'importnotext' => 'Empty or no text', 01257 'importsuccess' => 'Import succeeded!', 01258 'importhistoryconflict' => 'Conflicting history revision exists (may have imported this page before)', 01259 01260 # Keyboard access keys for power users 01261 'accesskey-search' => 'f', 01262 'accesskey-minoredit' => 'i', 01263 'accesskey-save' => 's', 01264 'accesskey-preview' => 'p', 01265 'accesskey-compareselectedversions' => 'v', 01266 01267 # tooltip help for some actions, most are in Monobook.js 01268 'tooltip-search' => 'Search this wiki [alt-f]', 01269 'tooltip-minoredit' => 'Mark this as a minor edit [alt-i]', 01270 'tooltip-save' => 'Save your changes [alt-s]', 01271 'tooltip-preview' => 'Preview your changes, please use this before saving! [alt-p]', 01272 'tooltip-compareselectedversions' => 'See the differences between the two selected versions of this page. [alt-v]', 01273 01274 # stylesheets 01275 01276 'Monobook.css' => '/* edit this file to customize the monobook skin for the entire site */', 01277 #'Monobook.js' => '/* edit this file to change js things in the monobook skin */', 01278 01279 # Metadata 01280 'nodublincore' => 'Dublin Core RDF metadata disabled for this server.', 01281 'nocreativecommons' => 'Creative Commons RDF metadata disabled for this server.', 01282 'notacceptable' => 'The wiki server can\'t provide data in a format your client can read.', 01283 01284 # Attribution 01285 01286 'anonymous' => "Anonymous user(s) of $wgSitename", 01287 'siteuser' => "$wgSitename user $1", 01288 'lastmodifiedby' => "This page was last modified $1 by $2.", 01289 'and' => 'and', 01290 'othercontribs' => "Based on work by $1.", 01291 'siteusers' => "$wgSitename user(s) $1", 01292 'spamprotectiontitle' => 'Spam protection filter', 01293 'spamprotectiontext' => 'The page you wanted to save was blocked by the spam filter. This is probably caused by a link to an external site. 01294 01295 You might want to check the following regular expression for patterns that are currently blocked:', 01296 'subcategorycount' => "There are $1 subcategories to this category.", 01297 'categoryarticlecount' => "There are $1 articles in this category.", 01298 'usenewcategorypage' => "1\n\nSet first character to \"0\" to disable the new category page layout.", 01299 01300 # Monobook.js: tooltips and access keys for monobook 01301 'Monobook.js' => '/* tooltips and access keys */ 01302 ta = new Object(); 01303 ta[\'pt-userpage\'] = new Array(\'.\',\'My user page\'); 01304 ta[\'pt-anonuserpage\'] = new Array(\'.\',\'The user page for the ip you\\\'re editing as\'); 01305 ta[\'pt-mytalk\'] = new Array(\'n\',\'My talk page\'); 01306 ta[\'pt-anontalk\'] = new Array(\'n\',\'Discussion about edits from this ip address\'); 01307 ta[\'pt-preferences\'] = new Array(\'\',\'My preferences\'); 01308 ta[\'pt-watchlist\'] = new Array(\'l\',\'The list of pages you\\\'re monitoring for changes.\'); 01309 ta[\'pt-mycontris\'] = new Array(\'y\',\'List of my contributions\'); 01310 ta[\'pt-login\'] = new Array(\'o\',\'You are encouraged to log in, it is not mandatory however.\'); 01311 ta[\'pt-anonlogin\'] = new Array(\'o\',\'You are encouraged to log in, it is not mandatory however.\'); 01312 ta[\'pt-logout\'] = new Array(\'o\',\'Log out\'); 01313 ta[\'ca-talk\'] = new Array(\'t\',\'Discussion about the content page\'); 01314 ta[\'ca-edit\'] = new Array(\'e\',\'You can edit this page. Please use the preview button before saving.\'); 01315 ta[\'ca-addsection\'] = new Array(\'+\',\'Add a comment to this discussion.\'); 01316 ta[\'ca-viewsource\'] = new Array(\'e\',\'This page is protected. You can view its source.\'); 01317 ta[\'ca-history\'] = new Array(\'h\',\'Past versions of this page.\'); 01318 ta[\'ca-protect\'] = new Array(\'=\',\'Protect this page\'); 01319 ta[\'ca-delete\'] = new Array(\'d\',\'Delete this page\'); 01320 ta[\'ca-undelete\'] = new Array(\'d\',\'Restore the edits done to this page before it was deleted\'); 01321 ta[\'ca-move\'] = new Array(\'m\',\'Move this page\'); 01322 ta[\'ca-nomove\'] = new Array(\'\',\'You don\\\'t have the permissions to move this page\'); 01323 ta[\'ca-watch\'] = new Array(\'w\',\'Add this page to your watchlist\'); 01324 ta[\'ca-unwatch\'] = new Array(\'w\',\'Remove this page from your watchlist\'); 01325 ta[\'search\'] = new Array(\'f\',\'Search this wiki\'); 01326 ta[\'p-logo\'] = new Array(\'\',\'Main Page\'); 01327 ta[\'n-mainpage\'] = new Array(\'z\',\'Visit the Main Page\'); 01328 ta[\'n-portal\'] = new Array(\'\',\'About the project, what you can do, where to find things\'); 01329 ta[\'n-currentevents\'] = new Array(\'\',\'Find background information on current events\'); 01330 ta[\'n-recentchanges\'] = new Array(\'r\',\'The list of recent changes in the wiki.\'); 01331 ta[\'n-randompage\'] = new Array(\'x\',\'Load a random page\'); 01332 ta[\'n-help\'] = new Array(\'\',\'The place to find out.\'); 01333 ta[\'n-sitesupport\'] = new Array(\'\',\'Support us\'); 01334 ta[\'t-whatlinkshere\'] = new Array(\'j\',\'List of all wiki pages that link here\'); 01335 ta[\'t-recentchangeslinked\'] = new Array(\'k\',\'Recent changes in pages linking to this page\'); 01336 ta[\'feed-rss\'] = new Array(\'\',\'RSS feed for this page\'); 01337 ta[\'feed-atom\'] = new Array(\'\',\'Atom feed for this page\'); 01338 ta[\'t-contributions\'] = new Array(\'\',\'View the list of contributions of this user\'); 01339 ta[\'t-emailuser\'] = new Array(\'\',\'Send a mail to this user\'); 01340 ta[\'t-upload\'] = new Array(\'u\',\'Upload images or media files\'); 01341 ta[\'t-specialpages\'] = new Array(\'q\',\'List of all special pages\'); 01342 ta[\'ca-nstab-main\'] = new Array(\'c\',\'View the content page\'); 01343 ta[\'ca-nstab-user\'] = new Array(\'c\',\'View the user page\'); 01344 ta[\'ca-nstab-media\'] = new Array(\'c\',\'View the media page\'); 01345 ta[\'ca-nstab-special\'] = new Array(\'\',\'This is a special page, you can\\\'t edit the page itself.\'); 01346 ta[\'ca-nstab-wp\'] = new Array(\'a\',\'View the project page\'); 01347 ta[\'ca-nstab-image\'] = new Array(\'c\',\'View the image page\'); 01348 ta[\'ca-nstab-mediawiki\'] = new Array(\'c\',\'View the system message\'); 01349 ta[\'ca-nstab-template\'] = new Array(\'c\',\'View the template\'); 01350 ta[\'ca-nstab-help\'] = new Array(\'c\',\'View the help page\'); 01351 ta[\'ca-nstab-category\'] = new Array(\'c\',\'View the category page\'); 01352 ' 01353 01354 01355 ); 01356 01357 #-------------------------------------------------------------------------- 01358 # Internationalisation code 01359 #-------------------------------------------------------------------------- 01360 01361 class Language { 01362 function Language(){ 01363 # Copies any missing values in the specified arrays from En to the current language 01364 $fillin = array( 'wgSysopSpecialPages', 'wgValidSpecialPages', 'wgDeveloperSpecialPages' ); 01365 $name = get_class( $this ); 01366 if( strpos( $name, 'language' ) == 0){ 01367 $lang = ucfirst( substr( $name, 8 ) ); 01368 foreach( $fillin as $arrname ){ 01369 $langver = "{$arrname}{$lang}"; 01370 $enver = "{$arrname}En"; 01371 if( ! isset( $GLOBALS[$langver] ) || ! isset( $GLOBALS[$enver] )) 01372 continue; 01373 foreach($GLOBALS[$enver] as $spage => $text){ 01374 if( ! isset( $GLOBALS[$langver][$spage] ) ) 01375 $GLOBALS[$langver][$spage] = $text; 01376 } 01377 } 01378 } 01379 } 01380 01381 function getDefaultUserOptions () { 01382 global $wgDefaultUserOptionsEn ; 01383 return $wgDefaultUserOptionsEn ; 01384 } 01385 01386 function getBookstoreList () { 01387 global $wgBookstoreListEn ; 01388 return $wgBookstoreListEn ; 01389 } 01390 01391 function getNamespaces() { 01392 global $wgNamespaceNamesEn; 01393 return $wgNamespaceNamesEn; 01394 } 01395 01396 function getNsText( $index ) { 01397 global $wgNamespaceNamesEn; 01398 return $wgNamespaceNamesEn[$index]; 01399 } 01400 01401 function getNsIndex( $text ) { 01402 global $wgNamespaceNamesEn; 01403 01404 foreach ( $wgNamespaceNamesEn as $i => $n ) { 01405 if ( 0 == strcasecmp( $n, $text ) ) { return $i; } 01406 } 01407 return false; 01408 } 01409 01410 function specialPage( $name ) { 01411 return $this->getNsText( Namespace::getSpecial() ) . ':' . $name; 01412 } 01413 01414 function getQuickbarSettings() { 01415 global $wgQuickbarSettingsEn; 01416 return $wgQuickbarSettingsEn; 01417 } 01418 01419 function getSkinNames() { 01420 global $wgSkinNamesEn; 01421 return $wgSkinNamesEn; 01422 } 01423 01424 function getMathNames() { 01425 global $wgMathNamesEn; 01426 return $wgMathNamesEn; 01427 } 01428 01429 function getDateFormats() { 01430 global $wgDateFormatsEn; 01431 return $wgDateFormatsEn; 01432 } 01433 01434 function getUserToggles() { 01435 global $wgUserTogglesEn; 01436 return $wgUserTogglesEn; 01437 } 01438 01439 function getUserToggle( $tog ) { 01440 $togs =& $this->getUserToggles(); 01441 return $togs[$tog]; 01442 } 01443 01444 function getLanguageNames() { 01445 global $wgLanguageNamesEn; 01446 return $wgLanguageNamesEn; 01447 } 01448 01449 function getLanguageName( $code ) { 01450 global $wgLanguageNamesEn; 01451 if ( ! array_key_exists( $code, $wgLanguageNamesEn ) ) { 01452 return ""; 01453 } 01454 return $wgLanguageNamesEn[$code]; 01455 } 01456 01457 function getMonthName( $key ) 01458 { 01459 global $wgMonthNamesEn; 01460 return $wgMonthNamesEn[$key-1]; 01461 } 01462 01463 /* by default we just return base form */ 01464 function getMonthNameGen( $key ) 01465 { 01466 return $this->getMonthName( $key ); 01467 } 01468 01469 function getMonthAbbreviation( $key ) 01470 { 01471 global $wgMonthAbbreviationsEn; 01472 return @$wgMonthAbbreviationsEn[$key-1]; 01473 } 01474 01475 function getWeekdayName( $key ) 01476 { 01477 global $wgWeekdayNamesEn; 01478 return $wgWeekdayNamesEn[$key-1]; 01479 } 01480 01481 function userAdjust( $ts ) 01482 { 01483 global $wgUser, $wgLocalTZoffset; 01484 01485 $tz = $wgUser->getOption( 'timecorrection' ); 01486 if ( $tz === '' ) { 01487 $hrDiff = isset( $wgLocalTZoffset ) ? $wgLocalTZoffset : 0; 01488 $minDiff = 0; 01489 } elseif ( strpos( $tz, ":" ) !== false ) { 01490 $tzArray = explode( ":", $tz ); 01491 $hrDiff = intval($tzArray[0]); 01492 $minDiff = intval($hrDiff < 0 ? -$tzArray[1] : $tzArray[1]); 01493 } else { 01494 $hrDiff = intval( $tz ); 01495 } 01496 if ( 0 == $hrDiff && 0 == $minDiff ) { return $ts; } 01497 01498 $t = mktime( ( 01499 (int)substr( $ts, 8, 2) ) + $hrDiff, # Hours 01500 (int)substr( $ts, 10, 2 ) + $minDiff, # Minutes 01501 (int)substr( $ts, 12, 2 ), # Seconds 01502 (int)substr( $ts, 4, 2 ), # Month 01503 (int)substr( $ts, 6, 2 ), # Day 01504 (int)substr( $ts, 0, 4 ) ); #Year 01505 return date( 'YmdHis', $t ); 01506 } 01507 01508 function date( $ts, $adj = false ) 01509 { 01510 global $wgAmericanDates, $wgUser, $wgUseDynamicDates; 01511 01512 if ( $adj ) { $ts = $this->userAdjust( $ts ); } 01513 01514 if ( $wgUseDynamicDates ) { 01515 $datePreference = $wgUser->getOption( 'date' ); 01516 if ( $datePreference == 0 ) { 01517 $datePreference = $wgAmericanDates ? 1 : 2; 01518 } 01519 } else { 01520 $datePreference = $wgAmericanDates ? 1 : 2; 01521 } 01522 01523 $month = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ); 01524 $day = $this->formatNum( 0 + substr( $ts, 6, 2 ) ); 01525 $year = $this->formatNum( substr( $ts, 0, 4 ) ); 01526 01527 switch( $datePreference ) { 01528 case 1: return "$month $day, $year"; 01529 case 2: return "$day $month $year"; 01530 default: return "$year $month $day"; 01531 } 01532 } 01533 01534 function time( $ts, $adj = false, $seconds = false ) 01535 { 01536 if ( $adj ) { $ts = $this->userAdjust( $ts ); } 01537 01538 $t = substr( $ts, 8, 2 ) . ':' . substr( $ts, 10, 2 ); 01539 if ( $seconds ) { 01540 $t .= ':' . substr( $ts, 12, 2 ); 01541 } 01542 return $this->formatNum( $t ); 01543 } 01544 01545 function timeanddate( $ts, $adj = false ) 01546 { 01547 return $this->time( $ts, $adj ) . ', ' . $this->date( $ts, $adj ); 01548 } 01549 01550 function rfc1123( $ts ) 01551 { 01552 return date( 'D, d M Y H:i:s T', $ts ); 01553 } 01554 01555 function getValidSpecialPages() 01556 { 01557 global $wgValidSpecialPagesEn; 01558 return $wgValidSpecialPagesEn; 01559 } 01560 01561 function getSysopSpecialPages() 01562 { 01563 global $wgSysopSpecialPagesEn; 01564 return $wgSysopSpecialPagesEn; 01565 } 01566 01567 function getDeveloperSpecialPages() 01568 { 01569 global $wgDeveloperSpecialPagesEn; 01570 return $wgDeveloperSpecialPagesEn; 01571 } 01572 01573 function getMessage( $key ) 01574 { 01575 global $wgAllMessagesEn; 01576 return @$wgAllMessagesEn[$key]; 01577 } 01578 01579 function getAllMessages() 01580 { 01581 global $wgAllMessagesEn; 01582 return $wgAllMessagesEn; 01583 } 01584 01585 function iconv( $in, $out, $string ) { 01586 # For most languages, this is a wrapper for iconv 01587 return iconv( $in, $out, $string ); 01588 } 01589 01590 function ucfirst( $string ) { 01591 # For most languages, this is a wrapper for ucfirst() 01592 return ucfirst( $string ); 01593 } 01594 01595 function lcfirst( $s ) { 01596 return strtolower( $s{0} ). substr( $s, 1 ); 01597 } 01598 01599 function checkTitleEncoding( $s ) { 01600 global $wgInputEncoding; 01601 01602 # Check for UTF-8 URLs; Internet Explorer produces these if you 01603 # type non-ASCII chars in the URL bar or follow unescaped links. 01604 $ishigh = preg_match( '/[\x80-\xff]/', $s); 01605 $isutf = ($ishigh ? preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|' . 01606 '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s ) : true ); 01607 01608 if( ($wgInputEncoding != 'utf-8') and $ishigh and $isutf ) 01609 return @iconv( 'UTF-8', $wgInputEncoding, $s ); 01610 01611 if( ($wgInputEncoding == 'utf-8') and $ishigh and !$isutf ) 01612 return utf8_encode( $s ); 01613 01614 # Other languages can safely leave this function, or replace 01615 # it with one to detect and convert another legacy encoding. 01616 return $s; 01617 } 01618 01619 function stripForSearch( $in ) { 01620 # Some languages have special punctuation to strip out 01621 # or characters which need to be converted for MySQL's 01622 # indexing to grok it correctly. Make such changes here. 01623 return $in; 01624 } 01625 01626 function firstChar( $s ) { 01627 # Get the first character of a string. In ASCII, return 01628 # first byte of the string. UTF8 and others have to 01629 # overload this. 01630 return $s[0]; 01631 } 01632 01633 function setAltEncoding() { 01634 # Some languages may have an alternate char encoding option 01635 # (Esperanto X-coding, Japanese furigana conversion, etc) 01636 # If 'altencoding' is checked in user prefs, this gives a 01637 # chance to swap out the default encoding settings. 01638 #global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding; 01639 } 01640 01641 function recodeForEdit( $s ) { 01642 # For some languages we'll want to explicitly specify 01643 # which characters make it into the edit box raw 01644 # or are converted in some way or another. 01645 # Note that if wgOutputEncoding is different from 01646 # wgInputEncoding, this text will be further converted 01647 # to wgOutputEncoding. 01648 global $wgInputEncoding, $wgEditEncoding; 01649 if( $wgEditEncoding == '' or 01650 $wgEditEncoding == $wgInputEncoding ) { 01651 return $s; 01652 } else { 01653 return $this->iconv( $wgInputEncoding, $wgEditEncoding, $s ); 01654 } 01655 } 01656 01657 function recodeInput( $s ) { 01658 # Take the previous into account. 01659 global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding; 01660 if($wgEditEncoding != "") { 01661 $enc = $wgEditEncoding; 01662 } else { 01663 $enc = $wgOutputEncoding; 01664 } 01665 if( $enc == $wgInputEncoding ) { 01666 return $s; 01667 } else { 01668 return $this->iconv( $enc, $wgInputEncoding, $s ); 01669 } 01670 } 01671 01672 # For right-to-left language support 01673 function isRTL() { return false; } 01674 01675 # To allow "foo[[bar]]" to extend the link over the whole word "foobar" 01676 function linkPrefixExtension() { return false; } 01677 01678 01679 function &getMagicWords() 01680 { 01681 global $wgMagicWordsEn; 01682 return $wgMagicWordsEn; 01683 } 01684 01685 # Fill a MagicWord object with data from here 01686 function getMagic( &$mw ) 01687 { 01688 $raw =& $this->getMagicWords(); 01689 if( !isset( $raw[$mw->mId] ) ) { 01690 # Fall back to English if local list is incomplete 01691 $raw =& Language::getMagicWords(); 01692 } 01693 $rawEntry = $raw[$mw->mId]; 01694 $mw->mCaseSensitive = $rawEntry[0]; 01695 $mw->mSynonyms = array_slice( $rawEntry, 1 ); 01696 } 01697 01698 # Italic is unsuitable for some languages 01699 function emphasize( $text ) 01700 { 01701 return '<em>'.$text.'</em>'; 01702 } 01703 01704 01705 # Normally we use the plain ASCII digits. Some languages such as Arabic will 01706 # want to output numbers using script-appropriate characters: override this 01707 # function with a translator. See LanguageAr.php for an example. 01708 function formatNum( $number ) { 01709 return $number; 01710 } 01711 01712 function listToText( $l ) { 01713 $s = ''; 01714 $m = count($l) - 1; 01715 for ($i = $m; $i >= 0; $i--) { 01716 if ($i == $m) { 01717 $s = $l[$i]; 01718 } else if ($i == $m - 1) { 01719 $s = $l[$i] . ' ' . $this->getMessage('and') . ' ' . $s; 01720 } else { 01721 $s = $l[$i] . ', ' . $s; 01722 } 01723 } 01724 return $s; 01725 } 01726 } 01727 01728 # This should fail gracefully if there's not a localization available 01729 @include_once( 'Language' . ucfirst( $wgLanguageCode ) . '.php' ); 01730 ?>

Generated on Tue Jun 29 23:40:04 2004 for Mediawiki by doxygen 1.3.7