Jump to content

User:Awilley/common.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:Smith609/toolbox.js');

importScript('User:Lupin/recent2.js');

importScript('User:NuclearWarfare/Mark-blocked script.js');
 
importScript('User:MastCell/user-rights.js');

mw.util.addPortletLink ('p-tb', mw.config.get('wgServer')+mw.config.get('wgArticlePath').replace("$1", "Special:PrefixIndex/"+mw.config.get('wgPageName')+"/"), 'Subpages');

//Adds a button to the "Advanced" editing toolbar that brings up a wizzard for filling in template parameters.
importScript('User:קיפודנחש/TemplateParamWizard.js');

var wgCSPN = mw.config.get( 'wgCanonicalSpecialPageName' );
if(wgCSPN === 'Watchlist'){
    $('span.mw-usertoollinks').each(function () {
        var $elem = $(this);
        $elem.children('a:last').replaceWith("-");
        $elem.html($elem.html().replace(" | -", ""));
    });
}
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hedonil/XTools/XTools.js&action=raw&ctype=text/javascript');

importScript( 'User:Bradv/Scripts/Superlinks.js' ); // Backlink: [[User:Bradv/Scripts/Superlinks.js]]