User:Pinigin/global.js

importArticles({   type: "script",    articles: [        "u:dev:AjaxDelete/code.js"    ] });

//CheckUser (c) Doork // Modified for Russian Wiki's /* Link to user check */ $('', {id: 'checkuser'}) .html('User Check') .prependTo('.toolbar .tools'); // If check page if(wgPageName == "Служебная:UserCheck"){ $('#mw-content-text').remove; $('#WikiaArticle').append('Check users such as their registration date, user ID etc.      ReCheck '); importScriptPage('MediaWiki:MainUserCheck/code.js','doork'); } //If ContribsPage if(wgCanonicalSpecialPageName == "Contributions"){ $("#contentSub").append(' AJAX UserCheck'); $('#userc').click(function {     $.showCustomModal('AJAX UserCheck', 'Check users such as their registration date, user ID etc.       ', { width: 720}); importScriptPage('MediaWiki:MainUserCheck/code.js','doork'); SA.widget.info.fn.init; }); }