Index: trunk/extensions/Oversight/HideRevision_body.php |
— | — | @@ -565,7 +565,7 @@ |
566 | 566 | } |
567 | 567 | $ntext = strval( $rev->getText( Revision::FOR_THIS_USER ) ); |
568 | 568 | |
569 | | - $diffEngine = new DifferenceEngine(); |
| 569 | + $diffEngine = new DifferenceEngine( $rev->mTitle ); |
570 | 570 | $diffEngine->showDiffStyle(); |
571 | 571 | $wgOut->addHTML( |
572 | 572 | "<ul>" . |
Index: trunk/extensions/FlaggedRevs/FlaggedArticleView.php |
— | — | @@ -639,7 +639,7 @@ |
640 | 640 | return false; // deleted revision or something? |
641 | 641 | # Build diff at the top of the page |
642 | 642 | if ( strcmp( $oText, $nText ) !== 0 ) { |
643 | | - $diffEngine = new DifferenceEngine(); |
| 643 | + $diffEngine = new DifferenceEngine( $this->article->getTitle() ); |
644 | 644 | $diffEngine->showDiffStyle(); |
645 | 645 | $n = $this->article->getTitle()->countRevisionsBetween( $srev->getRevId(), $latest ); |
646 | 646 | if ( $n ) { |
— | — | @@ -816,7 +816,7 @@ |
817 | 817 | $text = $this->article->getSection( $text, $section ); |
818 | 818 | } |
819 | 819 | if ( $text !== false && strcmp( $text, $editPage->textbox1 ) !== 0 ) { |
820 | | - $diffEngine = new DifferenceEngine(); |
| 820 | + $diffEngine = new DifferenceEngine( $this->article->getTitle() ); |
821 | 821 | $diffEngine->showDiffStyle(); |
822 | 822 | $diffHtml = |
823 | 823 | wfMsgExt( 'review-edit-diff', 'parseinline' ) . ' ' . |