Merge "Implement non-JS RollbackAction with form"
[lhc/web/wiklou.git] / includes / Linker.php
index 711b9dc..a02d57d 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' );
                }