We already exclude external (mostly Wikidata) actions from counting on
Special:ActiveUsers as of
56524c05. Should be consistent.
Change-Id: Ib69a614a65246a0f4f47365751f9bef130f47475
'recentchanges',
'COUNT( DISTINCT rc_user_text )',
[
'recentchanges',
'COUNT( DISTINCT rc_user_text )',
[
+ 'rc_type != ' . $dbr->addQuotes( RC_EXTERNAL ), // Exclude external (Wikidata)
'rc_user != 0',
'rc_bot' => 0,
'rc_log_type != ' . $dbr->addQuotes( 'newusers' ) . ' OR rc_log_type IS NULL',
'rc_user != 0',
'rc_bot' => 0,
'rc_log_type != ' . $dbr->addQuotes( 'newusers' ) . ' OR rc_log_type IS NULL',