r91773 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91772‎ | r91773 | r91774 >
Date:01:06, 9 July 2011
Author:robin
Status:deferred
Tags:
Comment:
Use mw-content-ltr/rtl so bullet lists show properly where user direction != site direction.
Modified paths:
  • /trunk/extensions/Translate/utils/TranslationHelpers.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/utils/TranslationHelpers.php
@@ -797,7 +797,7 @@
798798 $info .= $gettext;
799799
800800 // The information is most likely in English
801 - $divAttribs = array( 'dir' => 'ltr', 'lang' => 'en' );
 801+ $divAttribs = array( 'dir' => 'ltr', 'lang' => 'en', 'class' => 'mw-content-ltr' );
802802
803803 if ( strval( $info ) === '' ) {
804804 global $wgLang;

Status & tagging log