User:Chzz/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.
$( function($) {
    if($("#mw-youhavenewmessages").length > 0) {
        $("#content").css("background-color", "gray");
    }
}
);

importScript('User:Cacycle/wikEdDiff.js');
importScript('User:Gracenotes/rollback.js');
importScript('User:AndyZ/peerreviewer.js');
Chzznote = {
	ChzznoteGet: function() {
		Chzznote.ChzzNode = mw.util.addPortletLink( 'p-personal', "http://en.wikipedia.org/wiki/User:Chzz/note", 'Note', 'Note', 'Make a note', '' );
		Chzznote.ChzzNode.style.fontSize = 'normal';
	}
}
$( function() {
		Chzznote.ChzznoteGet();
	}
)
Chzznoteed = {
	ChzznoteedGet: function() {
		Chzznoteed.ChzzNodeed = mw.util.addPortletLink( 'p-personal', "http://en.wikipedia.org/w/index.php?title=User:Chzz/note&action=edit&section=1", '(e)', 'Edit', 'Make a note', '' );
		Chzznoteed.ChzzNodeed.style.fontSize = 'normal';
	}
}
$( function() {
		Chzznoteed.ChzznoteedGet();
	}
)
Chzztest = {
	ChzztestGet: function() {
		Chzztest.ChzzNode = mw.util.addPortletLink( 'p-personal', "http://en.wikipedia.org/w/index.php?title=User:Chzz/test&action=edit", 'test', 'test', 'Make a test', '' );
		Chzztest.ChzzNode.style.fontSize = 'normal';
	}
}
$( function() {
		Chzztest.ChzztestGet();
	}
);
importScript('User:Timotheus Canens/afchelper4.js');
importScript('User:Jnothman/afd_helper/script.js');
importScript('User:Ioeth/friendly.js');
importScript('User:Dr pda/prosesize.js');
importScript('User:Lightmouse/monobook.js/script.js');
importScript('User:Splarka/dabfinder.js');
importScript('User:AndyZ/peerreviewer.js');

//Friendly config
if( typeof( FriendlyConfig ) == 'undefined' ) FriendlyConfig = {}; // DO NOT REMOVE THIS LINE - ALL FRIENDLY SETTINGS AFTER THIS
FriendlyConfig.quickWelcomeMode		=	"auto";
FriendlyConfig.quickWelcomeTemplate		=	"User:Chzz/w";
FriendlyConfig.summaryAd			=	" using [[WP:FRIENDLY|Friendly]]";
FriendlyConfig.talkbackHeading			=	"== Talkback ==";
FriendlyConfig.topWelcomes			=	false;
FriendlyConfig.watchTaggedPages		=	false;
FriendlyConfig.watchWelcomes			=	false;
FriendlyConfig.welcomeHeading			=	"== Welcome ==";
//Friendly config end

//Commons helper helper [[User:Krimpet/CH2.js]]
importScript('User:Krimpet/CH2.js');

LinkClassifierOnDemand=true;
importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]
importStylesheet('User:Anomie/linkclassifier.css'); // Linkback: [[User:Anomie/linkclassifier.css]]
$(function(){
    mw.util.addPortletLink('p-cactions', 'javascript:LinkClassifier.onDemand()', 'linkclassifier');
});