User:Nayayen/global.js

//Oasis view tab function addOasis { var URL='http://starwars.wikia.com/index.php?title='+wgCanonicalNamespace+':'+wgTitle+'&useskin=wikia' addPortletLink('p-cactions',URL,"useskin=wikia");} addOnloadHook(addOasis); //Sidebar modifications function sidebarMods { if wgDBname != "starwars" { addPortletLink('p-navigation','/wiki/Category:Browse','Category root'); addPortletLink('p-interaction','/wiki/Special:PrefixIndex','List prefixed pages'); addPortletLink('p-wikicities-nav','http://community.wikia.com/wiki/Category:Technical_Updates','Technical updates');} }addOnloadHook(sidebarMods);