User:Roads/global.js

importScriptPage('FixWantedFiles/code.js', 'dev');

window.AdvancedOasisUI = { accountNavFollowedPages: false, accountNavWatchlist: false, categoryRedlink: true, RCHeader: true, lightbox: true, randomPageLimitedTo: '', userLang: true, }; importScriptPage('AdvancedOasisUI/code.js', 'dev');

importScriptPage('RelatedDiscussionsModule/code.js', 'dev');

importArticles({   type: 'script',    articles: [        'u:wikimarks:Client.js'    ] });

/* Monchomans chat hacks */ importScriptPage('User:Monchoman45/ChatHacks.js', 'c');

/* adds a button that increases the content size and hides the rail */ function CreateContentResizeButton { var headerWidth = $('header#WikiaPageHeader.WikiaPageHeader details').width; var contentWidth = $('article#WikiaMainContent.WikiaMainContent').width; var catlinksWidth = $('div#catlinks.catlinks').width; if(contentWidth < 1000) { $('header#WikiaPageHeader.WikiaPageHeader details').css({"width": '980px'}); $('article#WikiaMainContent.WikiaMainContent').css({"width": '1000px'}); $('div#catlinks.catlinks').css({"width": '1000px'}); $('div#WikiaRail.WikiaRail').css({"display": 'none'}); $('section article header ul.wikia-menu-button').after('Compress'); $('section article header a.wikia-button').after('Compress'); $('section article header a.view-source').after('Compress'); if(wgCanonicalNamespace == 'User_blog') { $('section article div#WikiaUserPagesHeader a.wikia-button').after('Compress'); }	} }