List of steps to reproduce (step by step, including full links if applicable):
- Create a page with [[Hello#World|World]];
- Save the page.
No link is rendered.
What should have happened instead?:
The link is rendered.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
MediaWiki 1.35.6 with DisplayTitle 3.1 (5949476). This is probably related to T297930. From my testing, it seems to happen only when the anchor text is the same as the link text.