Index: trunk/extensions/Babel/Babel.class.php |
— | — | @@ -220,7 +220,7 @@ |
221 | 221 | $code = BabelLanguageCodes::getCode( $code ); |
222 | 222 | $text = self::mGetText( $name, $code, $level ); |
223 | 223 | |
224 | | - $dir_current = wfGetLangObj( $code )->getDir(); |
| 224 | + $dir_current = Language::factory( $code )->getDir(); |
225 | 225 | |
226 | 226 | $cellspacing = Babel::mHtmlAttrib( 'cellspacing', 'babel-cellspacing' ); |
227 | 227 | $cellpadding = Babel::mHtmlAttrib( 'cellpadding', 'babel-cellpadding' ); |