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:
885a8bd
)
Special:EditWatchlist/clear: use destructive button
author
glaisher
<glaisher.wiki@gmail.com>
Sun, 23 Nov 2014 06:07:21 +0000
(11:07 +0500)
committer
glaisher
<glaisher.wiki@gmail.com>
Sun, 23 Nov 2014 06:07:21 +0000
(11:07 +0500)
Change-Id: Ic229c4cce391c9f432b4a98fd40a86c537609936
includes/specials/SpecialEditWatchlist.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialEditWatchlist.php
b/includes/specials/SpecialEditWatchlist.php
index
bc63e99
..
9007603
100644
(file)
--- a/
includes/specials/SpecialEditWatchlist.php
+++ b/
includes/specials/SpecialEditWatchlist.php
@@
-705,6
+705,7
@@
class SpecialEditWatchlist extends UnlistedSpecialPage {
$form->setWrapperLegendMsg( 'watchlistedit-clear-legend' );
$form->addHeaderText( $this->msg( 'watchlistedit-clear-explain' )->parse() );
$form->setSubmitCallback( array( $this, 'submitClear' ) );
+ $form->setSubmitDestructive();
return $form;
}