Index: trunk/phase3/includes/specials/SpecialUserrights.php |
— | — | @@ -429,12 +429,14 @@ |
430 | 430 | } |
431 | 431 | |
432 | 432 | $grouplist = ''; |
433 | | - if( count( $list ) > 0 ) { |
434 | | - $grouplist = wfMsgHtml( 'userrights-groupsmember' ); |
| 433 | + $count = count( $list ); |
| 434 | + if( $count > 0 ) { |
| 435 | + $grouplist = wfMsgHtml( 'userrights-groupsmember', $count); |
435 | 436 | $grouplist = '<p>' . $grouplist . ' ' . $wgLang->listToText( $list ) . "</p>\n"; |
436 | 437 | } |
437 | | - if( count( $autolist ) > 0 ) { |
438 | | - $autogrouplistintro = wfMsgHtml( 'userrights-groupsmember-auto' ); |
| 438 | + $count = count( $autolist ); |
| 439 | + if( $count > 0 ) { |
| 440 | + $autogrouplistintro = wfMsgHtml( 'userrights-groupsmember-auto', $count); |
439 | 441 | $grouplist .= '<p>' . $autogrouplistintro . ' ' . $wgLang->listToText( $autolist ) . "</p>\n"; |
440 | 442 | } |
441 | 443 | $wgOut->addHTML( |