From 0679b22319470cea0f502faad440e0ebd2a7e144 Mon Sep 17 00:00:00 2001 From: GeoffreyT2000 Date: Tue, 20 Feb 2018 16:32:03 -0800 Subject: [PATCH] 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 --- maintenance/rebuildrecentchanges.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } } -- 2.20.1