https://bugzilla.wikimedia.org/show_bug.cgi?id=47292
--- Comment #4 from Krinkle <krinklem...@gmail.com> --- I left it out here (implied), but maybe I should make it explicit: MediaWiki supports protocol-relative urls very well. It was a major thing in MediaWiki 1.18[1], which is around the time Wikimedia started using native HTTPS support on all domains. In fact, the method you refer to (ResourceLoader::makeLoaderURL) explicitly orders wfExpandUrl to allow the url to be relative (instead of expanding to http:// or https:// ), by passing PROTO_RELATIVE. PROTO_RELATIVE tells wfExpandUrl to keep the url relative if the MediaWiki configuration indicates that the server supports both, which you do by setting $wgServer to a protocol-relative url of the host name. Otherwise, for things that need t be a full furl including protocol, $wgCanonicalServer is used (defaults to HTTP). [1] https://www.mediawiki.org/wiki/MediaWiki_1.18 -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l