User:Merrystar/global.js

// ***************************************************************** // Custom automatic delete buttons // ***************************************************************** window.fdButtons = [ {       summary: 'Housekeeping', label: 'HK' },   {        summary: 'Spam', label: 'Spam' }, ]; // end Custom automatic buttons

// ***************************************************************** // Load various external scripts // ***************************************************************** massProtectDelay = 1000;

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:WHAM/code.2.js',        'u:dev:MediaWiki:FastDelete/code.js',        'u:dev:MediaWiki:RedirectManagement/code.js',        'u:dev:MediaWiki:MassProtect/code.js',     ] }); // 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); });

//gear fixer (from uberfuzzy) $('a[data-name="customize"]').html( function{ return $(this).parent.find('img').detach } );

// add link to discussions log $(function {   if (wgPageName == "Special:LookupUser") {        var user = $('input[name="target"]').attr('value').replace(" ","+");        $('#mw-content-text > ul:nth-of-type(2) > li').append('  |  Discussions Log');    } });