define( "MW_MATH_MODERN", 4 );
define( "MW_MATH_MATHML", 5 );
+# Validation types
+$wgValidationTypesEn = array (
+ "0" => "Style|Awful|Awesome|5",
+ "1" => "Legal|Illegal|Legal|5",
+ "2" => "Completeness|Stub|Extensive|5",
+ "3" => "Facts|Wild guesses|Solid as a rock|5",
+ "4" => "Suitable for 1.0 (paper)|No|Yes|2",
+ "5" => "Suitable for 1.0 (CD)|No|Yes|2"
+ ) ;
+
+
/* private */ $wgMathNamesEn = array(
MW_MATH_PNG => 'mw_math_png',
MW_MATH_SIMPLE => 'mw_math_simple',
);
/* private */ $wgUserTogglesEn = array(
- 'hover' => 'Show hoverbox over wiki links',
- 'underline' => 'Underline links',
- 'highlightbroken' => 'Format broken links <a href="" class="new">like
-this</a> (alternative: like this<a href="" class="internal">?</a>).',
- 'justify' => 'Justify paragraphs',
- 'hideminor' => 'Hide minor edits in recent changes',
- 'usenewrc' => 'Enhanced recent changes (not for all browsers)',
- 'numberheadings' => 'Auto-number headings',
- 'showtoolbar'=>'Show edit toolbar',
- 'editondblclick' => 'Edit pages on double click (JavaScript)',
- 'editsection'=>'Enable section editing via [edit] links',
- 'editsectiononrightclick'=>'Enable section editing by right clicking<br /> on section titles (JavaScript)',
- 'showtoc'=>'Show table of contents<br />(for pages with more than 3 headings)',
- 'rememberpassword' => 'Remember password across sessions',
- 'editwidth' => 'Edit box has full width',
- 'watchdefault' => 'Add pages you edit to your watchlist',
- 'minordefault' => 'Mark all edits minor by default',
- 'previewontop' => 'Show preview before edit box and not after it',
- 'nocache' => 'Disable page caching'
+ 'hover',
+ 'underline',
+ 'highlightbroken',
+ 'justify',
+ 'hideminor',
+ 'usenewrc',
+ 'numberheadings',
+ 'showtoolbar',
+ 'editondblclick',
+ 'editsection',
+ 'editsectiononrightclick',
+ 'showtoc',
+ 'rememberpassword',
+ 'editwidth',
+ 'watchdefault',
+ 'minordefault',
+ 'previewontop',
+ 'nocache',
);
/* private */ $wgBookstoreListEn = array(
/* private */ $wgWeekdayNamesEn = array(
- 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday',
- 'Friday', 'Saturday'
+ 'sunday', 'monday', 'tuesday', 'wednesday', 'thursday',
+ 'friday', 'saturday'
);
+
/* private */ $wgMonthNamesEn = array(
- 'January', 'February', 'March', 'April', 'May', 'June',
- 'July', 'August', 'September', 'October', 'November',
- 'December'
+ 'january', 'february', 'march', 'april', 'may_long', 'june',
+ 'july', 'august', 'september', 'october', 'november',
+ 'december'
+);
+/* private */ $wgMonthNamesGenEn = array(
+ 'january-gen', 'february-gen', 'march-gen', 'april-gen', 'may-gen', 'june-gen',
+ 'july-gen', 'august-gen', 'september-gen', 'october-gen', 'november-gen',
+ 'december-gen'
);
/* private */ $wgMonthAbbreviationsEn = array(
- 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug',
- 'Sep', 'Oct', 'Nov', 'Dec'
+ 'jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug',
+ 'sep', 'oct', 'nov', 'dec'
);
# Note to translators:
/* private */ $wgAllMessagesEn = array(
-
+# User preference toggles
+'tog-hover' => 'Show hoverbox over wiki links',
+'tog-underline' => 'Underline links',
+'tog-highlightbroken' => 'Format broken links <a href="" class="new">like this</a> (alternative: like this<a href="" class="internal">?</a>).',
+'tog-justify' => 'Justify paragraphs',
+'tog-hideminor' => 'Hide minor edits in recent changes',
+'tog-usenewrc' => 'Enhanced recent changes (not for all browsers)',
+'tog-numberheadings' => 'Auto-number headings',
+'tog-showtoolbar'=>'Show edit toolbar',
+'tog-editondblclick' => 'Edit pages on double click (JavaScript)',
+'tog-editsection'=>'Enable section editing via [edit] links',
+'tog-editsectiononrightclick'=>'Enable section editing by right clicking<br /> on section titles (JavaScript)',
+'tog-showtoc'=>'Show table of contents<br />(for pages with more than 3 headings)',
+'tog-rememberpassword' => 'Remember password across sessions',
+'tog-editwidth' => 'Edit box has full width',
+'tog-watchdefault' => 'Add pages you edit to your watchlist',
+'tog-minordefault' => 'Mark all edits minor by default',
+'tog-previewontop' => 'Show preview before edit box and not after it',
+'tog-nocache' => 'Disable page caching',
+
+# dates
+'sunday' => 'Sunday',
+'monday' => 'Monday',
+'tuesday' => 'Tuesday',
+'wednesday' => 'Wednesday',
+'thursday' => 'Thursday',
+'friday' => 'Friday',
+'saturday' => 'Saturday',
+'january' => 'January',
+'february' => 'February',
+'march' => 'March',
+'april' => 'April',
+'may_long' => 'May',
+'june' => 'June',
+'july' => 'July',
+'august' => 'August',
+'september' => 'September',
+'october' => 'October',
+'november' => 'November',
+'december' => 'December',
+'jan' => 'Jan',
+'feb' => 'Feb',
+'mar' => 'Mar',
+'apr' => 'Apr',
+'may' => 'May',
+'jun' => 'Jun',
+'jul' => 'Jul',
+'aug' => 'Aug',
+'sep' => 'Sep',
+'oct' => 'Oct',
+'nov' => 'Nov',
+'dec' => 'Dec',
# Bits of text used by many pages:
#
'categories' => 'Categories',
'talkpagetext' => '<!-- MediaWiki:talkpagetext -->',
'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.'' ",
'noarticletext' => '(There is currently no text in this page)',
-'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''.",
-'usercssjsyoucanpreview' => "<strong>Tip:</strong> Use the 'Show preview' button to test your new css/js before saving.",
-'usercsspreview' => "'''Remember that you are only previewing your user css, it has not yet been saved!'''",
-'userjspreview' => "'''Remember that you are only testing/previewing your user javascript, it has not yet been saved!'''",
+'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''.",
+'usercssjsyoucanpreview' => "<strong>Tip:</strong> Use the 'Show preview' button to test your new CSS/JS before saving.",
+'usercsspreview' => "'''Remember that you are only previewing your user CSS, it has not yet been saved!'''",
+'userjspreview' => "'''Remember that you are only testing/previewing your user JavaScript, it has not yet been saved!'''",
'updated' => '(Updated)',
'note' => '<strong>Note:</strong> ',
'previewnote' => 'Remember that this is only a preview, and has not yet been saved!',
#
'orphans' => 'Orphaned pages',
'geo' => 'GEO coordinates',
+'validate' => 'Validate page',
'lonelypages' => 'Orphaned pages',
'unusedimages' => 'Unused images',
'popularpages' => 'Popular pages',
'set_rights_fail' => "<b>User rights for \"$1\" could not be set. (Did you enter the name correctly?)</b>",
'makesysop' => 'Make a user into a sysop',
+# Validation
+'val_clear_old' => 'Clear my other validation data for <a href="$1">this article</a>',
+'val_noop' => 'No opinion',
+'val_percent' => '<b>$1%</b> ($2 of $3 points)',
+'val_tab' => 'Validate',
+'val_this_version' => "<h2>This version</h2>\n",
+'val_version_of' => "<h2>Version of $1</h2>\n" ,
+'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',
+
# Move page
#
'movepage' => 'Move page',
# Info page
"infosubtitle" => "Information for page",
-"numedits" => "Number of edits (article): ",
-"numtalkedits" => "Number of edits (discussion page): ",
-"numwatchers" => "Number of watchers: ",
-"numauthors" => "Number of distinct authors (article): ",
-"numtalkauthors" => "Number of distinct authors (discussion page): ",
+"numedits" => "Number of edits (article): $1",
+"numtalkedits" => "Number of edits (discussion page): $1",
+"numwatchers" => "Number of watchers: $1",
+"numauthors" => "Number of distinct authors (article): $1",
+"numtalkauthors" => "Number of distinct authors (discussion page): $1",
+
# Math options
'mw_math_png' => 'Always render PNG',
'mw_math_simple' => 'HTML if very simple or else PNG',
return $wgDateFormatsEn;
}
+ function getValidationTypes() {
+ global $wgValidationTypesEn;
+ return $wgValidationTypesEn;
+ }
+
function getUserToggles() {
global $wgUserTogglesEn;
return $wgUserTogglesEn;
function getUserToggle( $tog ) {
$togs =& $this->getUserToggles();
- return $togs[$tog];
+ return wfMsg("tog-".$tog);
}
function getLanguageNames() {
function getMonthName( $key )
{
global $wgMonthNamesEn;
- return $wgMonthNamesEn[$key-1];
+ return wfMsg($wgMonthNamesEn[$key-1]);
}
/* by default we just return base form */
function getMonthAbbreviation( $key )
{
global $wgMonthAbbreviationsEn;
- return @$wgMonthAbbreviationsEn[$key-1];
+ return wfMsg(@$wgMonthAbbreviationsEn[$key-1]);
}
function getWeekdayName( $key )
{
global $wgWeekdayNamesEn;
- return $wgWeekdayNamesEn[$key-1];
+ return wfMsg($wgWeekdayNamesEn[$key-1]);
}
function userAdjust( $ts )