From ec6a5d1612c2ffcc304504b605cbf2fb43986af2 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 8 Apr 2010 10:15:04 +0000 Subject: [PATCH] * (bug 16817) Group names in user rights log are now singular and in lowercase --- RELEASE-NOTES | 1 + includes/LogPage.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 3da77e6b46..ebaf08bf31 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -97,6 +97,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 23078) "All public logs" option on Special:Log is now always the first item * Special:ChangePassword no longer loads user javascript +* (bug 16817) Group names in user rights log are now singular and in lowercase === API changes in 1.17 === * (bug 22738) Allow filtering by action type on query=logevent diff --git a/includes/LogPage.php b/includes/LogPage.php index 62eb3823ed..b79ff10b57 100644 --- a/includes/LogPage.php +++ b/includes/LogPage.php @@ -189,7 +189,7 @@ class LogPage { $rightsnone = wfMsg( 'rightsnone' ); foreach ( $params as &$param ) { $groupArray = array_map( 'trim', explode( ',', $param ) ); - $groupArray = array_map( array( 'User', 'getGroupName' ), $groupArray ); + $groupArray = array_map( array( 'User', 'getGroupMember' ), $groupArray ); $param = $wgLang->listToText( $groupArray ); } } else { -- 2.20.1