Migrate rollbackconfirmation events to statslib
Bug: T359242 Change-Id: If545df3079f42605c74eeee2cd58b3359e1a9d96
This commit is contained in:
parent
513b57cbf4
commit
70a9135593
1 changed files with 4 additions and 2 deletions
|
|
@ -2047,8 +2047,10 @@ class Linker {
|
|||
if ( $services->getUserOptionsLookup()
|
||||
->getBoolOption( $context->getUser(), 'showrollbackconfirmation' )
|
||||
) {
|
||||
$stats = $services->getStatsdDataFactory();
|
||||
$stats->increment( 'rollbackconfirmation.event.load' );
|
||||
$services->getStatsFactory()
|
||||
->getCounter( 'rollbaseconfirmation_event_load_total' )
|
||||
->copyToStatsdAt( 'rollbackconfirmation.event.load' )
|
||||
->increment();
|
||||
$context->getOutput()->addModules( 'mediawiki.misc-authed-curate' );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue