From 6186f4faf556585fc48f6c73e7c0a334475b4412 Mon Sep 17 00:00:00 2001 From: Prateek Saxena Date: Wed, 28 Mar 2018 11:44:49 +0530 Subject: [PATCH] Special:ProtectedPages: Convert to OOUI Bug: T117722 Change-Id: I80cafca23a948a23816cd3b0cfd8a0c58f063367 --- includes/specials/SpecialProtectedpages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialProtectedpages.php b/includes/specials/SpecialProtectedpages.php index 84779eaba0..26f4da5f46 100644 --- a/includes/specials/SpecialProtectedpages.php +++ b/includes/specials/SpecialProtectedpages.php @@ -122,7 +122,7 @@ class SpecialProtectedpages extends SpecialPage { 'name' => 'size', ] ]; - $htmlForm = new HTMLForm( $formDescriptor, $this->getContext() ); + $htmlForm = HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() ); $htmlForm ->setMethod( 'get' ) ->setWrapperLegendMsg( 'protectedpages' ) -- 2.20.1