Microchip08 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/165392

Change subject: change [[Special:Block]] to destructive
......................................................................

change [[Special:Block]] to destructive

Bug: 66145
Change-Id: I1ae04e15ea8046d50a58952f627a3e7d8bd941a4
---
M includes/specials/SpecialBlock.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/92/165392/1

diff --git a/includes/specials/SpecialBlock.php 
b/includes/specials/SpecialBlock.php
index 3297c17..cf82b86 100644
--- a/includes/specials/SpecialBlock.php
+++ b/includes/specials/SpecialBlock.php
@@ -98,6 +98,7 @@
                $form->setWrapperLegendMsg( 'blockip-legend' );
                $form->setHeaderText( '' );
                $form->setSubmitCallback( array( __CLASS__, 'processUIForm' ) );
+               $form->setSubmitDestructive();
 
                $msg = $this->alreadyBlocked ? 'ipb-change-block' : 'ipbsubmit';
                $form->setSubmitTextMsg( $msg );

-- 
To view, visit https://gerrit.wikimedia.org/r/165392
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1ae04e15ea8046d50a58952f627a3e7d8bd941a4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Microchip08 <doug...@chippy.ch>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to