User:ChaoticShadow/global.js

//Commented imports are temporarily disabled.

window.RevealAnonIP = { permissions : ['user'] };

window.lastEdited = { size: true, diff: true, comment: true, time: true };

var ArchiveToolConfig = { archiveListTemplate: 'Archives', archivePageTemplate: 'Archivepage', archiveSubpage: 'Archive', userLang: true };

//Sine = { //   sine: '  ' //};

if (mw.config.get('wgPageName') == 'Special:Torus') { importScriptPage('MediaWiki:Torus.js', 'monchbox'); }

//Imports from devwiki importArticles({   type: 'script',    articles: [        'u:dev:RelocateEditDiscussionButtons/code.js',        'u:rs:User:Joeytje50/tabinsert.js',        'u:dev:AutoEditDropdown/code.js',        //'u:dev:QuickTools/advanced.js',        //'u:dev:QuickToolsv2/code.js',        'u:dev:DisplayClock/code.js',        'u:dev:PageMakerPro/code.js',        'u:dev:View_Source/code.js',        //'u:dev:FloatingToc/code.js',        'u:dev:LastEdited/code.js',        //'u:dev:QuickTools/code.js',        'u:dev:ListFiles/code.js',        'u:dev:HideRail/code.js',        'u:dev:AjaxRC/code.js',        //'u:dev:Sine/code.js'    ] }); importScriptPage('User:ChaoticShadow/chatrail.js', 'c'); importScriptPage('User:ChaoticShadow/wikia.js', 'c'); importArticles({   type: 'script',    articles: [        'u:dev:WallGreetingButton/code.js',        //'u:dev:Voice_Dictation/voice.js',        'u:dev:MarkForDeletion/code.js',        'u:dev:RevealAnonIP/code.js',        'u:dev:ArchiveTool/code.js',    ] });

//Import from Monchoman45 //importScriptPage('User:Monchoman45/ChatHacks.js', 'c');

//Import from Juey //importScriptPage('User:Joeytje50/ChatPMs.js', 'c');

if (mw.config.get('skin') === 'monobook') { importArticle({       type: 'style',        article: 'u:dev:Pseudo-Vector/code.css'    }); }

/* if (wgSiteName == "Community Central" && wgCanonicalSpecialPageName == "Chat") { $('.ChatWindow .Rail').css('overflow', 'hidden'); $('.ChatWindow .Rail .private').css('display', 'block'); $('.ChatWindow #WikiChatList').css({   'overflow-y': 'auto',    'height': '60%',    'max-height': '80%',    'resize': 'vertical'    }); $('.ChatWindow #PrivateChatList').css('overflow-y', 'auto'); }*/