Address fixme on r96978: expand URLs fed to the client-side loader
authorRoan Kattouw <catrope@users.mediawiki.org>
Fri, 30 Sep 2011 10:14:39 +0000 (10:14 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Fri, 30 Sep 2011 10:14:39 +0000 (10:14 +0000)
includes/resourceloader/ResourceLoader.php

index d703264..716d470 100644 (file)
@@ -891,7 +891,7 @@ class ResourceLoader {
                
                // Prevent the IE6 extension check from being triggered (bug 28840)
                // by appending a character that's invalid in Windows extensions ('*')
-               return wfAppendQuery( $wgLoadScript, $query ) . '&*';
+               return wfExpandUrl( wfAppendQuery( $wgLoadScript, $query ) . '&*', PROTO_RELATIVE );
        }
 
        /**