From: Danny B Date: Mon, 30 Jun 2008 01:26:02 +0000 (+0000) Subject: * adding X-Git-Tag: 1.31.0-rc.0~46843 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=720de799f916bcce26b83886253ce142193d9fd0;p=lhc%2Fweb%2Fwiklou.git * adding --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 8fe38f0c84..5f1d62a6db 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1333,7 +1333,7 @@ class OutputPage { public function headElement() { global $wgDocType, $wgDTD, $wgContLanguageCode, $wgOutputEncoding, $wgMimeType; global $wgXhtmlDefaultNamespace, $wgXhtmlNamespaces; - global $wgUser, $wgContLang, $wgUseTrackbacks, $wgTitle, $wgStyleVersion; + global $wgUser, $wgContLang, $wgUseTrackbacks, $wgTitle, $wgStyleVersion, $wgVersion; if( $wgMimeType == 'text/xml' || $wgMimeType == 'application/xhtml+xml' || $wgMimeType == 'application/xml' ) { $ret = "\n"; @@ -1354,6 +1354,7 @@ class OutputPage { } $ret .= "xml:lang=\"$wgContLanguageCode\" lang=\"$wgContLanguageCode\" $rtl>\n"; $ret .= "\n" . htmlspecialchars( $this->getHTMLTitle() ) . "\n"; + $ret .= "\n"; array_push( $this->mMetatags, array( "http:Content-type", "$wgMimeType; charset={$wgOutputEncoding}" ) ); $ret .= $this->getHeadLinks(); diff --git a/skins/Modern.php b/skins/Modern.php index ea75e1ca08..eb5c0f2bfb 100644 --- a/skins/Modern.php +++ b/skins/Modern.php @@ -47,7 +47,7 @@ class ModernTemplate extends QuickTemplate { * @access private */ function execute() { - global $wgUser; + global $wgUser, $wgVersion; $skin = $wgUser->getSkin(); // Suppress warnings to prevent notices about missing indexes in $this->data @@ -62,6 +62,7 @@ class ModernTemplate extends QuickTemplate { html('headlinks') ?> <?php $this->text('pagetitle') ?> + data['printable']) ) { ?>