Merge "Convert Special:WithoutInterwiki to OOUI"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 24 May 2016 16:41:40 +0000 (16:41 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 24 May 2016 16:41:40 +0000 (16:41 +0000)
includes/specials/SpecialWithoutinterwiki.php

index cca54b3..259d1f9 100644 (file)
@@ -57,8 +57,8 @@ class WithoutInterwikiPage extends PageQueryPage {
                        ]
                ];
 
-               $htmlForm = HTMLForm::factory( 'inline', $formDescriptor, $this->getContext() );
-               $htmlForm->setWrapperLegendMsg( 'withoutinterwiki-legend' )
+               $htmlForm = HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() );
+               $htmlForm->setWrapperLegend( '' )
                        ->setSubmitTextMsg( 'withoutinterwiki-submit' )
                        ->setMethod( 'get' )
                        ->prepareForm()