Index: trunk/phase3/includes/Article.php |
— | — | @@ -2611,8 +2611,11 @@ |
2612 | 2612 | . $wgUser->getSkin()->userToolLinks( $target->getUser(), $target->getUserText() ); |
2613 | 2613 | $wgOut->addHtml( wfMsgExt( 'rollback-success', array( 'parse', 'replaceafter' ), $old, $new ) ); |
2614 | 2614 | $wgOut->returnToMain( false, $this->mTitle ); |
2615 | | - $de = new DifferenceEngine( $this->mTitle, $current->getId(), 'next', false, true ); |
2616 | | - $de->showDiff( '', '' ); |
| 2615 | + |
| 2616 | + if( !$wgRequest->getBool( 'hidediff', false ) ) { |
| 2617 | + $de = new DifferenceEngine( $this->mTitle, $current->getId(), 'next', false, true ); |
| 2618 | + $de->showDiff( '', '' ); |
| 2619 | + } |
2617 | 2620 | } |
2618 | 2621 | |
2619 | 2622 | |