As a Watchlist Expiry user, I want the star to be automatically updated when I make a watch period selection via edit, so that I can immediately see the relevant watch period in the star (shading & tooltip).
Acceptance Criteria:
- If the user watches via legacy source editor (temporary or permanent), the star and tooltip should be automatically updated upon saving changes
- If the user edits a temporary watch period via source editing, the star and tooltip should be automatically updated upon saving changes
- If the user unwatches via source editing, the star and tooltip should be automatically updated upon saving changes
- Investigate/fix the issue in T256654
Steps to reproduce:
- Use the legacy wikitext editor
- On a page not on your watchlist (new page, or existing page):
- Edit the page, include any change in your edit
- Select "watch" using the 'watchthis' control check box
- Publish the page
- The page now opens for reading, however the watchlink or star still reports the page is not watched
Desired behavior: when the page re-enters reading mode, the now-current watched status should be used to display the appropriate tab controls
Note: the page does actually get added to the watchlist, and manually reloading the page will correct the display
Originally reported on enwiki by BlackcurrantTea (c.f. https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&oldid=965128101#New_talk_pages_not_getting_watched)