dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a18e97
)
Revert r37272 "Send $wgMimeType mime type for Special:Search template"
author
Brion Vibber
<brion@users.mediawiki.org>
Mon, 7 Jul 2008 18:59:49 +0000
(18:59 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Mon, 7 Jul 2008 18:59:49 +0000
(18:59 +0000)
Clients will expect text/html specifically, and would not necessarily know that say application/xhtml+xml means the regular search page.
opensearch_desc.php
patch
|
blob
|
history
diff --git
a/opensearch_desc.php
b/opensearch_desc.php
index
2ce34ac
..
3dbf872
100644
(file)
--- 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}' ) );