MediaWiki:Gadget-twinkleblock.js: Difference between revisions
Content deleted Content added
Amorymeltzer (talk | contribs) Repo at 100d502: Add tooltip to block log entry suggesting adding information; Add uw-aepblock |
Amorymeltzer (talk | contribs) Repo at 2c63365: Reorganize partial block templates into two headers |
||
Line 987:
// Begin partial block templates, accessed in Twinkle.block.blockGroupsPartial
'uw-pblock': {▼
autoblock: true,▼
expiry: '24 hours',▼
nocreate: false,▼
pageParam: false,▼
reasonParam: true,▼
summary: 'You have been [[WP:PB|partially blocked]] from certain areas of the encyclopedia'▼
},▼
'uw-pblockindef': {▼
autoblock: true,▼
expiry: 'infinity',▼
forRegisteredOnly: true,▼
nocreate: false,▼
pageParam: false,▼
reasonParam: true,▼
summary: 'You have been indefinitely [[WP:PB|partially blocked]] from certain areas of the encyclopedia'▼
},▼
'uw-ewpblock': {▼
autoblock: true,▼
expiry: '24 hours',▼
nocreate: false,▼
pageParam: false,▼
reasonParam: true,▼
reason: '[[WP:Edit warring|Edit warring]]',▼
summary: 'You have been [[WP:PB|blocked]] from editing certain areas of the encyclopedia to prevent further [[WP:DE|disruption]] due to [[WP:EW|edit warring]]'▼
},▼
'uw-acpblock': {
autoblock: true,
Line 1,031 ⟶ 1,005:
reason: 'Misusing [[WP:Sock puppetry|multiple accounts]]',
summary: 'You have been indefinitely [[WP:PB|blocked]] from creating accounts for misusing [[WP:SOCK|multiple accounts]]'
▲ },
▲ autoblock: true,
▲ nocreate: false,
▲ pageParam: false,
reason: '[[WP:Arbitration enforcement|Arbitration enforcement]]',▼
▲ reasonParam: true,
summary: 'You have been [[WP:PB|blocked]] from editing for violating an [[WP:Arbitration|arbitration decision]]'▼
},
'uw-epblock': {
Line 1,043 ⟶ 1,025:
summary: 'You have been [[WP:PB|blocked]] from emailing other editors for [[WP:Harassment|harassment]]'
},
'uw-
autoblock: true,
▲ expiry: '24 hours',
nocreate: false,
pageParam: false,
▲ reason: '[[WP:Arbitration enforcement|Arbitration enforcement]]',
reasonParam: true,
▲ reason: '[[WP:Edit warring|Edit warring]]',
▲ summary: 'You have been [[WP:PB|blocked]] from editing for violating an [[WP:Arbitration|arbitration decision]]'
▲ summary: 'You have been [[WP:PB|blocked]] from editing certain areas of the encyclopedia to prevent further [[WP:DE|disruption]] due to [[WP:EW|edit warring]]'
▲ },
▲ 'uw-pblock': {
▲ autoblock: true,
▲ expiry: '24 hours',
▲ nocreate: false,
▲ pageParam: false,
▲ reasonParam: true,
▲ summary: 'You have been [[WP:PB|partially blocked]] from certain areas of the encyclopedia'
▲ },
▲ 'uw-pblockindef': {
▲ autoblock: true,
▲ expiry: 'infinity',
▲ forRegisteredOnly: true,
▲ nocreate: false,
▲ pageParam: false,
▲ reasonParam: true,
▲ summary: 'You have been indefinitely [[WP:PB|partially blocked]] from certain areas of the encyclopedia'
}
};
Line 1,153:
Twinkle.block.blockGroupsPartial = [
{
label: '
list: [
{ label: 'Generic partial block (custom reason)', value: 'uw-pblock', selected: true },
{ label: 'Generic partial block (custom reason) - indefinite', value: 'uw-pblockindef' },
{ label: 'Edit warring', value: 'uw-ewpblock' }
]
{ label: 'Misusing multiple accounts', value: 'uw-acpblock' },▼
},
{
label: 'Extended partial block reasons',
list: [
{ label: 'Arbitration enforcement', value: 'uw-aepblock' },
{ label: 'Email harassment', value: 'uw-epblock' },
{ label: '
]
}
|