I understand you. Thanks.
BUT that solution would need careful consideration when having in mind the common users.
I could use many examples, as different versions of external documents will often have different file names. But to stay in the ISO example, ISO 9001 has version 2008, 2015, etc. The file name will reflect that. To have the same filename would require in the servers, to have two different folders to keep both files as backup, so we can have same filenames.
Suppose a user (not well versed in computers) get ISO9001:2008 by email. He saves to his HD and then uploads it to the Wiki. Then he gets the second version, ISO9001:2015. He will just upload it to the ISO 9001 external document. Versioning the document but not the file.If he tries to rename the file, his PC will tell him that there is already a file with the same name. Most probably will rename the file to ISO9001.2008(2).pdf
He will then upload it and again, new attachment.
My acquaintance Chat Gepeetee () suggests me I either create a new subpage for each new version and somehow only show the newest version or edit the page and add code to only show the last inserted attachment.
It would be really interesting if we could filter attachments by number (a single one) and by last inserted.