(bug 18304) rebuildrecentchanges.php calculates size changes wrongly when multiple...
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 2 Apr 2009 11:23:38 +0000 (11:23 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 2 Apr 2009 11:23:38 +0000 (11:23 +0000)
RELEASE-NOTES
maintenance/rebuildrecentchanges.inc

index 0dd723c..9c1e90c 100644 (file)
@@ -315,6 +315,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   MediaWiki:Sp-contributions-logs for the link to Special:Log
 * Don't add empty title="" attributes to links to anchors on the current page
 * (bug 18291) rebuildrecentchanges.php failed to add deletion log entries
+* (bug 18304) rebuildrecentchanges.php got size changes wrong
 
 == API changes in 1.15 ==
 * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions
index d8a70b7..333676d 100644 (file)
@@ -110,6 +110,7 @@ function rebuildRecentChangesTablePass2()
                        $dbw->query( $sql3 );
                        
                        $lastOldId = intval( $obj->rc_this_oldid );
+                       $lastSize = $size;
                }
        }
        $dbw->freeResult( $res );