dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57fbf16
)
change [[Special:Block]] to destructive
author
Douglas Gardner
<douglas@chippy.ch>
Tue, 7 Oct 2014 23:07:58 +0000
(
00:07
+0100)
committer
Douglas Gardner
<douglas@chippy.ch>
Tue, 7 Oct 2014 23:07:58 +0000
(
00:07
+0100)
Bug: 66145
Change-Id: I1ae04e15ea8046d50a58952f627a3e7d8bd941a4
includes/specials/SpecialBlock.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialBlock.php
b/includes/specials/SpecialBlock.php
index
3297c17
..
cf82b86
100644
(file)
--- a/
includes/specials/SpecialBlock.php
+++ b/
includes/specials/SpecialBlock.php
@@
-98,6
+98,7
@@
class SpecialBlock extends FormSpecialPage {
$form->setWrapperLegendMsg( 'blockip-legend' );
$form->setHeaderText( '' );
$form->setSubmitCallback( array( __CLASS__, 'processUIForm' ) );
+ $form->setSubmitDestructive();
$msg = $this->alreadyBlocked ? 'ipb-change-block' : 'ipbsubmit';
$form->setSubmitTextMsg( $msg );