X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FEditPage.php;h=277a6cc6d8bc2d3346a98c89b54ecc6a0ed18f54;hb=2c085ac5a3c8020958d52554e13317feef30ffaf;hp=47912cb8c2c3f09b07184b777dcdcf0e3b998e62;hpb=e95100da6ebb786c24f284b9f84a8117bc3e3d99;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/EditPage.php b/includes/EditPage.php index 47912cb8c2..277a6cc6d8 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 );