Last modified: 2011-05-10 20:16:03 UTC
Manually created data URIs in private style sheets and in system space gets an additional "path". Typically such data URIs are used for background images like this url(data:image/.... but will end up like this from Load.php url(/w/data:image/... This will then fail to load. A work around is to use Javascript and set the background-image property from the code instead. Additional example on Wikipedia http://no.wikipedia.org/w/index.php?title=MediaWiki%3AVector.css&action=historysubmit&diff=8743561&oldid=8595275
I can confirm that this happens with data: URL but not http: URL. CSSMin::minify() seems to be explicitly checking for https?:// so trips up on other URL types.
r87840 should do it on trunk: switches from the explicit http/https check to using parse_url to grab the scheme and treating them all the same. Path-only URLs have no scheme, so continue on to the path adjustment or embedding paths. Marking for merge to 1.18 and 1.17.