diff --git a/includes/EditPage.php b/includes/EditPage.php index 47912cb8c2c..277a6cc6d8b 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -3457,6 +3457,9 @@ HTML global $wgOut; if ( Hooks::run( 'EditPageBeforeConflictDiff', array( &$this, &$wgOut ) ) ) { + $stats = $wgOut->getContext()->getStats(); + $stats->increment( 'edit.failures.conflict' ); + $wgOut->wrapWikiMsg( '

$1

', "yourdiff" ); $content1 = $this->toEditContent( $this->textbox1 );