User:Merrystar/global.js

// ***************************************************************** // Load various external scripts // ***************************************************************** importArticles({   type: 'script',    articles: [        'u:dev:FastDelete/code.js',        'u:dev:WHAM/code.2.js'     ] });

// ***************************************************************** // Custom automatic delete buttons // ***************************************************************** // Adds customizable one-click deletion buttons to any deletable page. // Requires w:User:Splarka/fastdelete.js in appendScript; var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Requested Deletion', 'label': 'requested'}; fdButtons[fdButtons.length] = { 'summary': 'Housekeeping', 'label': 'bad_page'}; // end Custom automatic buttons

// remove admin link on toolbar $.ready( function { $('li > a[data-tracking="admindashboard/toolbar/admin"]').remove; } );

//userpage var qtUserPageTemplate = '';

//subpages if(wgNamespaceNumber!=-1) addOnloadHook(function { addPortletLink('p-cactions','/wiki/Special:Prefixindex/' + escape(wgPageName),'Subpages','ca-subpages','Show subages of ' + wgPageName); });