User:CzechOut/global.js

/* Workaround for incorrect values of wgAction */ if (skin == "oasis" || skin == "wikia") { var locParam = location.href.substr(location.href.indexOf("action=")+7).split("&");

wgAction = (location.href.indexOf("action=") == -1) ? "view" : locParam[0]; }