Move advanced search inputs back into the form
authorRob Moen <rmoen@wikimedia.org>
Tue, 16 Dec 2014 19:34:40 +0000 (11:34 -0800)
committerNemo bis <federicoleva@tiscali.it>
Tue, 16 Dec 2014 19:51:37 +0000 (19:51 +0000)
Follow up to Ic6ec29817ab7deadc6bc7125f8b4cd16686baa04

Bug: T78553
Change-Id: I6c8892e7742bac730154a66ab2bbb9c37ef3af9d

includes/specials/SpecialSearch.php

index c77c786..a7dea88 100644 (file)
@@ -330,9 +330,9 @@ class SpecialSearch extends SpecialPage {
                        Xml::openElement( 'div', array( 'id' => 'mw-search-top-table' ) ) .
                        $this->shortDialog( $term, $num, $totalRes ) .
                        Xml::closeElement( 'div' ) .
+                       $this->searchProfileTabs( $term ) .
                        Xml::closeElement( 'form' ) .
-                       $this->didYouMeanHtml .
-                       $this->searchProfileTabs( $term )
+                       $this->didYouMeanHtml
                );
 
                $filePrefix = $wgContLang->getFormattedNsText( NS_FILE ) . ':';