X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialBlockList.php;h=0899d5809cd1dba90c550c50c3b346e154a98510;hb=d5a7166771613dfe4ed9fb75fa5efeced6134bd1;hp=c4fb3161e2c1bca2338897b5e7721d0c8202e099;hpb=e3f6c10d87732c0c8a9bbd7bb57b6c964b92e29a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialBlockList.php b/includes/specials/SpecialBlockList.php index c4fb3161e2..0899d5809c 100644 --- a/includes/specials/SpecialBlockList.php +++ b/includes/specials/SpecialBlockList.php @@ -103,13 +103,15 @@ class SpecialBlockList extends SpecialPage { $context = new DerivativeContext( $this->getContext() ); $context->setTitle( $this->getPageTitle() ); // Remove subpage $form = HTMLForm::factory( 'ooui', $fields, $context ); - $form->setMethod( 'get' ); - $form->setWrapperLegendMsg( 'ipblocklist-legend' ); - $form->setSubmitTextMsg( 'ipblocklist-submit' ); - $form->setSubmitProgressive(); - $form->prepareForm(); + $form + ->setMethod( 'get' ) + ->setFormIdentifier( 'blocklist' ) + ->setWrapperLegendMsg( 'ipblocklist-legend' ) + ->setSubmitTextMsg( 'ipblocklist-submit' ) + ->setSubmitProgressive() + ->prepareForm() + ->displayForm( false ); - $form->displayForm( '' ); $this->showList( $pager ); }