MediaWiki:Wikia.js

/** See: http://dev.wikia.com/wiki/Talk:ShowHide#The_Oasis_problem_has_been_solved **/ // Putting it here because its a Wikia-skin (oasis) only problem.

w = screen.width * ( 1 - 0.0234375 );

$('header#WikiaHeader').width(w + 14); $('section#WikiaPage').width(w); $('div#toolbar').width(w+10);

function importScriptPage (page, server) { var url = '/index.php?title=' + encodeURIComponent(page.replace(/ /g,'_')).replace('%2F','/').replace('%3A',':') + '&action=raw&ctype=text/javascript'; if (typeof server == "string") url = (server.indexOf('://') == -1)?'http://' + server + '.wikia.com' + url:server + url; return importScriptURI(url); } /** See: http://dev.wikia.com/wiki/Talk:ShowHide#The_Oasis_problem_has_been_solved **/