I discovered this while making a patch for T389939.
Steps to replicate the issue (include links if applicable):
- Create the page [[MediaWiki:Privacypage]] with the content https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy (or any other URL, doesn't really matter)
- Press the "Privacy policy" link at the bottom left of your wiki
What happens?:
The link doesn't, as expected, go to https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy, but to a page on your wiki: https://localhost:8080/wiki/Https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy.
What should have happened instead?:
Like links in the sidebar, the footer links should accept both internal links (page names) and external links. It is not inconceivable that someone who runs a wiki (like, say, the Wikimedia Foundation) has their privacy policy on an off-wiki page somewhere.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):