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

$('.ChatHeader .User .username').html('' + wgUserName + ' (Talk)'); $('.ChatHeader .User.away .username').html('' + wgUserName + ' (Talk)');

if (mw.config.get('wgPageName') == 'Special:Torus') { $('Torus').insertAfter($('.nav-item .subnav-2.firstChild .subnav-2-item:nth-child(5)')); importScriptPage('MediaWiki:Torus.js', 'monchbox'); }

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

importScriptPage('User:ChaoticShadow/chatrail.js', 'c');

//Imports from devwiki importArticles({   type: 'script',    articles: [        'u:dev:AutoEditDropdown/code.js',        //'u:dev:QuickToolsv2/code.js',        //'u:dev:QuickTools/advanced.js',        'u:dev:DisplayClock/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('PageMakerPro/code.js', 'dev'); 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',    ] }); importScriptPage('RelocateEditDiscussionButtons/code.js', 'dev');

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