Index: trunk/phase3/includes/specials/SpecialStatistics.php |
— | — | @@ -161,14 +161,22 @@ |
162 | 162 | array( 'class' => 'mw-statistics-jobqueue' ) ); |
163 | 163 | } |
164 | 164 | private function getUserStats() { |
165 | | - global $wgLang, $wgRCMaxAge; |
| 165 | + global $wgLang, $wgUser, $wgRCMaxAge; |
| 166 | + $sk = $wgUser->getSkin(); |
166 | 167 | return Xml::openElement( 'tr' ) . |
167 | 168 | Xml::tags( 'th', array( 'colspan' => '2' ), wfMsgExt( 'statistics-header-users', array( 'parseinline' ) ) ) . |
168 | 169 | Xml::closeElement( 'tr' ) . |
169 | 170 | $this->formatRow( wfMsgExt( 'statistics-users', array( 'parseinline' ) ), |
170 | 171 | $wgLang->formatNum( $this->users ), |
171 | 172 | array( 'class' => 'mw-statistics-users' ) ) . |
172 | | - $this->formatRow( wfMsgExt( 'statistics-users-active', array( 'parseinline' ) ), |
| 173 | + $this->formatRow( wfMsgExt( 'statistics-users-active', array( 'parseinline' ) ) . ' ' . |
| 174 | + $sk->link( |
| 175 | + SpecialPage::getTitleFor( 'Activeusers' ), |
| 176 | + wfMsgHtml( 'listgrouprights-members' ), |
| 177 | + array(), |
| 178 | + array(), |
| 179 | + 'known' |
| 180 | + ), |
173 | 181 | $wgLang->formatNum( $this->activeUsers ), |
174 | 182 | array( 'class' => 'mw-statistics-users-active' ), |
175 | 183 | 'statistics-users-active-desc', |