From: Alexandre Emsenhuber Date: Sat, 8 Nov 2008 15:06:50 +0000 (+0000) Subject: (bug 15835) Added Content-Style-Type meta tag X-Git-Tag: 1.31.0-rc.0~44409 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=252a1bb96a5a7c48546c66e1c8ae07528d94ee6b;p=lhc%2Fweb%2Fwiklou.git (bug 15835) Added Content-Style-Type meta tag --- 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' ) {