Steps to replicate the issue (include links if applicable):
- Try to edit https://commons.wikimedia.org/wiki/File:Unknown_flower_in_Tawangmangu.webm
- After finished, I clicked "Overwrite" button, (and then the Upload to Commons button), expecting that it would overwrite that file
- The tool uploaded the result as a new file, regardless: https://commons.wikimedia.org/wiki/File:Unknown_flower_in_Tawangmangu_edited_0.webm
What happens?:
I was expecting to overwrite the old video, but instead the result was uploaded as a new file instead, which I didn't wish. I didn't want to try doing it again to reproduce the error.
What should have happened instead?:
When I click "Overwrite", first, it shouldn't offer me this templates
|source={{Derived from|1=blablabla}}
and
{{Extracted from|File:blablabla}}
and then, it should overwrite the file, not create a new file
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):


