(bug 14687) OutputPage::addStyle() now adds type="text/css" like it should.
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 30 Jun 2008 20:00:06 +0000 (20:00 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 30 Jun 2008 20:00:06 +0000 (20:00 +0000)
RELEASE-NOTES
includes/OutputPage.php

index 0b31962..a5238ee 100644 (file)
@@ -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 ===
 
index 4e7739a..d6a6877 100644 (file)
@@ -85,7 +85,8 @@ class OutputPage {
                $this->addLink(
                                array(
                                        'rel' => 'stylesheet',
-                                       'href' => $wgStylePath . '/' . $style . '?' . $wgStyleVersion ) );
+                                       'href' => $wgStylePath . '/' . $style . '?' . $wgStyleVersion,
+                                       'type' => 'text/css' ) );
        }
 
        /**