Steps to replicate the issue (include links if applicable):
- Edit any article with citations, for instance: https://en.wikipedia.org/wiki/Wind?veaction=edit§ion=1
- Cut the last sentence of a paragraph including the references.
- Paste it elsewhere
What happens?:
The last reference does not get copied. If there are multiple references at the end of a paragraph, only the last one stays behind.
What should have happened instead?:
Reference should have been copied
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Firefox (103.0 now, but have had this for ages). I can't reproduce the error in Edge. Can reproduce on test2.wikipedia.org in Firefox.