From: Brion Vibber Date: Mon, 7 Jul 2008 18:59:49 +0000 (+0000) Subject: Revert r37272 "Send $wgMimeType mime type for Special:Search template" X-Git-Tag: 1.31.0-rc.0~46649 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=52fedd804477e4971877225182ab6a3d77ec8510;p=lhc%2Fweb%2Fwiklou.git Revert r37272 "Send $wgMimeType mime type for Special:Search template" Clients will expect text/html specifically, and would not necessarily know that say application/xhtml+xml means the regular search page. --- diff --git a/opensearch_desc.php b/opensearch_desc.php index 2ce34ac1bf..3dbf872079 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' => $wgMimeType, + 'type' => 'text/html', 'method' => 'get', 'template' => $searchPage->getFullURL( 'search={searchTerms}' ) );