dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3354e8d
)
Revert "Show parser output for diffs unless extension aborts"
author
MaxSem
<maxsem.wiki@gmail.com>
Wed, 6 Jul 2016 21:30:13 +0000
(21:30 +0000)
committer
Thcipriani
<tcipriani@wikimedia.org>
Wed, 6 Jul 2016 21:32:44 +0000
(21:32 +0000)
Reverting the underlying change.
This reverts commit
3354e8d550e6d650a0b1681fcad427559aea25ce
.
Bug: T139526
Change-Id: I2e0f2098981bda411f360eea89e5fac3b644f043
includes/diff/DifferenceEngine.php
patch
|
blob
|
history
diff --git
a/includes/diff/DifferenceEngine.php
b/includes/diff/DifferenceEngine.php
index
deeb405
..
c5e94c5
100644
(file)
--- a/
includes/diff/DifferenceEngine.php
+++ b/
includes/diff/DifferenceEngine.php
@@
-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 );
}
}