User:AnimatedCartoons/global.js

/** * Chat stuff import * @source: http://animatedcartoons.wikia.com/wiki/Chat_stuff */ var exceptions = ['http://animatedcartoons.wikia.com']; if (exceptions.indexOf(wgServer) === -1) { if (wgPageName === 'Special:Chat') { if (wgUserGroups.indexOf('chatmoderator') > -1 || wgUserGroups.indexOf('sysop') > -1 || wgUserGroups.indexOf('staff') > -1 || wgUserGroups.indexOf('vstf') > -1) { importArticles({               type: "script",                article: "w:c:animatedcartoons:Chat_stuff/chat.js/personal.js/chatmod.js"            }, {                type: "style",                article: "w:c:animatedcartoons:Chat_stuff/chat.css"            }); } else { importArticles({               type: "script",                article: "w:c:animatedcartoons:Chat_stuff/chat.js/personal.js"            }, {                type: "style",                article: "w:c:animatedcartoons:Chat_stuff/chat.css"            }); }   } }