Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -2309,7 +2309,8 @@ |
2310 | 2310 | } |
2311 | 2311 | $sk->setupUserCss( $this ); |
2312 | 2312 | |
2313 | | - $ret = Html::htmlHeader( array( 'lang' => wfUILang()->getCode() ) ); |
| 2313 | + $lang = wfUILang(); |
| 2314 | + $ret = Html::htmlHeader( array( 'lang' => $lang->getCode(), 'dir' => $lang->getDir() ) ); |
2314 | 2315 | |
2315 | 2316 | if ( $this->getHTMLTitle() == '' ) { |
2316 | 2317 | $this->setHTMLTitle( wfMsg( 'pagetitle', $this->getPageTitle() ) ); |