MediaWiki:Fileexists-extension
From Techniques for computer generated pictures in complex dynamics
A file with a similar name exists: [[$2|thumb]] * Name of the uploading file: [[:$1]]
- Name of the existing file: $2
Do you perhaps want to use a more distinctive name?