r41568 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41567‎ | r41568 | r41569 >
Date:21:22, 2 October 2008
Author:aaron
Status:old
Tags:
Comment:
Typo: $title -> $nt
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -494,7 +494,7 @@
495495 $ig->mParser->mOutput->fr_ImageSHA1Keys[$nt->getDBkey()] = array();
496496 $ig->mParser->mOutput->fr_ImageSHA1Keys[$nt->getDBkey()][$time] = $sha1;
497497 # Bug 15748, be lax about commons image sync status
498 - $file = $file ? $file : wfFindFile( $title, $time ); # FIXME: would be nice not to double fetch!
 498+ $file = $file ? $file : wfFindFile( $nt, $time ); # FIXME: would be nice not to double fetch!
499499 if( $file && $file->isLocal() && $time > $ig->mParser->mOutput->fr_newestImageTime ) {
500500 $ig->mParser->mOutput->fr_newestImageTime = $time;
501501 }

Status & tagging log