Page MenuHomePhabricator

Use log_page for rc_cur_id in rebuildrecentchanges.php
Closed, ResolvedPublic

Description

Since there is now a log_page field that doesn't change when pages are moved or deleted, or deleted pages are recreated, we should have rebuildrecentchanges.php use the log_page field instead of the page_id as the rc_cur_id for the recent changes entries corresponding to log entries. Doing so would ensure that the page moves appear correctly when viewing the RecentChangesLinked special page for a category, and in case of deleted pages being recreated, the deletion does not incorrectly appear.

Event Timeline

Change 409193 had a related patch set uploaded (by GeoffreyT2000; owner: GeoffreyT2000):
[mediawiki/core@master] Use log_page as the rc_cur_id for log entries in rebuildrecentchanges.php

https://gerrit.wikimedia.org/r/409193

Change 409193 merged by jenkins-bot:
[mediawiki/core@master] Use log_page as the rc_cur_id for log entries in rebuildrecentchanges.php

https://gerrit.wikimedia.org/r/409193

GeoffreyT2000 claimed this task.

The change has been merged, so now this can be closed as resolved.