r81620 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81619‎ | r81620 | r81621 >
Date:03:18, 7 February 2011
Author:robla
Status:ok
Tags:
Comment:
Followup to r69185, putting the "dir" attribute back on the HTML root element
Modified paths:
  • /trunk/phase3/includes/OutputPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/OutputPage.php
@@ -2309,7 +2309,8 @@
23102310 }
23112311 $sk->setupUserCss( $this );
23122312
2313 - $ret = Html::htmlHeader( array( 'lang' => wfUILang()->getCode() ) );
 2313+ $lang = wfUILang();
 2314+ $ret = Html::htmlHeader( array( 'lang' => $lang->getCode(), 'dir' => $lang->getDir() ) );
23142315
23152316 if ( $this->getHTMLTitle() == '' ) {
23162317 $this->setHTMLTitle( wfMsg( 'pagetitle', $this->getPageTitle() ) );

Follow-up revisions

RevisionCommit summaryAuthorDate
r816541.17: MFT r78372, r79324, r80841, r81430, r81488, r81496, r81554, r81561, r81...catrope22:28, 7 February 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r69185Introduce $wgBetterDirectionality that lets us work on support for rtl ui in ...nikerabbit13:34, 8 July 2010

Status & tagging log