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:Tim Song/afchelper4.js');
importScript('User:TheJosh/Scripts/NewPagePatrol.js');
importScript('User:Gary King/script installer.js'); // [[User:Gary King/script installer.js]]
importScript('User:Pufferfish101/vector.js'); // [[User:Pufferfish101/vector.js]]
importScript('Wikipedia:AutoEd/complete.js');
importScript('User:Lupin/recent2.js');
importScript('User:AndyZ/peerreviewer.js'); //[[User:AndyZ/peerreviewer.js]]
importScript('User:Sross_(Public_Policy)/ambassadorwikilove.js');
importScript('User:Jorgenev/scripts/EnhancedUserContribs.js');
importScript('MediaWiki:Common.js'); // [[MediaWiki:Common.js]]
importStylesheet('MediaWiki:Gadget-textareasansserif.css'); // [[MediaWiki:Gadget-textareasansserif.css]]
importScript('User:John Cline/twinkleoptions.js'); // [[User:John Cline/twinkleoptions.js]] 
importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool
importScript('User:Dr_pda/prosesize.js'); //[[User:Dr_pda/prosesize.js]]
importScript("User:PleaseStand/segregate-refs.js");
importStylesheet('User:John Cline/huggle.css'); // [[User:John Cline/huggle.css]]

function AppendCategoryTreeToSidebar() {
    try {
        var node = document.getElementById( "p-tb" )
                           .getElementsByTagName('div')[0]
                           .getElementsByTagName('ul')[0];
 
        var aNode = document.createElement( 'a' );
        var liNode = document.createElement( 'li' );
 
        aNode.appendChild( document.createTextNode( 'CategoryTree' ) );
        aNode.setAttribute( 'href' , '[[w:en:Special:CategoryTree]]' );
        liNode.appendChild( aNode );
        liNode.className = 'plainlinks';
        node.appendChild( liNode );
    } catch(e) {
        // lets just ignore what's happened
        return;
    }
}
 
$( AppendCategoryTreeToSidebar );
/*** No Redirect Link ***/

// Adds a link beside links to redirects that doesn't get redirected
// Documentation at [[User:BrandonXLF/NoRedirect]]
// By [[User:BrandonXLF]]

$(function() {
	$('#mw-content-text .mw-redirect').after(function() {
		return this.href.indexOf('redirect=no') !== -1 || this.href.indexOf('action=') !== -1  || this.href.indexOf('diff=') !== -1 ? ''
			: '<a href="' +
			this.href +
			(this.href.includes('?') ? '&' : '?') +
			'redirect=no" title="' +
			(this.title || this.href) +
			' (no redirect)"><sup>(⇨)</sup></a>';
	});
});