MessageCache.php: fixed a typo, tweaked spacing, added braces where needed, etc.
[lhc/web/wiklou.git] / opensearch_desc.php
index 2ce34ac..cc6c471 100644 (file)
@@ -2,6 +2,8 @@
 
 /**
  * Generate an OpenSearch description file
+ *
+ * @file
  */
 
 require_once( dirname(__FILE__) . '/includes/WebStart.php' );
@@ -58,7 +60,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}' ) );