# hyphen (-). If you need more characters, you may be able to change
# the regex in MagicWord::initRegex
-# required for copyrightwarning
-global $wgRightsText;
-
/* private */ $wgAllMessagesEn = array(
/*
The sidebar for MonoBook is generated from this message, lines that do not
** recentchanges-url|recentchanges
** randompage-url|randompage
** helppage|help
-** sitesupport-url|sitesupport
-',
+** sitesupport-url|sitesupport',
# User preference toggles
'tog-underline' => 'Underline links:',
'ok' => 'OK',
'sitetitle' => '{{SITENAME}}',
'pagetitle' => '$1 - {{SITENAME}}',
-'sitesubtitle' => 'The Free Encyclopedia', # FIXME
+'sitesubtitle' => '',
'retrievedfrom' => 'Retrieved from "$1"',
-'newmessages' => 'You have $1.',
+'youhavenewmessages' => 'You have $1 ($2).',
'newmessageslink' => 'new messages',
+'newmessagesdifflink' => 'diff to penultimate revision',
'editsection'=>'edit',
'toc' => 'Contents',
'showtoc' => 'show',
The last attempted database query was:
"$1"
from within function "$2".
-MySQL returned error "$3: $4"'."\n",
+MySQL returned error "$3: $4"',
'noconnect' => 'Sorry! The wiki is experiencing some technical difficulties, and cannot contact the database server. <br />
$1',
'nodb' => 'Could not select database $1',
'badarticleerror' => 'This action cannot be performed on this page.',
'cannotdelete' => 'Could not delete the page or file specified. (It may have already been deleted by someone else.)',
'badtitle' => 'Bad title',
-'badtitletext' => 'The requested page title was invalid, empty, or an incorrectly linked inter-language or inter-wiki title.',
+'badtitletext' => 'The requested page title was invalid, empty, or an incorrectly linked inter-language or inter-wiki title. It may contain one more characters which cannot be used in titles.',
'perfdisabled' => 'Sorry! This feature has been temporarily disabled because it slows the database down to the point that no one can use the wiki.',
'perfdisabledsub' => 'Here is a saved copy from $1:', # obsolete?
'perfcached' => 'The following data is cached and may not be completely up to date:',
# Login and logout pages
#
'logouttitle' => 'User logout',
-'logouttext' => "<strong>You are now logged out.</strong><br />
+'logouttext' => '<strong>You are now logged out.</strong><br />
You can continue to use {{SITENAME}} anonymously, or you can log in
again as the same or as a different user. Note that some pages may
continue to be displayed as if you were still logged in, until you clear
-your browser cache.\n",
+your browser cache.',
'welcomecreation' => "== Welcome, $1! ==
'yourdomainname' => 'Your domain',
'externaldberror' => 'There was either an external authentication database error or you are not allowed to update your external account.',
'loginproblem' => '<b>There has been a problem with your login.</b><br />Try again!',
-'alreadyloggedin' => "<strong>User $1, you are already logged in!</strong><br />\n",
+'alreadyloggedin' => "<strong>User $1, you are already logged in!</strong><br />",
'login' => 'Log in',
'loginprompt' => 'You must have cookies enabled to log in to {{SITENAME}}.',
'yourvariant' => 'Variant',
'yournick' => 'Nickname:',
'badsig' => 'Invalid raw signature; check HTML tags.',
+'badsig2' => 'Your signature contains one or more reserved expressions; please remove them.',
'email' => 'E-mail',
'emailforlost' => '<div style="width:30em">* Optional. An e-mail lets others contact you on this site without revealing your address, and lets us send you a new password if you forget it.<br /><br />Your real name will be used to give you attribution for your work.</div>',
'prefs-help-email-enotif' => 'This address is also used to send you e-mail notifications if you enabled the options.',
Note that you may not use the "e-mail this user" feature unless you have a valid e-mail address registered in your [[Special:Preferences|user preferences]].
-Your IP address is $3. Please include this address in any queries you make.
-',
+Your IP address is $3. Please include this address in any queries you make.',
'whitelistedittitle' => 'Login required to edit',
'whitelistedittext' => 'You have to [[Special:Userlogin|login]] to edit pages.',
'whitelistreadtitle' => 'Login required to read',
'protectedpagewarning' => "<strong>WARNING: This page has been locked so that only users with sysop privileges can edit it. Be sure you are following the [[Project:Protected_page_guidelines|protected page guidelines]].</strong>",
'templatesused' => 'Templates used on this page:',
'edittools' => '<!-- Text here will be shown below edit and upload forms. -->',
+'nocreatetitle' => 'Page creation limited',
+'nocreatetext' => 'This site has restricted the ability to create new pages.
+You can go back and edit an existing page, or [[Special:Userlogin|log in or create an account]].',
# History pages
#
'nohistory' => 'There is no edit history for this page.',
'revnotfound' => 'Revision not found',
'revnotfoundtext' => "The old revision of the page you asked for could not be found.
-Please check the URL you used to access this page.\n",
+Please check the URL you used to access this page.",
'loadhist' => 'Loading page history',
'currentrev' => 'Current revision',
'revisionasof' => 'Revision as of $1',
#
'imagelist' => 'File list',
'imagelisttext' => "Below is a list of $1 files sorted $2.",
+'imagelistforuser' => "This shows only images uploaded by $1.",
'getimagelist' => 'fetching file list',
'ilsubmit' => 'Search',
'showlast' => "Show last $1 files sorted $2.",
#
'unwatchedpages' => 'Unwatched pages',
+# List redirects
+'listredirects' => 'List redirects',
+
# Statistics
#
'statistics' => 'Statistics',
'doubleredirects' => 'Double redirects',
'doubleredirectstext' => "Each 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.",
'doubleredirectsarrow' => '→',
-'brokenredirects' => 'Broken Redirects',
-'brokenredirectstext' => 'The following redirects link to a non-existing pages.',
-'selflinks' => 'Pages with Self Links',
-'selflinkstext' => 'The following pages contain a link to themselves, which they should not.',
+'brokenredirects' => 'Broken redirects',
+'brokenredirectstext' => 'The following redirects link to non-existent pages:',
+'selflinks' => 'Self-linking pages',
+'selflinkstext' => 'The following pages link to themselves:',
'mispeelings' => 'Pages with misspellings',
'mispeelingstext' => "The following pages contain a common misspelling, which are listed on $1. The correct spelling might be given (like this).",
'mispeelingspage' => 'List of common misspellings',
# Miscellaneous special pages
#
'orphans' => 'Orphaned pages',
-'validate' => 'Validate page',
'lonelypages' => 'Orphaned pages',
'uncategorizedpages' => 'Uncategorized pages',
'uncategorizedcategories' => 'Uncategorized categories',
'log' => 'Logs',
'alllogstext' => 'Combined display of upload, deletion, protection, blocking, and sysop logs.
You can narrow down the view by selecting a log type, the user name, or the affected page.',
+'logempty' => 'No matching items in log.',
+
# Special:Allpages
'nextpage' => 'Next page ($1)',
'confirmunprotecttext' => 'Do you really want to unprotect this page?',
'confirmunprotect' => 'Confirm unprotection',
'unprotectcomment' => 'Reason for unprotecting',
+'protect-unchain' => 'Unlock move permissions',
+'protect-text' => 'You may view and change the protection level here for the page [[$1]].
+Please be sure you are following the [[Project:Protected page|project guidelines]].',
+'protect-viewtext' => 'Your account does not have permission to change
+page protection levels. Here are the current settings for the page [[$1]]:',
+'protect-default' => '(default)',
+'protect-level-autoconfirmed' => 'Block unregistered users',
+'protect-level-sysop' => 'Sysops only',
+
# Undelete
'undelete' => 'View deleted pages',
'linkshere' => 'The following pages link to here:',
'nolinkshere' => 'No pages link to here.',
'isredirect' => 'redirect page',
+'istemplate' => 'inclusion',
# Block/unblock IP
#
'unblocklogentry' => 'unblocked $1',
'range_block_disabled' => 'The sysop ability to create range blocks is disabled.',
'ipb_expiry_invalid' => 'Expiry time invalid.',
-'ip_range_invalid' => "Invalid IP range.\n",
+'ip_range_invalid' => 'Invalid IP range.',
'proxyblocker' => 'Proxy blocker',
'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.',
-'proxyblocksuccess' => "Done.\n",
+'proxyblocksuccess' => 'Done.',
'sorbs' => 'SORBS DNSBL',
'sorbsreason' => 'Your IP address is listed as an open proxy in the [http://www.sorbs.net SORBS] DNSBL.',
'sorbs_create_account_reason' => 'Your IP address is listed as an open proxy in the [http://www.sorbs.net SORBS] DNSBL. You cannot create an account',
'already_bureaucrat' => 'This user is already a bureaucrat',
'already_steward' => 'This user is already a steward',
-# Validation
-'val_yes' => 'Yes',
-'val_no' => 'No',
-'val_of' => '$1 of $2',
-'val_revision' => 'Revision',
-'val_time' => 'Time',
-'val_user_stats_title' => 'Validation overview of user $1',
-'val_my_stats_title' => 'My validation overview',
-'val_list_header' => '<th>#</th><th>Topic</th><th>Range</th><th>Action</th>',
-'val_add' => 'Add',
-'val_del' => 'Delete',
-'val_show_my_ratings' => 'Show my validations',
-'val_revision_number' => 'Revision #$1',
-'val_warning' => '<b>Never, <i>ever</i>, change something here without <i>explicit</i> community consensus!</b>',
-'val_rev_for' => 'Revisions for $1',
-'val_details_th_user' => 'User $1',
-'val_validation_of' => 'Validation of "$1"',
-'val_revision_of' => 'Revision of $1',
-'val_revision_changes_ok' => 'Your ratings have been stored!',
-'val_rev_stats' => 'See the validation statistics for "$1" <a href="$2">here</a>',
-'val_revision_stats_link' => 'details',
-'val_iamsure' => 'Check this box if you really mean it!',
-'val_details_th' => '<sub>User</sub> \\ <sup>Topic</sup>',
-'val_clear_old' => 'Clear my older validation data',
-'val_merge_old' => 'Use my previous assessment where selected \'No opinion\'',
-'val_form_note' => "'''Hint:''' Merging your data means that for the article revision you select, all options where you have specified ''no opinion'' will be set to the value and comment of the most recent revision for which you have expressed an opinion. For example, if you want to change a single option for a newer revision, but also keep your other settings for this article in this revision, just select which option you intend to ''change'', and merging will fill in the other options with your previous settings.",
-'val_noop' => 'No opinion',
-'val_topic_desc_page' => 'Project:Validation topics',
-'val_votepage_intro' => 'Change this text <a href="{{SERVER}}{{localurl:MediaWiki:Val_votepage_intro}}">here</a>!',
-'val_percent' => '<b>$1%</b><br />($2 of $3 points<br />by $4 users)',
-'val_percent_single' => '<b>$1%</b><br />($2 of $3 points<br />by one user)',
-'val_total' => 'Total',
-'val_version' => 'Version',
-'val_tab' => 'Validate',
-'val_this_is_current_version' => 'this is the latest version',
-'val_version_of' => "Version of $1" ,
-'val_table_header' => '<tr><th>Class</th>$1<th colspan="4">Opinion</th>$1<th>Comment</th></tr>\n',
-'val_stat_link_text' => 'Validation statistics for this article',
-'val_view_version' => 'View this revision',
-'val_validate_version' => 'Validate this version',
-'val_user_validations' => 'This user has validated $1 pages.',
-'val_no_anon_validation' => 'You have to be logged in to validate an article.',
-'val_validate_article_namespace_only' => 'Only articles can be validated. This page is <i>not</i> in the article namespace.',
-'val_validated' => 'Validation done.',
-'val_article_lists' => 'List of validated articles',
-'val_page_validation_statistics' => 'Page validation statistics for $1',
-'val_max_topics' => 'Maximum number of $1 topics reached',
-'val_no_topics_defined' => 'No topics defined',
-'val_no_topics_defined_text' => 'You have no topics defined which can be rated. Go to [[Special:Validate]], and have an administrator run the "Manage" function to add at least one topic and point range.',
-
# Move page
#
'movepage' => 'Move page',
select whether you want the current version as well as all old versions, with the page
history lines, or just the current version with the info about the last edit.
-In the latter case you can also use a link, e.g. [[{{ns:Special}}:Export/{{Mediawiki:mainpage}}]] for the page {{Mediawiki:mainpage}}.
-',
+In the latter case you can also use a link, e.g. [[{{ns:Special}}:Export/{{Mediawiki:mainpage}}]] for the page {{Mediawiki:mainpage}}.',
'exportcuronly' => 'Include only the current revision, not the full history',
+'exportnohistory' => "----
+'''Note:''' exporting the full history of pages through this form has been disabled due to performance reasons.",
# Namespace 8 related
# Thumbnails
'thumbnail-more' => 'Enlarge',
-'missingimage' => "<b>Missing image</b><br /><i>$1</i>\n",
+'missingimage' => '<b>Missing image</b><br /><i>$1</i>',
'filemissing' => 'File missing',
# Special:Import
ta[\'ca-nstab-mediawiki\'] = new Array(\'c\',\'View the system message\');
ta[\'ca-nstab-template\'] = new Array(\'c\',\'View the template\');
ta[\'ca-nstab-help\'] = new Array(\'c\',\'View the help page\');
-ta[\'ca-nstab-category\'] = new Array(\'c\',\'View the category page\');
-',
+ta[\'ca-nstab-category\'] = new Array(\'c\',\'View the category page\');',
# image deletion
'deletedrevision' => 'Deleted old revision $1.',
'edit-externally' => 'Edit this file using an external application',
'edit-externally-help' => 'See the [http://meta.wikimedia.org/wiki/Help:External_editors setup instructions] for more information.',
-# 'all' in various places, this might be different for inflicted languages
+# 'all' in various places, this might be different for inflected languages
'recentchangesall' => 'all',
'imagelistall' => 'all',
'watchlistall1' => 'all',
$3
If this is *not* you, don't follow the link. This confirmation code
-will expire at $4.
-",
+will expire at $4.",
# Inputbox extension, may be useful in other contexts as well
'tryexact' => 'Try exact match',
'trackbackbox' => '<div id="mw_trackbacks">
Trackbacks for this article:<br />
$1
-</div>
-',
-'trackback' => "; $4$5 : [$2 $1]\n",
-'trackbackexcerpt' => "; $4$5 : [$2 $1]: <nowiki>$3</nowiki>\n",
+</div>',
+'trackback' => '; $4$5 : [$2 $1]',
+'trackbackexcerpt' => '; $4$5 : [$2 $1]: <nowiki>$3</nowiki>',
'trackbackremove' => ' ([$1 Delete])',
'trackbacklink' => 'Trackback',
'trackbackdeleteok' => 'The trackback was successfully deleted.',
return $wgDateFormatsEn;
}
- function getValidationTypes() {
- global $wgValidationTypesEn;
- return $wgValidationTypesEn;
- }
-
function getUserToggles() {
global $wgUserTogglesEn;
return $wgUserTogglesEn;
* @param int $ts the time in date('YmdHis') format
* @param mixed $tz adjust the time by this amount (default false)
* @return int
+
*/
function userAdjust( $ts, $tz = false ) {
global $wgUser, $wgLocalTZoffset;
* date('YmdHis') format with wfTimestamp(TS_MW,$ts)
* @param bool $adj whether to adjust the time output according to the
* user configured offset ($timecorrection)
- * @param mixed $format true to use user's date format preference
+
+ * @param mixed $format what format to return, if it's false output the
+ * default one (default true)
* @param string $timecorrection the time offset as returned by
* validateTimeZone() in Special:Preferences
* @return string
* @return string
*/
function convertPlural( $count, $wordform1, $wordform2, $wordform3) {
- return $count == 1 ? $wordform1 : $wordform2;
+ return $count == '1' ? $wordform1 : $wordform2;
}
/**
* @see LanguageFi.php for example implementation
*/
function translateBlockExpiry( $str ) {
+
+ $scBlockExpiryOptions = wfMsg( 'ipboptions' );
+
+ if ( $scBlockExpiryOptions == '-') {
+ return $str;
+ }
+
+ foreach (explode(',', $scBlockExpiryOptions) as $option) {
+ if ( strpos($option, ":") === false )
+ continue;
+ list($show, $value) = explode(":", $option);
+ if ( strcmp ( $str, $value) == 0 )
+ return '<span title="' . htmlspecialchars($str). '">' .
+ htmlspecialchars( trim( $show ) ) . '</span>';
+ }
+
return $str;
}