From 52fedd804477e4971877225182ab6a3d77ec8510 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 7 Jul 2008 18:59:49 +0000 Subject: [PATCH] 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. --- opensearch_desc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}' ) ); -- 2.20.1