Count number of usages for Rollback Confirmation Prompt
[lhc/web/wiklou.git] / includes / Linker.php
index 6f11c1c..4f9d423 100644 (file)
@@ -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' );
                }