diff --git a/includes/FilterRunnerFactory.php b/includes/FilterRunnerFactory.php index c4a961a3a..c4cd5104d 100644 --- a/includes/FilterRunnerFactory.php +++ b/includes/FilterRunnerFactory.php @@ -138,7 +138,7 @@ class FilterRunnerFactory { new EditStashCache( $this->localCache, // Bots do not use edit stashing, so avoid distorting the stats - $user->isBot() ? $this->statsdDataFactory : new NullStatsdDataFactory(), + $user->isBot() ? new NullStatsdDataFactory() : $this->statsdDataFactory, $this->varManager, $this->editStashLogger, $title,