Steps to Reproduce:
- Go to an article on enwiki where its corresponding draft also exists (e.g.https://en.wikipedia.org/wiki/Haami_2)
- Go to tools -> MoveToDraft
- Click Continue at the bottom
- An error is thrown stating "Could not move page: API error: articleexists".
- Click Cancel
Actual Results:
- The AFC template is added to the article and a message is posted to the article creator/contributor's talk page
Expected Results:
- No tasks should continue once Cancel is pressed on the error popup.
Reported on enwiki by Pppery