On https://www.wikidata.org/wiki/Wikidata:Main_Page type Special:Version. 'No match' warning will be displayed but clicking on the search icon will redirect to the correct page - Special:Version:
- It seems to be specific to wikidata
- the issue is also reproducible on https://wikidata.beta.wmflabs.org/wiki/
- search for any Special page produce the Console error