User:Samantas5855/global.js

$(function skinswitcher { var mods = "";  if (document.URL.indexOf('?') != -1) {    mods = '&' + document.URL.substring(document.URL.indexOf('?') +1);    if (mods.indexOf('&useskin=') != -1) {      mods = mods.replace(/&useskin=\w+/,"");    }  }  switch(skin) {    case 'uncyclopedia':    case 'wowwiki':    case 'lostbook':    case 'monobook':      $('Oasis').appendTo('#p-cactions ul');      break;    case 'oasis':    case 'wikia':      $('Monobook').appendTo('#WikiaPageHeader');      break;  } });

importArticles( {   type: 'script',    articles: [        "u:dev:ChatOptions/code.js"    ] } );

// Define the chat header items var chatTopicArray = [ {url:wgServer+"/wiki/Club_Penguin_Wiki:Policy/Chat",text:"Chat Policy",imgUrl:"http://images.wikia.com/clubpenguin/images/thumb/9/9e/Red_exclamation.PNG/60px-Red_exclamation.PNG"}, {url:wgServer+"/wiki/Special:RecentChanges",text:"Recent Changes"}, {url:wgServer+"/wiki/MediaWiki:Emoticons",text:"Emotes",imgUrl:"http://http://images.wikia.com/clubpenguin/images/a/a8/Happy_Emoticon_20px.png"}, {url:wgServer+"/wiki/Special:MyPage",text:"Profile",imgUrl:""+wgAvatarUrl}, {url:wgServer+"/wiki/Special:Chat?action=purge",text:"Refresh",imgUrl:"http://images.wikia.com/clubpenguin/images/thumb/0/0b/Rollback.png/20px-Rollback.png"} ];