r100005 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100004‎ | r100005 | r100006 >
Date:00:31, 17 October 2011
Author:robin
Status:deferred
Tags:
Comment:
(bug 31617) Update call of User::getGroupMember in WikiForum for gender support
Modified paths:
  • /trunk/extensions/WikiForum/WikiForumClass.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiForum/WikiForumClass.php
@@ -2380,14 +2380,14 @@
23812381 $retVal = $retVal . wfMsg( 'word-separator' ) .
23822382 wfMsg(
23832383 'parentheses',
2384 - User::makeGroupLinkHTML( 'sysop', User::getGroupMember( 'sysop' ) )
 2384+ User::makeGroupLinkHTML( 'sysop', User::getGroupMember( 'sysop', $username ) )
23852385 );
23862386 } elseif ( in_array( 'forumadmin', $groups ) && !$isStaff ) {
23872387 // this madness has to stop...really...
23882388 $retVal = $retVal . wfMsg( 'word-separator' ) .
23892389 wfMsg(
23902390 'parentheses',
2391 - User::makeGroupLinkHTML( 'forumadmin', User::getGroupMember( 'forumadmin' ) )
 2391+ User::makeGroupLinkHTML( 'forumadmin', User::getGroupMember( 'forumadmin', $username ) )
23922392 );
23932393 }
23942394 return $retVal;
@@ -2546,4 +2546,4 @@
25472547 return $id[0];
25482548 }
25492549
2550 -}
\ No newline at end of file
 2550+}

Status & tagging log