# 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
'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:',
'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.',
#
'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',
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
'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',
* @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;
}