dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a way to exclude categories from Special:UnusedCategories
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialResetTokens.php
diff --git
a/includes/specials/SpecialResetTokens.php
b/includes/specials/SpecialResetTokens.php
index
964a261
..
d5b0903
100644
(file)
--- a/
includes/specials/SpecialResetTokens.php
+++ b/
includes/specials/SpecialResetTokens.php
@@
-121,6
+121,7
@@
class SpecialResetTokens extends FormSpecialPage {
* @param HTMLForm $form
*/
protected function alterForm( HTMLForm $form ) {
+ $form->setSubmitDestructive();
if ( $this->getTokensList() ) {
$form->setSubmitTextMsg( 'resettokens-resetbutton' );
} else {