Skip to content

Commit

Permalink
Merge pull request wikimedia-gadgets#827 from Amorymeltzer/arv-reorder
Browse files Browse the repository at this point in the history
arv: Reorder so that VAO and promo-only are together, spambot is last
  • Loading branch information
Amorymeltzer authored Feb 10, 2020
2 parents 90fe47e + d22d8bb commit 941d01a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions modules/twinklearv.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,14 +159,14 @@ Twinkle.arv.callback.changeCategory = function (e) {
value: 'vandalonly',
disabled: mw.util.isIPAddress(root.uid.value)
},
{
label: 'Account is evidently a spambot or a compromised account',
value: 'spambot'
},
{
label: 'Account is a promotion-only account',
value: 'promoonly',
disabled: mw.util.isIPAddress(root.uid.value)
},
{
label: 'Account is evidently a spambot or a compromised account',
value: 'spambot'
}
]
});
Expand Down Expand Up @@ -521,12 +521,12 @@ Twinkle.arv.callback.evaluate = function(e) {
return 'vandalism after final warning';
case 'postblock':
return 'vandalism after recent release of block';
case 'spambot':
return 'account is evidently a spambot or a compromised account';
case 'vandalonly':
return 'actions evidently indicate a vandalism-only account';
case 'promoonly':
return 'account is being used only for promotional purposes';
case 'spambot':
return 'account is evidently a spambot or a compromised account';
default:
return 'unknown reason';
}
Expand Down

0 comments on commit 941d01a

Please sign in to comment.