From: GeoffreyT2000 Date: Wed, 21 Feb 2018 00:32:03 +0000 (-0800) Subject: Set the previous size for page creations to zero in rebuildrecentchanges.php X-Git-Tag: 1.34.0-rc.0~4559 X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=commitdiff_plain;h=0679b22319470cea0f502faad440e0ebd2a7e144;p=lhc%2Fweb%2Fwiklou.git Set the previous size for page creations to zero in rebuildrecentchanges.php The rebuildrecentchanges.php script should set the previous size for page creations to zero, not null, in order to make the new page's size actually appear on Special:RecentChanges. Bug: T187842 Change-Id: I9823c5fe6f0503208b347e1ece9a1f894dba24c3 --- diff --git a/maintenance/rebuildrecentchanges.php b/maintenance/rebuildrecentchanges.php index 471c7aedd7..903cd409c9 100644 --- a/maintenance/rebuildrecentchanges.php +++ b/maintenance/rebuildrecentchanges.php @@ -221,7 +221,7 @@ class RebuildRecentchanges extends Maintenance { } else { # No previous edit $lastOldId = 0; - $lastSize = null; + $lastSize = 0; $new = 1; // probably true } }