Index: trunk/phase3/includes/libs/CSSMin.php |
— | — | @@ -135,10 +135,10 @@ |
136 | 136 | // This will not be the case if we're running outside of MW |
137 | 137 | $lengthIncrease = 0; |
138 | 138 | if ( function_exists( 'wfExpandUrl' ) ) { |
139 | | - $expanded = wfExpandUrl( $match['file'][0] ); |
| 139 | + $expanded = wfExpandUrl( $match['file'][0], PROTO_RELATIVE ); |
140 | 140 | $origLength = strlen( $match['file'][0] ); |
141 | 141 | $lengthIncrease = strlen( $expanded ) - $origLength; |
142 | | - $source = substr_replace( $source, wfExpandUrl( $match['file'][0], PROTO_RELATIVE ), |
| 142 | + $source = substr_replace( $source, $expanded, |
143 | 143 | $match['file'][1], $origLength |
144 | 144 | ); |
145 | 145 | } |