Index: branches/wmf/1.17wmf1/extensions/OggHandler/OggHandler_body.php |
— | — | @@ -515,8 +515,7 @@ |
516 | 516 | OggTransformOutput::$serial++; |
517 | 517 | |
518 | 518 | if ( substr( $this->videoUrl, 0, 4 ) != 'http' ) { |
519 | | - global $wgServer; |
520 | | - $url = $wgServer . $this->videoUrl; |
| 519 | + $url = wfExpandUrl( $this->videoUrl, PROTO_CURRENT ); |
521 | 520 | } else { |
522 | 521 | $url = $this->videoUrl; |
523 | 522 | } |