From: Roan Kattouw Date: Thu, 2 Apr 2009 11:23:38 +0000 (+0000) Subject: (bug 18304) rebuildrecentchanges.php calculates size changes wrongly when multiple... X-Git-Tag: 1.31.0-rc.0~42249 X-Git-Url: http://git.cyclocoop.org/%22%24myurl&offset=%24lastts&limit=%24limit%24xnsurl%24boturl/%22-.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%24url_a%20.%20%22?a=commitdiff_plain;h=b663a4f8c35b53b1b4f80292cfaba0d6cf896716;p=lhc%2Fweb%2Fwiklou.git (bug 18304) rebuildrecentchanges.php calculates size changes wrongly when multiple revisions to the same page happen right after each other --- 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 );