Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php |
— | — | @@ -962,7 +962,7 @@ |
963 | 963 | // Loads messages for flagged revisions UI |
964 | 964 | wfLoadExtensionMessages( 'FlaggedRevs' ); |
965 | 965 | // Creates article object from title |
966 | | - $article = Article::newFromTitle( $title ); |
| 966 | + $article = new Article( $title ); |
967 | 967 | // Gets the status of whether the article is the stable revision |
968 | 968 | $synced = FlaggedRevs::stableVersionIsSynced( $srev, $article ); |
969 | 969 | // Checks if this page is not a talk page and not the stable version |