r24965 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24964‎ | r24965 | r24966 >
Date:21:19, 20 August 2007
Author:aaron
Status:old
Tags:
Comment:
*Fix key bug
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/FlaggedRevsPage_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -1582,7 +1582,7 @@
15831583 // Hack, image -> timestamp mapping
15841584 foreach( $out->mImageSHA1Keys as $dbkey => $timeAndSHA1 ) {
15851585 foreach( $timeAndSHA1 as $time => $sha1 ) {
1586 - $imageParams .= $dbkey . "|" . $time . "#" . $sha1 . "#";
 1586+ $imageParams .= $dbkey . "|" . $time . "|" . $sha1 . "#";
15871587 }
15881588 }
15891589 $form .= Xml::hidden( 'imageParams', $imageParams ) . "\n";
Index: trunk/extensions/FlaggedRevs/FlaggedRevsPage_body.php
@@ -347,7 +347,7 @@
348348 'fi_rev_id' => $rev->getId(),
349349 'fi_name' => $img_title->getDBKey(),
350350 'fi_img_timestamp' => $timestamp,
351 - 'fr_img_sha1' => $key
 351+ 'fi_img_sha1' => $key
352352 );
353353 }
354354

Status & tagging log