Proper way to replace a Wiki file attachment?

Added by Douglas Cox almost 12 years ago

Is there a way to do this other than uploading a new version with the same name and then deleting the old one using the Trash icon?

I tested it and all page (attachment:...) links to the file still seem to work, I just wanted to be sure.