User:Super Saiyan 7 Somebody/global.js

importArticles({   type: "script",    articles: [        "w:c:dev:PortableCSSPad/code.js",        "w:c:dev:RevealAnonIP/usercode.js",        "w:c:dev:EditcountTag/code.js",        "w:c:dev:View_Source/code.js",        "w:c:dev:AutoEditDropdown/code.js",        "w:c:dev:AjaxUndo/code.js",        "w:c:dev:FixWantedFiles/code.js",    ] });

/* Chat Hacks, Monchoman45 */ importScriptPage('User:Monchoman45/ChatHacks.js', 'c');

/* Auto-refresh pages, Pcj */ importScriptPage( 'AjaxRC/code.js', 'dev' ); var ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions","Special:WikiActivity", "Special:NewFiles"]; var AjaxRCRefreshText = 'Auto-refresh';

/* 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 ////////////////////////// ///////////////////////////////////////////////////////////////////

/* 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": ""}; }