کاربر:Alfa80/twinklespeedy.js
From Wikipedia, the free encyclopedia
// If TwinkleConfig aint exist. if( typeof( TwinkleConfig ) == 'undefined' ) { TwinkleConfig = {}; }
/**
TwinkleConfig.summaryAd (string)
If ad should be added or not to summary, default TWINKLE
*/
if( typeof( TwinkleConfig.summaryAd ) == 'undefined' ) { TwinkleConfig.summaryAd = " using TW"; }
/**
TwinkleConfig.deletionSummaryAd (string)
If ad should be added or not to deletion summary, default TWINKLE
*/
if( typeof( TwinkleConfig.deletionSummaryAd ) == 'undefined' ) { TwinkleConfig.deletionSummaryAd = " using TW"; }
/**
TwinkleConfig.watchSpeedyPages (array) What types of actions that should result in forced addition to watchlist */
if( typeof( TwinkleConfig.watchSpeedyPages ) == 'undefined' ) { TwinkleConfig.watchSpeedyPages = [ 'g3', 'g5', 'g10', 'g11', 'g12' ]; }
/**
TwinkleConfig.markSpeedyPagesAsMinor (boolean) If, when applying speedy template to page, to mark the edit as minor, default true */
if( typeof( TwinkleConfig.markSpeedyPagesAsMinor ) == 'undefined' ) { TwinkleConfig.markSpeedyPagesAsMinor = false; }
/**
TwinkleConfig.markSpeedyPagesAsPatrolled (boolean) If, when applying speedy template to page, to mark the page as patrolled, default true */
if( typeof( TwinkleConfig.markSpeedyPagesAsPatrolled ) == 'undefined' ) { TwinkleConfig.markSpeedyPagesAsPatrolled = true; }
/**
TwinkleConfig.notifyUserOnSpeedyDeletionNomination (array of strings) What types of actions that should result that the author of the page should be notified of nomination */
if( typeof( TwinkleConfig.notifyUserOnSpeedyDeletionNomination ) == 'undefined' ) { TwinkleConfig.notifyUserOnSpeedyDeletionNomination = [ 'g1', 'g2', 'g3', 'g4', 'g10', 'g11', 'g12', 'a1', 'a2', 'a3', 'a5', 'a7', 'a9', 'f1', 'f2', 'f3', 'f4', 'f5', 'f6', 'f7', 'f9', 'f10', 'f11', 'u3', 't2', 't3', 'p2' ]; }
/**
TwinkleConfig.welcomeUserOnSpeedyDeletionNotification (array of strings) On what types of speedy deletion notifications shall the user be welcomed
with a