From: Rob Lanphier Date: Mon, 7 Feb 2011 03:18:12 +0000 (+0000) Subject: Followup to r69185, putting the "dir" attribute back on the HTML root element X-Git-Tag: 1.31.0-rc.0~32144 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=a768182823355778b2a67aeece17d9cd8fb973f5;p=lhc%2Fweb%2Fwiklou.git Followup to r69185, putting the "dir" attribute back on the HTML root element --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 441c069a55..b3a7eb9684 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -2309,7 +2309,8 @@ class OutputPage { } $sk->setupUserCss( $this ); - $ret = Html::htmlHeader( array( 'lang' => wfUILang()->getCode() ) ); + $lang = wfUILang(); + $ret = Html::htmlHeader( array( 'lang' => $lang->getCode(), 'dir' => $lang->getDir() ) ); if ( $this->getHTMLTitle() == '' ) { $this->setHTMLTitle( wfMsg( 'pagetitle', $this->getPageTitle() ) );