From b9a18b145f90dd5845d7d6d5d06765099d3ce59f Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Mon, 30 Jun 2008 20:00:06 +0000 Subject: [PATCH] (bug 14687) OutputPage::addStyle() now adds type="text/css" like it should. --- RELEASE-NOTES | 1 + includes/OutputPage.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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' ) ); } /** -- 2.20.1