mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-27 15:50:29 +00:00
Merge "Stop collecting stats per wiki"
This commit is contained in:
commit
ac4032eff5
|
@ -14,7 +14,6 @@ use Language;
|
||||||
use Liuggio\StatsdClient\Factory\StatsdDataFactoryInterface;
|
use Liuggio\StatsdClient\Factory\StatsdDataFactoryInterface;
|
||||||
use MediaWiki\MediaWikiServices;
|
use MediaWiki\MediaWikiServices;
|
||||||
use MediaWiki\Revision\RevisionRecord;
|
use MediaWiki\Revision\RevisionRecord;
|
||||||
use MediaWiki\WikiMap\WikiMap;
|
|
||||||
use Message;
|
use Message;
|
||||||
use NullStatsdDataFactory;
|
use NullStatsdDataFactory;
|
||||||
use PrefixingStatsdDataFactoryProxy;
|
use PrefixingStatsdDataFactoryProxy;
|
||||||
|
@ -53,7 +52,7 @@ trait ApiParsoidTrait {
|
||||||
* @param StatsdDataFactoryInterface $stats
|
* @param StatsdDataFactoryInterface $stats
|
||||||
*/
|
*/
|
||||||
protected function setStats( StatsdDataFactoryInterface $stats ) {
|
protected function setStats( StatsdDataFactoryInterface $stats ) {
|
||||||
$this->stats = new PrefixingStatsdDataFactoryProxy( $stats, WikiMap::getCurrentWikiId() );
|
$this->stats = new PrefixingStatsdDataFactoryProxy( $stats, 'VE' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue