Provisional workaround for
bug 30825 as it affects things run via $.ajax() using protocol-relative links built from wgServer etc -- IE 7 gets confused and denies access for protocol-relative URLs on XMLHTTPRequest, while it's ok everywhere else.
This is already internally fixed in jQuery 1.6, so won't be needed on 1.18 and later.