MediaWiki:Gadget-twinkleprotect.js: Difference between revisions
MediaWiki:Gadget-twinkleprotect.js (view source)
Revision as of 11:44, 4 November 2013
, 10 years ago1 revision: new version of Twinkle
m (1 revision) |
m (1 revision: new version of Twinkle) |
||
(One intermediate revision by one other user not shown) | |||
Line 30:
Window.setScriptName( "Twinkle" );
Window.addFooterLink( "Protection templates", "Template:Protection templates" );
Window.addFooterLink( "Protection policy", "
Window.addFooterLink( "Twinkle help", "
var form = new Morebits.quickForm( Twinkle.protect.callback.evaluate );
Line 61:
label: 'Request page protection',
value: 'request',
tooltip: 'If you want to request protection via
checked: !Morebits.userIsInGroup('sysop')
},
Line 631:
edit: 'sysop',
move: 'sysop',
reason: '[[
},
'pp-vandalism': {
edit: 'sysop',
move: 'sysop',
reason: 'Persistent [[
},
'pp-template': {
edit: 'sysop',
move: 'sysop',
reason: '[[
},
'pp-usertalk': {
edit: 'sysop',
move: 'sysop',
reason: '[[
},
'pp-semi-vandalism': {
edit: 'autoconfirmed',
reason: 'Persistent [[
template: 'pp-vandalism'
},
'pp-semi-blp': {
edit: 'autoconfirmed',
reason: 'Violations of the [[
},
'pp-semi-usertalk': {
edit: 'autoconfirmed',
move: 'sysop',
reason: '[[
},
'pp-semi-template': { // removed for now
edit: 'autoconfirmed',
move: 'sysop',
reason: '[[
template: 'pp-template'
},
'pp-semi-sock': {
edit: 'autoconfirmed',
reason: 'Persistent [[
},
'pp-semi-protected': {
Line 679:
'pp-pc-vandalism': {
stabilize: 'autoconfirmed', // stabilize = Pending Changes
reason: 'Persistent [[
template: 'pp-pc1'
},
'pp-pc-blp': {
stabilize: 'autoconfirmed',
reason: 'Violations of the [[
template: 'pp-pc1'
},
Line 698:
'pp-move-dispute': {
move: 'sysop',
reason: '[[
},
'pp-move-vandalism': {
move: 'sysop',
reason: '[[
},
'pp-move-indef': {
move: 'sysop',
reason: '[[
},
'unprotect': {
Line 718:
'pp-create-offensive': {
create: 'sysop',
reason: '[[
},
'pp-create-salt': {
create: 'sysop',
reason: '[[
},
'pp-create-blp': {
create: 'sysop',
reason: '[[
},
'pp-create': {
Line 1,060:
case 'pp-semi-blp':
case 'pp-pc-blp':
typereason = '[[
break;
case 'pp-move-dispute':
Line 1,075:
break;
case 'pp-create-blp':
typereason = 'Recently deleted [[
break;
case 'pp-create-salt':
Line 1,106:
Morebits.status.init( form );
rppName = '
// Updating data for the action completed event
Line 1,264:
linknode.setAttribute("href", mw.util.wikiGetlink("Wikipedia:Twinkle/Fixing RPP") );
linknode.appendChild(document.createTextNode('How to fix RPP'));
statusElement.error( [ 'Could not find relevant heading on
return;
}
|