Index: branches/priyanka-wmf-fixes/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -1813,13 +1813,13 @@ |
1814 | 1814 | /* |
1815 | 1815 | * If an article is reviewable, get custom article contents from the FlaggedArticleView |
1816 | 1816 | */ |
1817 | | - public static function onArticleContentOnDiff( $diffEngine, $out, $newRevId ) { |
| 1817 | + public static function onArticleContentOnDiff( $diffEngine, $out ) { |
1818 | 1818 | $fa = FlaggedArticle::getTitleInstance( $out->getTitle() ); |
1819 | 1819 | if ( !$fa->isReviewable() ) { |
1820 | 1820 | return true; // nothing to do |
1821 | 1821 | } |
1822 | 1822 | $view = FlaggedArticleView::singleton(); |
1823 | | - $view->addCustomContentHtml( $out, $newRevId ); |
| 1823 | + $view->addCustomContentHtml( $out, $diffEngine->getNewid() ); |
1824 | 1824 | return false; |
1825 | 1825 | } |
1826 | 1826 | |