From: Florian Date: Tue, 24 May 2016 16:56:12 +0000 (+0200) Subject: Remove doubled title on Special:MIMESearch X-Git-Tag: 1.31.0-rc.0~4440 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=3845ee6adee61c1b3c234c79e67b311a78cfd140;p=lhc%2Fweb%2Fwiklou.git Remove doubled title on Special:MIMESearch 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 --- diff --git a/includes/specials/SpecialMIMEsearch.php b/includes/specials/SpecialMIMEsearch.php index d8a468f333..15696bcbd8 100644 --- a/includes/specials/SpecialMIMEsearch.php +++ b/includes/specials/SpecialMIMEsearch.php @@ -120,7 +120,6 @@ class MIMEsearchPage extends QueryPage { ]; HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() ) - ->setWrapperLegendMsg( 'mimesearch' ) ->setSubmitTextMsg( 'ilsubmit' ) ->setAction( $this->getPageTitle()->getLocalURL() ) ->setMethod( 'get' )