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 };

var qtUserPageTemplate = '';

//Imports from devwiki importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:RelocateEditDiscussionButtons/code.js',        'u:dev:MediaWiki:QuickCreateUserPage/code.js',        'u:dev:MediaWiki:AutoEditDropdown/code.js',        'u:dev:MediaWiki:DisplayClock/code.js',        'u:dev:MediaWiki:PageMakerPro/code.js',        'u:dev:MediaWiki:View_Source/code.js',        //'u:dev:MediaWiki:FloatingToc/code.js',        'u:dev:MediaWiki:LastEdited/code.js',        'u:dev:MediaWiki:ListFiles/code.js',        'u:dev:MediaWiki:HideRail/code.js',        'u:dev:MediaWiki:AjaxRC/code.js',    ] }); importScriptPage('User:ChaoticShadow/chatrail.js', 'c'); importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:WallGreetingButton/code.js',        'u:dev:MediaWiki:MarkForDeletion/code.js',        'u:dev:MediaWiki:RevealAnonIP/code.js',        'u:dev:MediaWiki: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').click; $('.buttons .primary').click; console.log('1'); }