Fix for r58035: PLURAL needs wfMsgExt with 'parsemag' option
authorRaimond Spekking <raymond@users.mediawiki.org>
Thu, 22 Oct 2009 20:00:27 +0000 (20:00 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Thu, 22 Oct 2009 20:00:27 +0000 (20:00 +0000)
'activeusers-summary' is still a valid message.

includes/specials/SpecialActiveusers.php
languages/messages/MessagesEn.php

index 1429a3c..a2a2011 100644 (file)
@@ -139,14 +139,14 @@ class SpecialActiveUsers extends SpecialPage {
                global $wgOut, $wgLang, $wgRCMaxAge;
 
                $this->setHeaders();
-               
+
                $up = new ActiveUsersPager();
 
                # getBody() first to check, if empty
                $usersbody = $up->getBody();
 
                 $s = Html::rawElement( 'div', array( 'class' => 'mw-activeusers-intro' ),
-                        wfMsg( 'activeusers-intro', $wgLang->formatNum( ceil( $wgRCMaxAge / 86400 ) )   )
+                        wfMsgExt( 'activeusers-intro', 'parsemag', $wgLang->formatNum( ceil( $wgRCMaxAge / 86400 ) ) )
                 );
 
                $s .= $up->getPageHeader();
index b9295fc..7d2d057 100644 (file)
@@ -2533,7 +2533,7 @@ Supported protocols: <tt>$1</tt>',
 
 # Special:ActiveUsers
 'activeusers'          => 'Active users list',
-#'activeusers-summary'  => '', # do not translate or duplicate this message to other languages
+'activeusers-summary'  => '', # do not translate or duplicate this message to other languages
 'activeusers-intro'    => 'This is a list of users who had some kind of activity within the last $1 {{PLURAL:$1|day|days}}.',
 'activeusers-count'    => '$1 {{PLURAL:$1|edit|edits}} in the last {{PLURAL:$3|day|$3 days}}',
 'activeusers-from'     => 'Display users starting at:',