From c8fd6077a1034bbf2e2a8e376575167bb7ec0f65 Mon Sep 17 00:00:00 2001 From: gopavasanth Date: Sat, 21 Apr 2018 18:54:16 +0530 Subject: [PATCH] Special:PrefixIndex: Convert to OOUI Bug: T117726 Change-Id: I13c4d6d5132b7085bc954a97d270efbef0acb846 --- includes/specials/SpecialPrefixindex.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialPrefixindex.php b/includes/specials/SpecialPrefixindex.php index 2f285c93ed..3ca3a85307 100644 --- a/includes/specials/SpecialPrefixindex.php +++ b/includes/specials/SpecialPrefixindex.php @@ -128,7 +128,7 @@ class SpecialPrefixindex extends SpecialAllPages { ]; $context = new DerivativeContext( $this->getContext() ); $context->setTitle( $this->getPageTitle() ); // Remove subpage - $htmlForm = new HTMLForm( $formDescriptor, $context ); + $htmlForm = HTMLForm::factory( 'ooui', $formDescriptor, $context ); $htmlForm ->setMethod( 'get' ) ->setWrapperLegendMsg( 'prefixindex' ) -- 2.20.1