From 720de799f916bcce26b83886253ce142193d9fd0 Mon Sep 17 00:00:00 2001 From: Danny B Date: Mon, 30 Jun 2008 01:26:02 +0000 Subject: [PATCH] * adding --- includes/OutputPage.php | 3 ++- skins/Modern.php | 3 ++- skins/MonoBook.php | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) 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']) ) { ?>