Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -2088,7 +2088,7 @@ |
2089 | 2089 | } |
2090 | 2090 | |
2091 | 2091 | if ( $this->getHTMLTitle() == '' ) { |
2092 | | - $this->setHTMLTitle( wfMsg( 'pagetitle', $this->getPageTitle() )); |
| 2092 | + $this->setHTMLTitle( wfMsg( 'pagetitle', $this->getPageTitle() ) ); |
2093 | 2093 | } |
2094 | 2094 | |
2095 | 2095 | $dir = $wgContLang->getDir(); |
— | — | @@ -2108,12 +2108,14 @@ |
2109 | 2109 | $ret .= "<!doctype html>\n"; |
2110 | 2110 | } |
2111 | 2111 | $ret .= "<html lang=\"$wgContLanguageCode\" dir=\"$dir\""; |
2112 | | - if ( $wgHtml5Version ) $ret .= " version=\"$wgHtml5Version\""; |
| 2112 | + if ( $wgHtml5Version ) { |
| 2113 | + $ret .= " version=\"$wgHtml5Version\""; |
| 2114 | + } |
2113 | 2115 | $ret .= ">\n"; |
2114 | 2116 | } else { |
2115 | 2117 | $ret .= "<!DOCTYPE html PUBLIC \"$wgDocType\" \"$wgDTD\">\n"; |
2116 | 2118 | $ret .= "<html xmlns=\"{$wgXhtmlDefaultNamespace}\" "; |
2117 | | - foreach($wgXhtmlNamespaces as $tag => $ns) { |
| 2119 | + foreach ( $wgXhtmlNamespaces as $tag => $ns ) { |
2118 | 2120 | $ret .= "xmlns:{$tag}=\"{$ns}\" "; |
2119 | 2121 | } |
2120 | 2122 | $ret .= "lang=\"$wgContLanguageCode\" dir=\"$dir\">\n"; |
— | — | @@ -2126,13 +2128,14 @@ |
2127 | 2129 | $this->buildCssLinks(), |
2128 | 2130 | $this->getHeadScripts( $sk ), |
2129 | 2131 | $this->getHeadItems(), |
2130 | | - )); |
2131 | | - if( $sk->usercss ){ |
| 2132 | + ) ); |
| 2133 | + if ( $sk->usercss ) { |
2132 | 2134 | $ret .= Html::inlineStyle( $sk->usercss ); |
2133 | 2135 | } |
2134 | 2136 | |
2135 | | - if ($wgUseTrackbacks && $this->isArticleRelated()) |
| 2137 | + if ( $wgUseTrackbacks && $this->isArticleRelated() ) { |
2136 | 2138 | $ret .= $this->getTitle()->trackbackRDF(); |
| 2139 | + } |
2137 | 2140 | |
2138 | 2141 | $ret .= "</head>\n"; |
2139 | 2142 | |