r106591 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106590‎ | r106591 | r106592 >
Date:19:41, 18 December 2011
Author:robin
Status:ok
Tags:
Comment:
r106534: use Language::factory()
Modified paths:
  • /trunk/extensions/Babel/Babel.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Babel/Babel.class.php
@@ -220,7 +220,7 @@
221221 $code = BabelLanguageCodes::getCode( $code );
222222 $text = self::mGetText( $name, $code, $level );
223223
224 - $dir_current = wfGetLangObj( $code )->getDir();
 224+ $dir_current = Language::factory( $code )->getDir();
225225
226226 $cellspacing = Babel::mHtmlAttrib( 'cellspacing', 'babel-cellspacing' );
227227 $cellpadding = Babel::mHtmlAttrib( 'cellpadding', 'babel-cellpadding' );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r106534Use the directionality defined in MediaWiki, instead of a message. This avoid...robin23:55, 17 December 2011

Status & tagging log