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/data/%7B%7B%20url_for%28%27static%27%2C%20filename=%27js/%7B%7B%20url_for%28%27user%27%2C%20userid=session.user.id%29%20%7D%7D?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' )