Merge "Use {{int:}} on MediaWiki:Blockedtext and MediaWiki:Autoblockedtext"
[lhc/web/wiklou.git] / includes / specials / SpecialProtectedtitles.php
index fa12f50..2770bc5 100644 (file)
@@ -125,7 +125,7 @@ class SpecialProtectedtitles extends SpecialPage {
                        'levelmenu' => $this->getLevelMenu( $level )
                ];
 
-               $htmlForm = new HTMLForm( $formDescriptor, $this->getContext() );
+               $htmlForm = HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() );
                $htmlForm
                        ->setMethod( 'get' )
                        ->setWrapperLegendMsg( 'protectedtitles' )