From: Alexandre Emsenhuber Date: Mon, 7 Jul 2008 17:39:13 +0000 (+0000) Subject: Send $wgMimeType mime type for Special:Search template X-Git-Tag: 1.31.0-rc.0~46653 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=4cd2a117088f2bcf324c256c27166fe867dc5c06;p=lhc%2Fweb%2Fwiklou.git Send $wgMimeType mime type for Special:Search template --- diff --git a/opensearch_desc.php b/opensearch_desc.php index 3dbf872079..2ce34ac1bf 100644 --- a/opensearch_desc.php +++ b/opensearch_desc.php @@ -58,7 +58,7 @@ $urls = array(); // At least Firefox and IE 7 support this. $searchPage = SpecialPage::getTitleFor( 'Search' ); $urls[] = array( - 'type' => 'text/html', + 'type' => $wgMimeType, 'method' => 'get', 'template' => $searchPage->getFullURL( 'search={searchTerms}' ) );