Glaisher has uploaded a new change for review.
https://gerrit.wikimedia.org/r/175321
Change subject: Special:EditWatchlist/clear: use destructive button
......................................................................
Special:EditWatchlist/clear: use destructive button
Change-Id: Ic229c4cce391c9f432b4a98fd40a86c537609936
---
M includes/specials/SpecialEditWatchlist.php
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/21/175321/1
diff --git a/includes/specials/SpecialEditWatchlist.php
b/includes/specials/SpecialEditWatchlist.php
index bc63e99..9007603 100644
--- a/includes/specials/SpecialEditWatchlist.php
+++ b/includes/specials/SpecialEditWatchlist.php
@@ -705,6 +705,7 @@
$form->setWrapperLegendMsg( 'watchlistedit-clear-legend' );
$form->addHeaderText( $this->msg( 'watchlistedit-clear-explain'
)->parse() );
$form->setSubmitCallback( array( $this, 'submitClear' ) );
+ $form->setSubmitDestructive();
return $form;
}
--
To view, visit https://gerrit.wikimedia.org/r/175321
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic229c4cce391c9f432b4a98fd40a86c537609936
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Glaisher <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits