When a new page is created, the rc_old_len value (previous revision size) for the creation is set to zero. To be consistent, the rebuildrecentchanges.php script should also set the rc_old_len value for page creations to zero, rather than null. Otherwise, the Main Page (by default 735 bytes) and other new pages will not show the size on Special:RecentChanges.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Set the previous size for page creations to zero in rebuildrecentchanges.php | mediawiki/core | master | +1 -1 |
Event Timeline
Comment Actions
Change 413073 had a related patch set uploaded (by GeoffreyT2000; owner: GeoffreyT2000):
[mediawiki/core@master] Set the previous size for page creations to zero in rebuildrecentchanges.php
Comment Actions
We should have an integration test that makes a few contributors, checks the recent changes table, and then checks again after rebuilding the table. Right now it’s all manually checked.
Comment Actions
Change 413073 merged by jenkins-bot:
[mediawiki/core@master] Set the previous size for page creations to zero in rebuildrecentchanges.php