From 080c6ea3369c5696c1990360e3e0c1a3e63e7d33 Mon Sep 17 00:00:00 2001 From: Rotem Liss Date: Tue, 3 Jun 2008 13:07:28 +0000 Subject: [PATCH] Link to the group pages in Special:Preferences. --- includes/SpecialPreferences.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/includes/SpecialPreferences.php b/includes/SpecialPreferences.php index a79de27d62..cdff571598 100644 --- a/includes/SpecialPreferences.php +++ b/includes/SpecialPreferences.php @@ -611,13 +611,7 @@ class PreferencesForm { // Skip the default * group, seems useless here continue; } - $msgName = 'group-' . $ueg; - $groupName = wfMsg( $msgName ); - if( wfEmptyMsg( $msgName, $groupName ) ) { - // No localized groupname available - $groupName = $ueg; - } - $userEffectiveGroupsArray[] = $groupName; + $userEffectiveGroupsArray[] = User::makeGroupLinkHTML( $ueg ); } asort( $userEffectiveGroupsArray ); -- 2.20.1