As a Watchlist Expiry user, when rolling back a page that I'm temporarily watching, I want the "watch status" to be accurately represented after the action is completed.
A WatchedItem object is being cached with no expiry when a page is being temporarily watched resulting in an incorrect representation of the watch status (full star) after the rollback is completed
- Pass thru the expiry to the addWatch call on RollbackPage.php:188
- Make sure to fetch the current watched item from the DB when building up the cache on WatchedItemStore.php:996
- If a page is rolled back and automatically watched, and if a temporary watch period was already selected, the temporary selection should be accurately represented after the action is completed.
How users specify automatic rollback in Preferences > Watchlist
Example of how user can rollback an edit
Example of what user sees after rollback: