Index: trunk/phase3/includes/SiteStats.php |
— | — | @@ -258,7 +258,7 @@ |
259 | 259 | # Get non-bot users than did some recent action other than making accounts. |
260 | 260 | # If account creation is included, the number gets inflated ~20+ fold on enwiki. |
261 | 261 | $activeUsers = $dbr->selectField( 'recentchanges', 'COUNT( DISTINCT rc_user_text )', |
262 | | - array( 'rc_user != 0', 'rc_bot' => 0, "rc_log_type != 'newusers'" ), |
| 262 | + array( 'rc_user != 0', 'rc_bot' => 0, "rc_log_type != 'newusers' OR rc_log_type IS NULL" ), |
263 | 263 | __METHOD__ ); |
264 | 264 | $dbw->update( 'site_stats', |
265 | 265 | array( 'ss_active_users' => intval($activeUsers) ), |