From a15000445514fe94924f8c1bebedbc2a3c820cc9 Mon Sep 17 00:00:00 2001 From: Florian Schmidt Date: Tue, 18 Oct 2016 19:04:02 +0200 Subject: [PATCH] Add form identifier to Special:BlockList This will allow HTMLForm to indentify, if the form was submitted and use the data of the request, instead of the default data. Bug: T147705 Change-Id: I1a5129eb6d24c3f4963bf63e9db9a41f68ef3bbc --- includes/specials/SpecialBlockList.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/specials/SpecialBlockList.php b/includes/specials/SpecialBlockList.php index 39ca8dd746..0899d5809c 100644 --- a/includes/specials/SpecialBlockList.php +++ b/includes/specials/SpecialBlockList.php @@ -105,6 +105,7 @@ class SpecialBlockList extends SpecialPage { $form = HTMLForm::factory( 'ooui', $fields, $context ); $form ->setMethod( 'get' ) + ->setFormIdentifier( 'blocklist' ) ->setWrapperLegendMsg( 'ipblocklist-legend' ) ->setSubmitTextMsg( 'ipblocklist-submit' ) ->setSubmitProgressive() -- 2.20.1