What is the problem?
If I am watching Page_A and I use the API to move it to Page_B and I select the watchlist parameter unwatch:
- Page_A is unwatched
- Page_B is watched
It seems more consistent with the unwatch option that both should be unwatched.
Steps to reproduce problem
- Go to any page and watch it (does not matter if permanently or temporarily)
- Use the API to move the page, selecting for the "watchlist" parameter "unwatch" (e.g. on beta you could use the sandbox: https://en.wikipedia.beta.wmflabs.org/wiki/Special:ApiSandbox#action=move&format=json&from=TemplateUsageArticle820&to=TemplateUsageArticle820_moved&watchlist=unwatch)
Expected behavior: Both the old and new pages are unwatched
Observed behavior: The old page is unwatched, the new page is watched
Wiki(s): Beta: MediaWiki 1.36.0-alpha (fbfa8f1) 12:47, 16 July 2020