MediaWiki:Gadget-twinklearv.js: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
m (1 revision)
imported>Mlpearc
m (1 revision: See if we're missing something)
Line 35: Line 35:
Window.setTitle( "Advance Reporting and Vetting" ); //Backronym
Window.setTitle( "Advance Reporting and Vetting" ); //Backronym
Window.setScriptName( "Twinkle" );
Window.setScriptName( "Twinkle" );
Window.addFooterLink( "Guide to AIV", "WP:GAIV" );
Window.addFooterLink( "Guide to AIV", "GRW:GAIV" );
Window.addFooterLink( "UAA instructions", "WP:UAAI" );
Window.addFooterLink( "UAA instructions", "GRW:UAAI" );
Window.addFooterLink( "About SPI", "WP:SPI" );
Window.addFooterLink( "About SPI", "GRW:SPI" );
Window.addFooterLink( "Twinkle help", "WP:TW/DOC#arv" );
Window.addFooterLink( "Twinkle help", "GRW:TW/DOC#arv" );


var form = new Morebits.quickForm( Twinkle.arv.callback.evaluate );
var form = new Morebits.quickForm( Twinkle.arv.callback.evaluate );
Line 49: Line 49:
categories.append( {
categories.append( {
type: 'option',
type: 'option',
label: 'Vandalism (WP:AIV)',
label: 'Vandalism (GRW:AIV)',
value: 'aiv'
value: 'aiv'
} );
} );
categories.append( {
categories.append( {
type: 'option',
type: 'option',
label: 'Username (WP:UAA)',
label: 'Username (GRW:UAA)',
value: 'username'
value: 'username'
} );
} );
categories.append( {
categories.append( {
type: 'option',
type: 'option',
label: 'Sockpuppeteer (WP:SPI)',
label: 'Sockpuppeteer (GRW:SPI)',
value: 'sock'
value: 'sock'
} );
} );
categories.append( {
categories.append( {
type: 'option',
type: 'option',
label: 'Sockpuppet (WP:SPI)',
label: 'Sockpuppet (GRW:SPI)',
value: 'puppet'
value: 'puppet'
} );
} );
categories.append( {
categories.append( {
type: 'option',
type: 'option',
label: 'Edit warring (WP:AN3)',
label: 'Edit warring (GRW:AN3)',
value: 'an3'
value: 'an3'
} );
} );
Line 631: Line 631:
Morebits.status.init( form );
Morebits.status.init( form );


Morebits.wiki.actionCompleted.redirect = "Wikipedia:Usernames for administrator attention";
Morebits.wiki.actionCompleted.redirect = "Gargoylewiki:Usernames for administrator attention";
Morebits.wiki.actionCompleted.notice = "Reporting complete";
Morebits.wiki.actionCompleted.notice = "Reporting complete";


var uaaPage = new Morebits.wiki.page( 'Wikipedia:Usernames for administrator attention', 'Processing UAA request' );
var uaaPage = new Morebits.wiki.page( 'Gargoylewiki:Usernames for administrator attention', 'Processing UAA request' );
uaaPage.setFollowRedirect( true );
uaaPage.setFollowRedirect( true );


Line 652: Line 652:
break;
break;
// WP:SPI
// GRW:SPI
case "sock":
case "sock":
/* falls through */
/* falls through */