Page MenuHomePhabricator

Update the change_tag table in rebuildrecentchanges.php
Closed, ResolvedPublic

Description

Currently, the rebuildrecentchanges.php script does not update the change_tag table. This means that Special:RecentChanges will either not show any tags, or if the recentchanges table had been truncated (emptied) before running the script, show tags next to the wrong revisions. To fix this problem, the script should update the ct_rc_id field to point to the new rc_id for each tagged revision.

Event Timeline

Change 493639 had a related patch set uploaded (by GeoffreyT2000; owner: GeoffreyT2000):
[mediawiki/core@master] Update the change_tag table in rebuildrecentchanges.php

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

Change 493639 merged by jenkins-bot:
[mediawiki/core@master] Update the change_tag table in rebuildrecentchanges.php

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

Change 571527 had a related patch set uploaded (by Matěj Suchánek; owner: GeoffreyT2000):
[mediawiki/core@REL1_31] Update the change_tag table in rebuildrecentchanges.php

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

Change 571529 had a related patch set uploaded (by Matěj Suchánek; owner: GeoffreyT2000):
[mediawiki/core@REL1_33] Update the change_tag table in rebuildrecentchanges.php

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

Change 571530 had a related patch set uploaded (by Matěj Suchánek; owner: GeoffreyT2000):
[mediawiki/core@REL1_34] Update the change_tag table in rebuildrecentchanges.php

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

Change 582205 had a related patch set uploaded (by GeoffreyT2000; owner: GeoffreyT2000):
[mediawiki/core@REL1_31] Update the tag_summary table too in rebuildrecentchanges.php

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

Change 571527 merged by jenkins-bot:
[mediawiki/core@REL1_31] Update the change_tag table in rebuildrecentchanges.php

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

Change 571530 merged by jenkins-bot:
[mediawiki/core@REL1_34] Update the change_tag table in rebuildrecentchanges.php

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

Change 571529 merged by jenkins-bot:
[mediawiki/core@REL1_33] Update the change_tag table in rebuildrecentchanges.php

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

Change 582205 abandoned by GeoffreyT2000:

[mediawiki/core@REL1_31] Update the tag_summary table too in rebuildrecentchanges.php

Reason:

No point in leaving this open since MediaWiki 1.31 will reach EOL soon.

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

GTrang claimed this task.