The UI of Protect Page form was recently changed in dewiki, probably due to task #T235424. Since then the "Seite beobachten" (Watch page) checkbox is not checked on opening the form leading to unwatch on protect.
Steps to Reproduce:
- As an admin open the Protect Page form on a page that you are watching.
- Protect the page without changing the "Seite beobachten" (Watch page) checkbox.
Actual Results:
- After step 1 the "Seite beobachten" (Watch page) checkbox is not checked.
- After step 2 the page becomes unwatched.
Expected Results:
- After step 1 the "Seite beobachten" (Watch page) checkbox is checked reflecting that you are already watching the page.
- After step 2 the page stays on the watchlist.
QA
- The checkbox should default to checked
- Prefilling has no effect on checkbox e.g. http://localhost:8888/w/index.php?title=Map_test&action=protect&mwProtectWatch=0 does not unset it and http://localhost:8888/w/index.php?title=Map_test&action=protect&mwProtectWatch=1 does not set it
- If I unwatch the page and hit protect the checkbox should be checked (Whether you are watching the page already or not has no effect on the checkbox.)