Revision: 52248 Author: siebrand Date: 2009-06-21 18:50:45 +0000 (Sun, 21 Jun 2009)
Log Message: ----------- Allow use of GENDER in 'listusers-blocked' Modified Paths: -------------- trunk/phase3/includes/specials/SpecialActiveusers.php Modified: trunk/phase3/includes/specials/SpecialActiveusers.php =================================================================== --- trunk/phase3/includes/specials/SpecialActiveusers.php 2009-06-21 18:26:29 UTC (rev 52247) +++ trunk/phase3/includes/specials/SpecialActiveusers.php 2009-06-21 18:50:45 UTC (rev 52248) @@ -79,7 +79,8 @@ } function formatRow( $row ) { - $userPage = Title::makeTitle( NS_USER, $row->rc_user_text ); + $userName = $row->rc_user_text; + $userPage = Title::makeTitle( NS_USER, $userName ); $name = $this->getSkin()->makeLinkObj( $userPage, htmlspecialchars( $userPage->getText() ) ); $list = array(); @@ -89,7 +90,7 @@ $item = wfSpecialList( $name, $groups ); $count = wfMsgExt( 'activeusers-count', array('parsemag'), $row->recentedits ); - $blocked = $row->blocked ? ' '.wfMsg('listusers-blocked') : ''; + $blocked = $row->blocked ? ' ' . wfMsgExt( 'listusers-blocked', array( 'parsemag' ), $userName ) : ''; return "<li>{$item} [{$count}]{$blocked}</li>"; } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs