Make EditPage::incrementConflictStats protected
authoraddshore <addshorewiki@gmail.com>
Sun, 26 Feb 2017 16:50:21 +0000 (16:50 +0000)
committeraddshore <addshorewiki@gmail.com>
Sun, 26 Feb 2017 16:50:21 +0000 (16:50 +0000)
This will be overridden by the TwoColConflict
extension & beta feature...

Bug: T158754
Change-Id: Ia0099540032da2d490b2a8eee82a7ae70eff0f9e

includes/EditPage.php

index 34062c0..f9bb3cd 100644 (file)
@@ -3563,7 +3563,7 @@ HTML
                }
        }
 
-       private function incrementConflictStats() {
+       protected function incrementConflictStats() {
                $stats = MediaWikiServices::getInstance()->getStatsdDataFactory();
                $stats->increment( 'edit.failures.conflict' );
                // Only include 'standard' namespaces to avoid creating unknown numbers of statsd metrics