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: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'    }); }

// Makes the template classification default to 'Unknown' if (mw.config.get('wgAction') === "edit" && mw.config.get('wgNamespaceNumber') === 10) { $('#template-classification-unknown').prop('checked',true); $('.buttons .primary').removeAttr('disabled'); $('.buttons .primary').click; console.log('1'); }