Count number of usages for Rollback Confirmation Prompt
Bug: T215796 Change-Id: If8536955f4988440af053525ec9d761d4a60794c
This commit is contained in:
parent
135718b904
commit
7dc340656e
1 changed files with 2 additions and 0 deletions
|
|
@ -1769,6 +1769,8 @@ class Linker {
|
|||
}
|
||||
|
||||
if ( $context->getUser()->getBoolOption( 'showrollbackconfirmation' ) ) {
|
||||
$stats = MediaWikiServices::getInstance()->getStatsdDataFactory();
|
||||
$stats->increment( 'rollbackconfirmation.event.load' );
|
||||
$context->getOutput()->addModules( 'mediawiki.page.rollback.confirmation' );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue