Steps to replicate the issue (include links if applicable):
- Open any enwiki article in visual editor
- Open template insertion widget
- Type "Commonscat-inline" in the search box
What happens?:
What should have happened instead?:
https://en.wikipedia.org/w/index.php?title=Template:Commonscat-inline&redirect=no exists, so that template is included in the search results
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Firefox 140.5.0esr-1
