Index: trunk/phase3/includes/specials/SpecialActiveusers.php |
— | — | @@ -32,6 +32,16 @@ |
33 | 33 | */ |
34 | 34 | class ActiveUsersPager extends UsersPager { |
35 | 35 | |
| 36 | + /** |
| 37 | + * @var FormOptions |
| 38 | + */ |
| 39 | + protected $opts; |
| 40 | + |
| 41 | + /** |
| 42 | + * @var Array |
| 43 | + */ |
| 44 | + protected $groups; |
| 45 | + |
36 | 46 | function __construct( $group = null ) { |
37 | 47 | global $wgRequest, $wgActiveUserDays; |
38 | 48 | $this->RCMaxAge = $wgActiveUserDays; |
— | — | @@ -96,7 +106,7 @@ |
97 | 107 | 'USE INDEX' => array( 'recentchanges' => 'rc_user_text' ) |
98 | 108 | ), |
99 | 109 | 'join_conds' => array( |
100 | | - 'user' => array( 'INNER JOIN', 'rc_user_text=user_name' ), |
| 110 | + 'user' => array( 'INNER JOIN', 'rc_user=user_id' ), |
101 | 111 | 'ipblocks' => array( 'LEFT JOIN', 'user_id=ipb_user AND ipb_auto=0 AND ipb_deleted=1' ), |
102 | 112 | ), |
103 | 113 | 'conds' => $conds |