r82923 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82922‎ | r82923 | r82924 >
Date:02:02, 28 February 2011
Author:aaron
Status:ok
Tags:
Comment:
Simple performance tweak to findPendingFileChanges()
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevision.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevision.php
@@ -730,6 +730,7 @@
731731 $updated = ( $file->getTimestamp() > $tsStable ); // edited/created
732732 }
733733 $deleted = $tsStable // included file deleted after review
 734+ && $file->getTimestamp() != $tsStable
734735 && !wfFindFile( $title, array( 'time' => $tsStable ) );
735736 } else { // file doesn't exists
736737 $updated = false;

Follow-up revisions

RevisionCommit summaryAuthorDate
r85033MFT more extension revs: r82601, r82654, r82698, r82755, r82756, r82759, r829...demon18:49, 30 March 2011

Status & tagging log