r52872 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52871‎ | r52872 | r52873 >
Date:23:15, 7 July 2009
Author:tparscal
Status:ok
Tags:
Comment:
Fixed bug - used wrong constructor.
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedArticle.php (modified) (history)

Diff [purge]

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

Follow-up revisions

RevisionCommit summaryAuthorDate
r53410Merging UI fixes from trunk; second batch from http://www.mediawiki.org/wiki/......brion18:05, 17 July 2009

Status & tagging log