Merge "Revert "Show parser output for diffs unless extension aborts""

This commit is contained in:
jenkins-bot 2016-07-06 21:49:13 +00:00 committed by Gerrit Code Review
commit b8115ce691

View file

@ -638,7 +638,7 @@ class DifferenceEngine extends ContextSource {
# WikiPage::getParserOutput() should not return false, but just in case
if ( $parserOutput ) {
// Allow extensions to change parser output here
if ( Hooks::run( 'DifferenceEngineRenderRevisionAddParserOutput', [ $this, $out, $parserOutput, $wikiPage ] ) ) {
if ( !Hooks::run( 'DifferenceEngineRenderRevisionAddParserOutput', [ $this, $out, $parserOutput, $wikiPage ] ) ) {
$out->addParserOutput( $parserOutput );
}
}