From 252a1bb96a5a7c48546c66e1c8ae07528d94ee6b Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 8 Nov 2008 15:06:50 +0000 Subject: [PATCH] (bug 15835) Added Content-Style-Type meta tag --- RELEASE-NOTES | 1 + includes/OutputPage.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 5d6a00e076..7995679aa5 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -197,6 +197,7 @@ The following extensions are migrated into MediaWiki 1.14: image scaling to be completely disabled for specific media types, via the $wgMediaHandlers configuration variable. * New 'AbortDiffCache' hook can be used to cancel the caching of a diff +* (bug 15835) Added Content-Style-Type meta tag === Bug fixes in 1.14 === diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 981257df64..33e3bf8d9d 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1490,7 +1490,8 @@ class OutputPage { protected function addDefaultMeta() { global $wgVersion; - $this->addMeta( "generator", "MediaWiki $wgVersion" ); + $this->addMeta( 'http:Content-Style-Type', 'text/css' ); //bug 15835 + $this->addMeta( 'generator', "MediaWiki $wgVersion" ); $p = "{$this->mIndexPolicy},{$this->mFollowPolicy}"; if( $p !== 'index,follow' ) { -- 2.20.1