Page MenuHomePhabricator

Incorrect URI fragment from echo when heading is a link
Closed, DuplicatePublic

Description

I was just pinged by StevenJ81 at simple wiktionary. I received a global notification. The link was https://simple.wiktionary.org/wiki/Wiktionary:Requests_for_permissions#.5B.5BUser%3ANirmos.5D.5D

As you can see, echo incorrectly takes into account that the heading contains a wikilink, and tries to reverse-engineer it. The problem with that is that [[]] is wikitext and is not present anywhere in the HTML.