Steps to replicate the issue:
- Open a page in VisualEditor
- Edit something
- Switch to edit source mode
- Save the page from edit source mode
What happens?:
- Message "The page has been restored." appearing on top of the page
What should have happened instead?:
- Message "Your edit was published." appearing on top of the page
Other information: