Index: trunk/extensions/OggHandler/OggHandler_body.php |
— | — | @@ -448,7 +448,7 @@ |
449 | 449 | } |
450 | 450 | |
451 | 451 | function setHeaders( $out ) { |
452 | | - global $wgOggScriptVersion, $wgCortadoJarFile, $wgServer, $wgContLang; |
| 452 | + global $wgOggScriptVersion, $wgCortadoJarFile, $wgServer; |
453 | 453 | |
454 | 454 | if ( $out->hasHeadItem( 'OggHandlerScript' ) && $out->hasHeadItem( 'OggHandlerInlineScript' ) && |
455 | 455 | $out->hasHeadItem( 'OggHandlerInlineCSS' ) ) { |
— | — | @@ -471,7 +471,7 @@ |
472 | 472 | } |
473 | 473 | $encCortadoUrl = Xml::encodeJsVar( $cortadoUrl ); |
474 | 474 | $encExtPathUrl = Xml::encodeJsVar( $scriptPath ); |
475 | | - $alignStart = $wgContLang->alignStart(); |
| 475 | + $alignStart = wfUILang()->alignStart(); |
476 | 476 | |
477 | 477 | $out->addHeadItem( 'OggHandlerScript' , Html::linkedScript( "{$scriptPath}/OggPlayer.js?$wgOggScriptVersion" ) ); |
478 | 478 | |