Steps to replicate the issue (include links if applicable):
- Create a new page on test wiki
- Create a test wikidata item of the same name
- Add a site link to the test wikidata item to the new page you created via autosuggestsitelink
What happens?:
The site link is added but then a popup appears saying this page already has a sitelink.
What should have happened instead?:
The site link is added but the second popup does not appear.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):