Steps to replicate the issue (include links if applicable):
- Go to https://test.wikipedia.org/wiki/Special:EditWatchlist
- Make sure you have at least one watchlist label
- Selected at least one page in the "Pages" list (if the list is empty, add any page to your watchlist first)
- Reload the page and makes sure the page in the list is still selected
- Click "Assign labels"
What happens?:
An error is displayed: "Please select the pages to which you would like to assign labels."
This error should only be shown when no pages are selected.
What should have happened instead?:
No error should be shown and the dialog should allow the user to assign watchlist labels to the selected pages.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
