MediaWiki:UserCheck/code.js

//CheckUser /* Link to user check */ $('', {id: 'checkuser'}) .html('User Check') .prependTo('.toolbar .tools'); // If check page if(wgPageName == "Special:UserCheck"){ $('#mw-content-text').remove; $('#WikiaArticle').append('Check users such as their registration date, user ID etc.      ReCheck '); importScriptPage('User:Doork/wikia.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('User:Doork/wikia.js','doork'); SA.widget.info.fn.init; }); }