User:KurwaAntics/global.js

importArticles({   type: "script",    articles: [        "w:c:dev:DisplayClock/code.js",        "w:c:dev:ReferencePopups/code.js",        "w:c:dev:FindAndReplace/code.js",        "w:c:dev:RevealAnonIP/usercode.js",        //"w:c:dev:YouTubeModal/code.js",        "w:c:dev:RelocateEditDiscussionButtons/code.js",        "w:c:dev:View_Source/code.js"    ] });

var body = $('body');

mw.util.addCSS('#findfielddiv { overflow-y: auto; }');

$('.toolbar .tools').append(' '+ '  '+ 'User'+ ''+ 'My user page'+ '' + $('a[data-id="mytalk"]').text + ''+ 'My preferences'+ '<a href="/wiki/Special:Contact/general">Contact Wikia</a></li>'+ '</ul></li>'+ ' '+ '   '+ '<a href="#">Edit JS</a>'+ '<ul id="my-user-menu" class="tools-menu" style="right: auto; display: none;">'+ '<a href="/wiki/MediaWiki:Common.js?action=edit">This Wiki</a></li>'+    '<a href="/wiki/User:Yhynerson1/common.js?action=edit">Personal</a></li>'+    '<a href="http://community.wikia.com/wiki/User:Yhynerson1/global.js?action=edit">Global</a></li>'+    '<a href="/wiki/MediaWiki:ImportJS?action=edit">List of imports</a></li>'+ '<a href="/wiki/Special:JSPages">Review status</a></li>'+ '</ul></li>'+ ' '+ '  '+ '<a href="#">Edit CSS</a>'+ '<ul id="my-user-menu" class="tools-menu" style="right: auto; display: none;">'+ '<a href="/wiki/MediaWiki:Wikia.css?action=edit">This Wiki</a></li>'+ '<a href="/wiki/User:Yhynerson1/wikia.css?action=edit">Personal</a></li>'+ '<a href="http://community.wikia.com/wiki/User:Yhynerson1/global.css?action=edit">Global</a></li>'+ '</ul></li>'+ '<a href="/wiki/Special:Search">Search</a></li>');

console.log('global.js loaded.');