r56529 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56528‎ | r56529 | r56530 >
Date:15:38, 17 September 2009
Author:aaron
Status:ok
Tags:
Comment:
Merged r56528: sync bug fix for talk pages
Modified paths:
  • /branches/wmf-deployment/extensions/FlaggedRevs/FlaggedArticle.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/extensions/FlaggedRevs/FlaggedArticle.php
@@ -959,6 +959,7 @@
960960 global $wgRequest, $wgUser, $wgFlaggedRevTabs;
961961
962962 $title = $this->parent->getTitle()->getSubjectPage();
 963+ $article = new Article( $title );
963964 $action = $wgRequest->getVal( 'action', 'view' );
964965 $fa = FlaggedArticle::getTitleInstance( $title );
965966 if ( !$fa->isReviewable() || $this->limitedUI() ) {
@@ -971,7 +972,7 @@
972973 return true;
973974 }
974975 wfLoadExtensionMessages( 'FlaggedRevs' );
975 - $synced = FlaggedRevs::stableVersionIsSynced( $srev, $this->parent );
 976+ $synced = FlaggedRevs::stableVersionIsSynced( $srev, $article );
976977 if ( !$skin->mTitle->isTalkPage() && !$synced ) {
977978 if ( isset( $views['edit'] ) ) {
978979 if ( $this->showStableByDefault() ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r56528Fixed bug from r53507 : talk page confused with article page for sync checkaaron15:36, 17 September 2009

Status & tagging log