X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fdeferred%2FSiteStatsUpdate.php;h=44876a68ef232ec46e7ca6e405f7a5bd09086b96;hp=2f074ba2d32d0d6d1ed2636a6409f49c21084f3b;hb=5120937028f768749d058aa91dde82a96de0af1c;hpb=b95ca29602793f39191c06cd6941e3f32ab1bbb8 diff --git a/includes/deferred/SiteStatsUpdate.php b/includes/deferred/SiteStatsUpdate.php index 2f074ba2d3..44876a68ef 100644 --- a/includes/deferred/SiteStatsUpdate.php +++ b/includes/deferred/SiteStatsUpdate.php @@ -149,6 +149,7 @@ class SiteStatsUpdate implements DeferrableUpdate, MergeableUpdate { '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',