diff --git a/includes/ApiParsoidTrait.php b/includes/ApiParsoidTrait.php index d0d2f62ee7..06d806d409 100644 --- a/includes/ApiParsoidTrait.php +++ b/includes/ApiParsoidTrait.php @@ -14,7 +14,6 @@ use Language; use Liuggio\StatsdClient\Factory\StatsdDataFactoryInterface; use MediaWiki\MediaWikiServices; use MediaWiki\Revision\RevisionRecord; -use MediaWiki\WikiMap\WikiMap; use Message; use NullStatsdDataFactory; use PrefixingStatsdDataFactoryProxy; @@ -53,7 +52,7 @@ trait ApiParsoidTrait { * @param StatsdDataFactoryInterface $stats */ protected function setStats( StatsdDataFactoryInterface $stats ) { - $this->stats = new PrefixingStatsdDataFactoryProxy( $stats, WikiMap::getCurrentWikiId() ); + $this->stats = new PrefixingStatsdDataFactoryProxy( $stats, 'VE' ); } /**