From: Chad Horohoe Date: Mon, 30 Jun 2008 20:00:06 +0000 (+0000) Subject: (bug 14687) OutputPage::addStyle() now adds type="text/css" like it should. X-Git-Tag: 1.31.0-rc.0~46835 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=b9a18b145f90dd5845d7d6d5d06765099d3ce59f;p=lhc%2Fweb%2Fwiklou.git (bug 14687) OutputPage::addStyle() now adds type="text/css" like it should. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 0b31962a0d..a5238ee84e 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -400,6 +400,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 14583) Fix regression in recent changes "limit to certain categories." * (bug 14515) HTML nesting cleanup on edit form * (bug 14647) Removed unused 'townBox' CSS classes +* (bug 14687) OutputPage::addStyle() now adds type="text/css" like it should. === API changes in 1.13 === diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 4e7739a3ab..d6a6877cc9 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -85,7 +85,8 @@ class OutputPage { $this->addLink( array( 'rel' => 'stylesheet', - 'href' => $wgStylePath . '/' . $style . '?' . $wgStyleVersion ) ); + 'href' => $wgStylePath . '/' . $style . '?' . $wgStyleVersion, + 'type' => 'text/css' ) ); } /**