From b663a4f8c35b53b1b4f80292cfaba0d6cf896716 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 2 Apr 2009 11:23:38 +0000 Subject: [PATCH] (bug 18304) rebuildrecentchanges.php calculates size changes wrongly when multiple revisions to the same page happen right after each other --- RELEASE-NOTES | 1 + maintenance/rebuildrecentchanges.inc | 1 + 2 files changed, 2 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 0dd723c7da..9c1e90c796 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 diff --git a/maintenance/rebuildrecentchanges.inc b/maintenance/rebuildrecentchanges.inc index d8a70b7cb9..333676d685 100644 --- a/maintenance/rebuildrecentchanges.inc +++ b/maintenance/rebuildrecentchanges.inc @@ -110,6 +110,7 @@ function rebuildRecentChangesTablePass2() $dbw->query( $sql3 ); $lastOldId = intval( $obj->rc_this_oldid ); + $lastSize = $size; } } $dbw->freeResult( $res ); -- 2.20.1