Now that wfParseUrl() can handle protocol-relative URLs, make wfExpandUrl() work...
authorRoan Kattouw <catrope@users.mediawiki.org>
Wed, 13 Jul 2011 00:03:27 +0000 (00:03 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Wed, 13 Jul 2011 00:03:27 +0000 (00:03 +0000)
commit10630cf572c6229f5e91b1a70bbbde8bd7b759dd
treeef9abc0dd9d6e9f84f75d1d242a3ef65103bdaec
parentdf2306b971a21c7a7b33696f836beabe7961f1bf
Now that wfParseUrl() can handle protocol-relative URLs, make wfExpandUrl() work in cases where it's fed a protocol-relative URL and $wgServer is also protocol-relative.
includes/GlobalFunctions.php