* cascadeOnly, noRedirect
* @return string Input form
*/
- protected function showOptions( $namespace, $type = 'edit', $level, $sizetype,
+ protected function showOptions( $namespace, $type, $level, $sizetype,
$size, $filters
) {
$formDescriptor = [
'name' => 'size',
]
];
- $htmlForm = new HTMLForm( $formDescriptor, $this->getContext() );
+ $htmlForm = HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() );
$htmlForm
->setMethod( 'get' )
->setWrapperLegendMsg( 'protectedpages' )