Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -1743,7 +1743,7 @@ |
1744 | 1744 | if( $wgFlaggedRevsAutoReviewNew && !$editPage->getArticle()->getId() ) { |
1745 | 1745 | return true; // not needed |
1746 | 1746 | } |
1747 | | - $fa = FlaggedArticle::getTitleInstance( $editPage->getArticle() ); |
| 1747 | + $fa = FlaggedArticleView::globalArticleInstance(); |
1748 | 1748 | if( $fa->isReviewable() && !$fa->limitedUI() ) { |
1749 | 1749 | $srev = $fa->getStableRev(); |
1750 | 1750 | # For pages with either no stable version, or an outdated one, let |