Commons would like to modify the system message, https://commons.wikimedia.org/wiki/MediaWiki:File-deleted-duplicate, to include a link to the deletion log for the file in question. However, certain files require the parser {{urlencode:...} to function properly. When added to the parser does not render and the system message breaks. Testing on the beta cluster, the message renders as:
A file identical to this file ([[:$1]]) has previously been deleted. You should check that file's [https://commons.wikimedia.beta.wmflabs.org/wiki/Special:Log/delete?type=delete&page={{urlencode:$1}} deletion history] before proceeding to re-upload it.
If the parser could be fixed so we can update the system message to include the link it would be appreciated. We could also add the link from inside MediaWiki itself, so all wikis would benefit :)