Remove doubled title on Special:MIMESearch
authorFlorian <florian.schmidt.stargatewissen@gmail.com>
Tue, 24 May 2016 16:56:12 +0000 (18:56 +0200)
committerFlorian Schmidt <florian.schmidt.stargatewissen@gmail.com>
Sat, 31 Dec 2016 10:27:40 +0000 (11:27 +0100)
Having a page title (from skin) and the same text in the first
form on that page (directly after the page title) is doubled
and doesn't look very good. This change removes the form title
completely, as it is obvious enough what the form does (the input
has it's own label and the page title is clearly visible).

Follow up: I6c8b0f3be92bc455fe62846508d0b21c778b993d

Change-Id: I56c2f05ebe5b15f50eba6297c39326e1504b8229

includes/specials/SpecialMIMEsearch.php

index d8a468f..15696bc 100644 (file)
@@ -120,7 +120,6 @@ class MIMEsearchPage extends QueryPage {
                ];
 
                HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() )
-                       ->setWrapperLegendMsg( 'mimesearch' )
                        ->setSubmitTextMsg( 'ilsubmit' )
                        ->setAction( $this->getPageTitle()->getLocalURL() )
                        ->setMethod( 'get' )