Jump to content

User:AaronY/monobook.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// [[User:Lupin/popups.js]]   
   
mw.loader.load('https://wiki.riteme.site/w/index.php?title=User:Lupin/popups.js'    
+ '&action=raw&ctype=text/javascript');
popupOnEditSelection=false;

// Script from [[User:Omegatron/monobook.js/addlink.js]]
importScript('User:Omegatron/monobook.js/addlink.js'); //[[User:Omegatron/monobook.js/addlink.js]]
// Script from [[User:Dr_pda/prosesize.js]]
importScript('User:Dr_pda/prosesize.js'); //[[User:Dr_pda/prosesize.js]]

// Script from [[User:AndyZ/peerreviewer.js]]
importScript('User:AndyZ/peerreviewer.js'); //[[User:AndyZ/peerreviewer.js]]

importScript('User:AzaToth/twinkle.js');

importScript('User:Ioeth/friendly.js');

if( typeof( TwinkleConfig ) == 'undefined' ) TwinkleConfig = {}; // DO NOT REMOVE THIS LINE - ALL TWINKLE SETTINGS AFTER THIS
TwinkleConfig.batchdeleteChunks                         =       50;
TwinkleConfig.batchDeleteMinCutOff                      =       5;
TwinkleConfig.batchMax                                  =       5000;
TwinkleConfig.batchProtectChunks                        =       50;
TwinkleConfig.batchProtectMinCutOff                     =       5;
TwinkleConfig.batchundeleteChunks                       =       50;
TwinkleConfig.batchUndeleteMinCutOff                    =       5;
TwinkleConfig.blankTalkpageOnIndefBlock                 =       false;
TwinkleConfig.defaultWarningGroup                       =       1;
TwinkleConfig.deleteTalkPageOnDelete                    =       false;
TwinkleConfig.deletionSummaryAd                         =       ' using [[WP:TW|TW]]';
TwinkleConfig.deliChunks                                =       500;
TwinkleConfig.deliMax                                   =       5000;
TwinkleConfig.deliWatchPage                             =       "default";
TwinkleConfig.deliWatchUsages                           =       "no";
TwinkleConfig.deliWatchUser                             =       "default";
TwinkleConfig.markAIVReportAsMinor                      =       true;
TwinkleConfig.markSockReportAsMinor                     =       true;
TwinkleConfig.markUAAReportAsMinor                      =       true;
TwinkleConfig.markRevertedPagesAsMinor                  =       [ 'vand' ];
TwinkleConfig.markSpeedyPagesAsMinor                    =       false;
TwinkleConfig.markSpeedyPagesAsPatrolled                =       true;
TwinkleConfig.notifyUserOnDeli                          =       true;
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.offerReasonOnNormalRevert                 =       true;
TwinkleConfig.openTalkPage                              =       [ 'agf', 'norm', 'vand' ];
TwinkleConfig.openTalkPageOnAutoRevert                  =       false;
TwinkleConfig.openUserTalkPageOnSpeedyDelete            =       [ 'g1', 'g2', 'g3', 'g4', 'g5', 'g10', 'g11', 'g12', 'a1', 'a3', 'a7', 'a9', 'f3', 'f4', 'f5', 'f6', 'f7', 'f9', 'f11', 'u3', 't2' ];
TwinkleConfig.orphanBacklinksOnSpeedyDelete             =       {exclude:['g6'], orphan:true};
TwinkleConfig.proddeleteChunks                          =       50;
TwinkleConfig.prodReasonDefault                         =       "";
TwinkleConfig.protectionSummaryAd                       =       ' using [[WP:TW|TW]]';
TwinkleConfig.revertMaxRevisions                        =       50;
TwinkleConfig.showRollbackLinks                         =       [ 'diff', 'others' ];
TwinkleConfig.showSharedIPNotice                        =       true;
TwinkleConfig.speedyWindowHeight                        =       500;
TwinkleConfig.speedyWindowWidth                         =       800;
TwinkleConfig.summaryAd                                 =       ' using [[WP:TW|TW]]';
TwinkleConfig.unlinkNamespaces                          =       [ 0, 100 ];
TwinkleConfig.userTalkPageMode                          =       'window';
TwinkleConfig.watchProdPages                            =       true;
TwinkleConfig.watchRevertedPages                        =       [ 'agf', 'norm', 'vand', 'torev' ];
TwinkleConfig.watchSpeedyPages                          =       [ 'g3', 'g5', 'g10', 'g11', 'g12', 't1' ];
TwinkleConfig.watchWarnings                             =       true;
TwinkleConfig.welcomeUserOnSpeedyDeletionNotification   =       TwinkleConfig.notifyUserOnSpeedyDeletionNomination;
TwinkleConfig.xfdWatchDiscussion                        =       "default";
TwinkleConfig.xfdWatchList                              =       "no";
TwinkleConfig.xfdWatchPage                              =       "default";
TwinkleConfig.xfdWatchUsages                            =       "no";
TwinkleConfig.xfdWatchUser                              =       "default";
FriendlyConfig.clockStyle                       =       "dynamic";
FriendlyConfig.enableClock                      =       true;
FriendlyConfig.groupByDefault                   =       true;
FriendlyConfig.idsToRename                      =       [
                { id: 'ca-nstab-main', name: 'Main', mainPageOnly: true },
                { id: 'ca-nstab-help', name: 'Help' },
                { id: 'ca-nstab-special', name: 'Special' },
                { id: 'ca-nstab-project', name: 'Project' },
                { id: 'ca-nstab-user', name: 'User' },
                { id: 'ca-edit', name: 'Edit' },
                { id: 'ca-viewsource', name: 'Source' },
                { id: 'ca-talk', name: 'Talk' },
                { id: 'ca-undelete', name: 'Undelete' },
                { id: 'ca-addsection', name: '+' }
        ];
FriendlyConfig.insertHeadings                   =       true;
FriendlyConfig.insertSignature                  =       true; //sign welcome templates, where appropriate
FriendlyConfig.insertTalkbackSignature          =       true; //always sign talkback templates
FriendlyConfig.insertUsername                   =       true;
FriendlyConfig.markSharedIPAsMinor              =       true;
FriendlyConfig.markTaggedPagesAsMinor           =       true;
FriendlyConfig.markTaggedPagesAsPatrolled       =       true;
FriendlyConfig.markTalkbackAsMinor              =       true;
FriendlyConfig.markWelcomesAsMinor              =       false;
FriendlyConfig.maskTemplateInSummary            =       true;
FriendlyConfig.quickWelcomeMode                 =       "semiauto";
FriendlyConfig.quickWelcomeTemplate             =       "Welcome";
FriendlyConfig.talkbackHeading                  =       "== Talkback ==";
FriendlyConfig.topWelcomes                      =       false;
FriendlyConfig.watchTaggedPages                 =       false;
FriendlyConfig.watchWelcomes                    =       false;
FriendlyConfig.welcomeHeading                   =       "== Welcome ==";