r90973 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90972‎ | r90973 | r90974 >
Date:15:48, 28 June 2011
Author:robin
Status:ok
Tags:
Comment:
Follow-up r90876: should be 'div', otherwise 'dir' has no effect
Modified paths:
  • /trunk/extensions/Translate/utils/TranslationHelpers.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/utils/TranslationHelpers.php
@@ -807,7 +807,7 @@
808808 $contents = preg_replace( '~^<([a-z]+)>(.*)</\1>$~us', '\2', $contents );
809809
810810 return TranslateUtils::fieldset(
811 - wfMsgHtml( 'translate-edit-information', $edit, $page ), Html::rawElement( 'span',
 811+ wfMsgHtml( 'translate-edit-information', $edit, $page ), Html::rawElement( 'div',
812812 array( 'dir' => 'ltr', 'lang' => 'en' ), $contents ), array( 'class' => $class )
813813 );
814814

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r90876Correct alignment depending on the directionality of the language (assuming t...robin14:04, 27 June 2011

Status & tagging log