Last modified: 2014-11-10 18:30:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T75219, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73219 - wl_notificationtimestamp field is not copied on page moves
wl_notificationtimestamp field is not copied on page moves
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Watchlist (Other open bugs)
1.25-git
All All
: Lowest normal (vote)
: 1.25.0 release
Assigned To: Brad Jorsch
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-10 14:45 UTC by Brad Jorsch
Modified: 2014-11-10 18:30 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Brad Jorsch 2014-11-10 14:45:29 UTC
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.
Comment 1 Gerrit Notification Bot 2014-11-10 17:03:48 UTC
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
Comment 2 Gerrit Notification Bot 2014-11-10 18:27:53 UTC
Change 172274 merged by jenkins-bot:
Copy wl_notificationtimestamp when copying watchlist entries on move

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links