Steps to replicate the issue (include links if applicable):
- Visit https://meta.wikimedia.org/wiki/Special:MyLanguage/Special:MyLanguage/Test
- Alternatively, visit https://incubator.wikimedia.org/wiki/Special:MyLanguage or https://meta.wikimedia.org/wiki/Special:MyLanguage (the reason I discovered this bug)
What happens?:
- You just get a completely blank page
What should have happened instead?:
- Special:MyLanguage should handle self-references/loops more graciously by removing any repeats "Special:MyLanguage" before trying to resolve the URL
This is most noticeable when you visit a plain [[Special:MyLanguage]] on incubatorwiki or metawiki; on those wikis, the main page (via MediaWiki:Mainpage) is set to "Special:MyLanguage/Main page", which essentially leads Special:MyLanguage to double (even if it's not visible).
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):