diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php index d582da3b9d1..4b8b5a026c5 100644 --- a/includes/htmlform/HTMLForm.php +++ b/includes/htmlform/HTMLForm.php @@ -1051,6 +1051,14 @@ class HTMLForm extends ContextSource { $this->mSubmitModifierClass = 'mw-ui-destructive'; } + /** + * Identify that the submit button in the form has a progressive action + * + */ + public function setSubmitProgressive() { + $this->mSubmitModifierClass = 'mw-ui-progressive'; + } + /** * Set the text for the submit button to a message * @since 1.19 diff --git a/includes/specials/SpecialBlockList.php b/includes/specials/SpecialBlockList.php index 456f4ecb5bb..aefd99ad41a 100644 --- a/includes/specials/SpecialBlockList.php +++ b/includes/specials/SpecialBlockList.php @@ -103,6 +103,7 @@ class SpecialBlockList extends SpecialPage { $form->setMethod( 'get' ); $form->setWrapperLegendMsg( 'ipblocklist-legend' ); $form->setSubmitTextMsg( 'ipblocklist-submit' ); + $form->setSubmitProgressive(); $form->prepareForm(); $form->displayForm( '' );