User:Prince(ss) Platinum/global.js

//Vector skin loader By: Princess Platinum //Vector CSS from Uncyclopedia var skin = mw.config.get( 'skin' ); if (skin === "monobook") { var link = 'http://uncyclopedia.wikia.com/__load/-/cb%3D62259%26debug%3Dfalse%26lang%3Den%26only%3Dstyles%26skin%3Duncyclopedia/site'; var style = document.createElement('link'); style.rel = 'stylesheet'; style.href = link; style.type = 'text/css'; style.media = 'all'; document.head.appendChild(style); }

var ajaxPages = ["Special:RecentChanges", "Special:Watchlist", "Special:Log", "Special:Contributions", "Special:WikiActivity"]; var ajaxRefresh = 15000;

Sine = { sine: 'Prinplat  ]Open Source[  ', talkNameSpaces: [118,1,3,5,7,9,11,13,15,110,111,114,401,500,501,502,503], };

window.DisplayClockJS = { format: '%2I:%2M:%2S %p %2d %{January;Febuary;March;April;May;June;July;August;September;October;November;December}m %Y (UTC)', location: 'header', hoverText: 'This is what the user sees when they hover their mouse over the link', interval: 500, monofonts: 'Consolas, monospace' };

importArticles({   type: 'script',    articles: [        'u:dev:OldFilePages/code.js',        'u:monchbox:MediaWiki:B3.js',        'u:dev:ListFiles/code.js',        'u:dev:AjaxBatchDelete/code.js',        'u:dev:DupImageList/code.js',        'u:dev:ArchiveTool/code.js',        'u:dev:DisplayClock/code.js',        'u:dev:QuickTools/code.js',        'u:dev:RevealAnonIP/code.js',        'u:dev:AjaxRC/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:Sine/code.js',        'u:dev:RecentChangesModule/code.js',    ] });

var script = document.createElement('script'); script.src = 'http://monchbox.wikia.com/wiki/MediaWiki:Torus.js/main.js?action=raw&ctype=text/javascript&templates=expand'; script.type = 'text/javascript'; document.head.appendChild(script);

//Edit count tab $(function {   var loc = window.location.href;    var username = (wgTitle == "Contributions") ? loc.substring(loc.lastIndexOf("/")+1) : wgTitle;    $('.tabs-container > ul.tabs').append('Editcount'); });