From d4fe8acde48f64b96d9c1b789f270e4cd04b9dcd Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Sun, 21 Mar 2010 05:11:55 +0000 Subject: [PATCH] Style fixes --- includes/OutputPage.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 702a9f5e01..8a80cc30ae 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -2088,7 +2088,7 @@ class OutputPage { } if ( $this->getHTMLTitle() == '' ) { - $this->setHTMLTitle( wfMsg( 'pagetitle', $this->getPageTitle() )); + $this->setHTMLTitle( wfMsg( 'pagetitle', $this->getPageTitle() ) ); } $dir = $wgContLang->getDir(); @@ -2108,12 +2108,14 @@ class OutputPage { $ret .= "\n"; } $ret .= "\n"; $ret .= " $ns) { + foreach ( $wgXhtmlNamespaces as $tag => $ns ) { $ret .= "xmlns:{$tag}=\"{$ns}\" "; } $ret .= "lang=\"$wgContLanguageCode\" dir=\"$dir\">\n"; @@ -2126,13 +2128,14 @@ class OutputPage { $this->buildCssLinks(), $this->getHeadScripts( $sk ), $this->getHeadItems(), - )); - if( $sk->usercss ){ + ) ); + if ( $sk->usercss ) { $ret .= Html::inlineStyle( $sk->usercss ); } - if ($wgUseTrackbacks && $this->isArticleRelated()) + if ( $wgUseTrackbacks && $this->isArticleRelated() ) { $ret .= $this->getTitle()->trackbackRDF(); + } $ret .= "\n"; -- 2.20.1