User:G.A.S/vector.js

/* Note: This file is optimised for editing in SciTe // VIEW SOURCE TAB - ? importScript('User:Misza13/viewSource.js');

//LUPIN'S NAVIGATION POPUPS - Wikipedia:Tools/Navigation_popups //importScript('User:Lupin/popups.js'); imagePopupsForImages = false; popupFixDabs = true; popupFixDabsSummary = "Repaired link to disambiguation page using popups. please help. (%→%)"; popupFixRedirs = true;

//LIGHTMOUSE'S DATE DELINKER importScript('User:Lightmouse/monobook.js/script.js');

//TWINKLE importScript('User:AzaToth/twinkle.js'); if( typeof( TwinkleConfig ) == 'undefined' ) TwinkleConfig = {}; // DO NOT REMOVE THIS LINE - ALL TWINKLE SETTINGS AFTER THIS TwinkleConfig.markSpeedyPagesAsMinor = false; TwinkleConfig.markSpeedyPagesAsPatrolled = 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.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.protectionSummaryAd = ' using TW'; TwinkleConfig.showRollbackLinks = [ 'diff', 'others' ]; TwinkleConfig.showSharedIPNotice = true; TwinkleConfig.summaryAd = ' using TW'; TwinkleConfig.unlinkNamespaces = [ 0, 100 ]; TwinkleConfig.watchProdPages = true; TwinkleConfig.watchSpeedyPages = [ 'g3', 'g5', 'g10', 'g11', 'g12', 't1' ];

//CONFIRM WATCHLISTROLLBACK function confirmWatchlistRollback {	if(mw.config.get('wgCanonicalSpecialPageName')=='Watchlist') {		var rollbackNodes; if(!document.getElementsByClassName) {			rollbackNodes=getElementsByClassName(document.getElementById("bodyContent"),"span","mw-rollback-link"); }		else {			rollbackNodes=document.getElementsByClassName('mw-rollback-link'); }		var rollbackclicked=function (e) {								if(!e) {									e=window.event; }								if(!confirm("Are you sure you want to rollback this edit?")) {									if(e.stopPropagation) {										e.stopPropagation; e.preventDefault; }									else {										e.cancelBubble=true; e.returnValue=false; }								}							};		for (var i=0;i<rollbackNodes.length;i++) {	             rollbackNodes[i].childNodes[1].onclick=rollbackclicked; }   } } $(confirmWatchlistRollback);

// Links: Navigation popups, View source

//importScript('User:Ais523/topcontrib.js'); // User:Ais523/topcontrib.js