List of steps to reproduce (step by step, including full links if applicable):
- Delete one or more files with [[Special:Nuke]] on a wiki (like enwiki) that includes the markup [[:$1]] in [[MediaWiki:Nuke-deleted]]
What happens?:
Superficially, the output is normal.
However, if you click a link, it will take you to the page [[$'"1]] (single quote, then double), as can be seen in this HTML snippet
<ul> <li>Page <b><a href="/w/index.php?title=$%27%221&action=edit&redlink=1" class="new" title="">File:Chiara Corbella Petrillo.png</a></b> has been deleted <span class="plainlinks">(<a href="/wiki/Special:Undelete/$%27%221" title="Special:Undelete/$'"1">view</a> | <a class="external text" href="https://en.wikipedia.org/w/index.php?title=$%27%221&action=protect">salt</a>)</span>.</li> <li>Page <b><a href="/w/index.php?title=$%27%221&action=edit&redlink=1" class="new" title="$'"1 (page does not exist)">File:Albertina Berkenbrock.png</a></b> has been deleted <span class="plainlinks">(<a href="/wiki/Special:Undelete/$%27%221" title="Special:Undelete/$'"1">view</a> | <a class="external text" href="https://en.wikipedia.org/w/index.php?title=$%27%221&action=protect">salt</a>)</span>.</li> <li>Page <b><a href="/w/index.php?title=$%27%221&action=edit&redlink=1" class="new" title="">File:Elena Spirgevičiūtė.jpg</a></b> has been deleted <span class="plainlinks">(<a href="/wiki/Special:Undelete/$%27%221" title="Special:Undelete/$'"1">view</a> | <a class="external text" href="https://en.wikipedia.org/w/index.php?title=$%27%221&action=protect">salt</a>)</span>.</li> <li>Page <b><a href="/w/index.php?title=$%27%221&action=edit&redlink=1" class="new" title="">File:Elena Spirgevičiūtė.png</a></b> has been deleted <span class="plainlinks">(<a href="/wiki/Special:Undelete/$%27%221" title="Special:Undelete/$'"1">view</a> | <a class="external text" href="https://en.wikipedia.org/w/index.php?title=$%27%221&action=protect">salt</a>)</span>.</li> </ul>
I'm guessing that this is some sort of sanitization hypercorrection caused by @DannyS712's patch to my T304777? This does not happen when nuking pages other than files, as those now are unlinked (but still boldfaced) despite the attempt to make them linked in MediaWiki:Nuke-deleted on enwiki.