What is the problem?
If you unwatch a page via action=unwatch, on the success page the watch star shows the previous state (i.e. full or half-shaded star). On refresh, the correct empty star shows.
Steps to reproduce problem
- Go to https://en.wikipedia.beta.wmflabs.org/w/index.php?title=Selenium_Echo_link_test_0.8809995352983244&action=unwatch
- Click the watch star (you can set a temporary or permanent watch, does not matter)
- Click the "Yes" button
- If the user unwatches a page via action=unwatch, the star should automatically be empty (rather than displaying the previous state)
Expected behavior: You go to a success page and the watch star is empty
Observed behavior: On the success page, watch star is full/half-full
Extra Notes: If one tries to unwatch a page *not* via the AJAX star, but by direct link to e.g. /w/index.php?title=Foo&action=unwatch (and submit the confirmation form), that POST response has at the top of it a solid blue star. A refresh corrects the error.