The “Query Service” link in the Wikidata sidebar (wayback machine) currently points to https://www.wikidata.org/wiki///query.wikidata.org/, rather than https://query.wikidata.org/.
As far as I can tell, neither the sidebar definition (wikibase-queryservice-url|wikibase-queryservice) nor the wikibase-queryservice-url itself have been changed recently, so presumably MediaWiki is now interpreting the sidebar URL //query.wikidata.org/ differently, as a local title rather than a protocol-relative URL.