List of steps to reproduce (step by step, including full links if applicable):
- Set up protocol-relative URL. (doc)
- In my case, apending $wgServer = 'default.mediawiki.mwdd.localhost:8080'; $wgCanonicalServer = "http://$wgServer"; to LocalSettings.php.
- Visit an edit page as an anonymous user.
What happens?:
The below message is shown.
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you [default.mediawiki.mwdd.localhost:8080/w/index.php?title=Special:UserLogin&returnto=Main_Page&returntoquery=action%3Dedit log in] or [default.mediawiki.mwdd.localhost:8080/w/index.php?title=Special:CreateAccount&returnto=Main_Page&returntoquery=action%3Dedit create an account], your edits will be attributed to your username, along with other benefits.
What should have happened instead?:
The links should be clickable.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
MediaWiki: a01dbf1e075f10594729b4ffe927293915344cd6