Jump to content

User:Ludwigs2/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.
importScript('User:AzaToth/twinkle.js');

if( typeof( TwinkleConfig ) == 'undefined' ) TwinkleConfig = {}; // DO NOT REMOVE THIS LINE - ALL TWINKLE SETTINGS AFTER THIS
TwinkleConfig.blankTalkpageOnIndefBlock		=	false;
TwinkleConfig.defaultWarningGroup			=	1;
TwinkleConfig.deletionSummaryAd			=	' using	[[WP:TW|TW]]';
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				=	[ 'vand' ];
TwinkleConfig.openTalkPageOnAutoRevert			=	true;
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.protectionSummaryAd			=	' using	[[WP:TW|TW]]';
TwinkleConfig.revertMaxRevisions			=	50;
TwinkleConfig.showRollbackLinks			=	[ 'diff', 'others' ];
TwinkleConfig.showSharedIPNotice			=	false;
TwinkleConfig.summaryAd				=	' using	[[WP:TW|TW]]';
TwinkleConfig.userTalkPageMode				=	'tab';
TwinkleConfig.watchProdPages				=	true;
TwinkleConfig.watchRevertedPages			=	[ 'agf', 'norm', 'vand', 'torev' ];
TwinkleConfig.watchSpeedyPages				=	[ 'g3',	'g5', 'g10', 'g11', 'g12', 't1'	];
TwinkleConfig.watchWarnings				=	false;
TwinkleConfig.welcomeUserOnSpeedyDeletionNotification	=	TwinkleConfig.notifyUserOnSpeedyDeletionNomination;

$( function() {
	var url = document.URL;
	if ( url.search(/&diff=/) == -1 ) return;
	var tbody = document.getElementsByTagName("TBODY")[0];
	var row = document.createElement("TR")
	var td = new Array
	for (i=0; i<4; i++) {
		td[i] = document.createElement("TD")
		td[i].appendChild(document.createTextNode(""))
		row.appendChild(td[i]);
	}

	tbody.appendChild(row);
} );

importScript('User:Drilnoth/codefixer.js');
codefixerMinor = false;

importScript('User:Twinzor/wikimark.js');

 WikimarkConfigWikimarksPage = "WikiMarks";  //The page where your WikiMarks will be stored. This will always be in your userspace.
 WikimarkConfigListType = "*";               //Whatever you wish to have infront of each link. Usually * or #, but can be anything.
 WikimarkConfigViewMenu = "cactions";        //These two variables set in which menu you'd like the WikiMark tabs to appear. Can be different for each tab.
 WikimarkConfigAddMenu = "cactions";         //Options: cactions, personal, toolbox, navigation.
 WikimarkConfigViewNextTo = "";              //These two variables set the menu item to the left of which you'd like the tab to appear.
 WikimarkConfigAddNextTo = "";               //Some examples: watchlist, mycontris, edit. If you don't specify this, tab will appear as the last item.
 WikimarkConfigPopup = 0;                    //Set to 1 to get your WikiMarks in a neat box without having to leave your current page.
 WikimarkConfigPopShow = 0;                  //These two variables set how the popup is shown/hidden if enabled
 WikimarkConfigPopHide = 0;                  //Options: 0 = clicking link, 2 = hovering over, 1 = both
 WikimarkConfigKeepSection = 0;              //Change to 1 if you'd like to be able to WikiMark specific sections