Page MenuHomePhabricator

wl_notificationtimestamp field is not copied on page moves
Closed, ResolvedPublic

Description

When a page is moved, the new title for the page is added to the watchlist. But the wl_notificationtimestamp field is not copied from the old title to the new, meaning that edits from before the move are not highlighted on the history page and such.

The relevant code appears to be WatchedItem::doDuplicateEntries; simply adding the field to the select and then to the $values array should do it.


Version: 1.25-git
Severity: normal

Details

Reference
bz73219

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 3:46 AM
bzimport set Reference to bz73219.

gerritadmin wrote:

Change 172274 had a related patch set uploaded by Anomie:
Copy wl_notificationtimestamp when copying watchlist entries on move

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

gerritadmin wrote:

Change 172274 merged by jenkins-bot:
Copy wl_notificationtimestamp when copying watchlist entries on move

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