User:BioBrain/global.js

importArticle({   type: 'script',    article: 'w:c:dev:OasisToolbarButtons/code.js' })

switch (document.URL.split('.')[0]) { case 'http://unchartedwaters': case 'http://biobrain': break; default: //alert('Global.js running');

importArticles({           type: 'style',            article: 'w:c:dev:BotoneraPopups/code.css'        })

importArticles({           type: 'script',            article: [                'w:c:dev:ListAdmins/code.js',                'w:c:dev:InactiveUsers/code.js',                'w:c:dev:SearchGoButton/code.js',                'w:c:biobrain:MediaWiki:Wikia.js/XpandedPage.js',                'w:c:biobrain:MediaWiki:Common.js/popupsNav.js',                'w:c:dev:BotoneraPopups/Code/en.js'            ]        }) }

/* // http://dev.wikia.com/wiki/InactiveUsers importScriptPage('InactiveUsers/code.js', 'dev')

// http://dev.wikia.com/wiki/OasisToolbarButtons importScriptPage('OasisToolbarButtons/code.js', 'dev');

/*       // http://dev.wikia.com/wiki/SearchGoButton importScriptPage('SearchGoButton/code.js', 'dev');

// ADVANCED AJAX AUTO-REFRESHING ARTICLES importScriptPage('UWO_Script:Auto_Refresh.js', 'unchartedwaters');

// Expanded Page importScriptPage('MediaWiki:Wikia.js/XpandedPage.js', 'biobrain');

// Adds PopupsNavigation importScriptPage('MediaWiki:Common.js/popupsNav.js', 'biobrain');

// Adds BotoneraPopups importScriptURI('http://dev.wikia.com/wiki/BotoneraPopups/Code/en.js?action=raw&ctype=text/javascript&templates=expand'); importStylesheetPage('BotoneraPopups/code.css', 'dev'); */