Skip to content

Commit

Permalink
block: add preset for {{spamblacklistblock}}
Browse files Browse the repository at this point in the history
  • Loading branch information
MusikAnimal committed Sep 14, 2016
1 parent a25421c commit 3614dab
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/twinkleblock.js
Expand Up @@ -445,6 +445,12 @@ Twinkle.block.blockPresetsInfo = {
reason: '{{school block}}',
sig: '~~~~'
},
'spamblacklistblock' : {
expiry: '1 month',
disabletalk: true,
nocreate: true,
reason: '{{spamblacklistblock}} <!-- editor only attempts to add blacklisted links, see [[Special:Log/spamblacklist]] -->'
},
// Placeholder for when we add support for rangeblocks
// 'rangeblock' : {
// reason: '{{rangeblock}}',
Expand Down Expand Up @@ -865,6 +871,7 @@ Twinkle.block.blockGroups = [
{ label: 'colocationwebhost', value: 'colocationwebhost' },
{ label: 'oversightblock', value: 'oversightblock' },
// { label: 'rangeblock', value: 'rangeblock' }, // placeholder for when we add support for rangeblocks
{ label: 'spamblacklistblock', value: 'spamblacklistblock' },
{ label: 'tor', value: 'tor' },
{ label: 'webhostblock', value: 'webhostblock' }
]
Expand Down

0 comments on commit 3614dab

Please sign in to comment.