From a768182823355778b2a67aeece17d9cd8fb973f5 Mon Sep 17 00:00:00 2001 From: Rob Lanphier Date: Mon, 7 Feb 2011 03:18:12 +0000 Subject: [PATCH] Followup to r69185, putting the "dir" attribute back on the HTML root element --- includes/OutputPage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() ) ); -- 2.20.1