Last modified: 2013-11-03 23:14:32 UTC
This is a follow-up to bug 46392. I tried to switch the contact us URL on the English Wikipedia from being protocol-relative ("//en.wikipedia.org...") to be simply relative ("/wiki/..."). It turns out that the message [[MediaWiki:Contact-url]] is actually re-used, once in the sidebar and once in the page footer and these two uses are currently incompatible with each other. Either the messages should be split or the parsing behavior should be made identical between the two. As discussed at <https://en.wikipedia.org/wiki/MediaWiki_talk:Contact-url>, there's no reason this URL should be a protocol-relative URL, except that it's currently the only way in which you can use one message for two purposes. We should just fix this. By the way, I tried to test this on <https://test2.wikipedia.org>, but it seems the setup is slightly different over there.
I think switching to Skin::makeInternalOrExternalUrl() would work here. I'll wait to see what happens with Gerrit change #77557.
That change was merged. What now?
I still agree with myself in comment 0 and comment 1. :-) We should either have two messages and/or change the parsing behavior to use Skin::makeInternalOrExternalUrl().
We should probably just use Skin::makeInternalOrExternalUrl().