Convert Special:WithoutInterwiki to OOUI
authorSethakill <sethakill@outlook.com>
Tue, 3 May 2016 13:55:31 +0000 (15:55 +0200)
committerSethakill <sethakill@outlook.com>
Wed, 18 May 2016 14:48:31 +0000 (16:48 +0200)
Bug: T117721
Change-Id: I6d2546e814d95bccbbbf513aec2782167cc74b64

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()