From: Prateek Saxena Date: Wed, 28 Mar 2018 06:14:49 +0000 (+0530) Subject: Special:ProtectedPages: Convert to OOUI X-Git-Tag: 1.34.0-rc.0~5662^2 X-Git-Url: http://git.cyclocoop.org/%27http:/code.google.com/p/ie7-js/00?a=commitdiff_plain;h=6186f4faf556585fc48f6c73e7c0a334475b4412;p=lhc%2Fweb%2Fwiklou.git Special:ProtectedPages: Convert to OOUI Bug: T117722 Change-Id: I80cafca23a948a23816cd3b0cfd8a0c58f063367 --- 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' )