User:Super Saiyan 7 Somebody/global.js

importArticles({   type: 'script',    articles: [        'u:c:User:Monchoman45/ChatHacks.js/code.js',        'u:dev:NoImageLightbox/code.js',        'u:dev:AjaxRC/code.js',        'u:dev:RevealAnonIP/usercode.js',        'u:dev:EditcountTag/code.js',        'u:dev:View_Source/code.js',        'u:dev:AutoEditDropdown/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:FixWantedFiles/code.js'    ] });

/* Adds Redirect button to source mode editing, Thailog */ if ((wgAction == 'submit' || wgAction == 'edit') && mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#REDIRECT ",		"tagClose": "", "sampleText": ""}; }

/* Adds 'Contributions' tab to Account Navigation, RuneScape Wiki; Ryan PM? */ $(document).ready(function {   $('My contributions  ').insertAfter('.AccountNavigation > li > .subnav > li:first-child'); }); $(document).ready(function {   if (mw.config.get('wgUserGroups') === null)        $('My contributions  ').insertBefore('.contribute ul li:first-child'); });

/////////////////////////////////////////////////////////////////// ///////////////////////// MODIFIED STUFF ////////////////////////// ///////////////////////////////////////////////////////////////////

/* Adds 'Ban log' tab to User namespace (modified from Editcount tab coding, by SpikeToronto & Rappy4187 at Admin Tools Wiki?) */ $(function {   var loc = window.location.href;    var username = (wgTitle == "Contributions") ? loc.substring(loc.lastIndexOf("/")+1) : wgTitle;    $('.tabs-container > ul.tabs').append('Ban log'); });

/* Adds 'Block log' tab to User namespace (modified Editcount tab coding, by SpikeToronto & Rappy4187 at Admin Tools Wiki?) */ $(function {   var loc = window.location.href;    var username = (wgTitle == "Contributions") ? loc.substring(loc.lastIndexOf("/")+1) : wgTitle;    $('.tabs-container > ul.tabs').append('Block log'); });

/* Source mode Signature button (modified source mode Redirect button by Thailog) */ if ((wgAction == 'submit' || wgAction == 'edit') && mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "SIG", "speedTip": "Alt-sig", "tagOpen": "—Super Saiyan 7 Somebody", "tagClose": " | talk | edits", "sampleText": ""}; }

/* Source mode hidden text button (modified source mode Redirect button, Thailog) */ if ((wgAction == 'submit' || wgAction == 'edit') && mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images3.wikia.nocookie.net/__cb20130106095152/mario/images/8/85/Boo_Sprite_%28Super_Mario_World%29.png", "speedTip": "Hidden text", "tagOpen": "", "sampleText": ""}; }