From 090477b10cc0c446352c3aef54e3f55eff8bda95 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Thu, 22 Oct 2009 20:00:27 +0000 Subject: [PATCH] Fix for r58035: PLURAL needs wfMsgExt with 'parsemag' option 'activeusers-summary' is still a valid message. --- includes/specials/SpecialActiveusers.php | 4 ++-- languages/messages/MessagesEn.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/specials/SpecialActiveusers.php b/includes/specials/SpecialActiveusers.php index 1429a3c2c8..a2a2011943 100644 --- a/includes/specials/SpecialActiveusers.php +++ b/includes/specials/SpecialActiveusers.php @@ -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(); diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index b9295fce16..7d2d0576a0 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -2533,7 +2533,7 @@ Supported protocols: $1', # 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:', -- 2.20.1