User:Eladkse/wikia.js

importScriptPage('MediaWiki:CustomOasis.js', 'casualty');

function RecentChanges { $('a.wikia-button[data-id$="wikiactivity"]').replaceWith('Wiki Activity'); $('.WikiaActivityModule a.more').replaceWith('See more &gt;'); }

addOnloadHook(RecentChanges);

/* --- TWITTER --- */

function TwitterModule { $('section.WikiaActivityModule').after('Twitter  new TWTR.Widget({ version: 2,  type: 'profile',  rpp: 3,  interval: 6000,  width: 'auto',  height: 300,  theme: {    shell: {      background: '#333333',      color: '#1a1a1a'    }, tweets: {     background: '#000000',      color: '#ffffff',      links: '#3b7577'    }  },  features: {    scrollbar: false,    loop: false,    live: false,    hashtags: true,    timestamp: true,    avatars: false,    behavior: 'all'  }}).render.setUser('casualtywiki').start; See more &gt; '); } addOnloadHook(TwitterModule);