Forum:Only editing in monobook

I'm using Oasis as default skin, but for editing I find monobook more handful, how can I make a script that will let me change skin only when editing, something like " "?

$(function {   if (wgAction == 'edit' && skin == "oasis") {      location.href = "/wiki/" + encodeURIComponent(wgPageName) + "?action=edit&useskin=monobook";   } });

That's the quick and easy way to do it. I'll post a more convenient solution when I have more time. -- Kangaroopowah  ( Talk ) 19:30, April 13, 2012 (UTC)

Isn't Wikia using pretty URL now? The old URLs should still work, but isn't the first part  not necessary? Thank you, anyway.
 * Yeah, I just realized that the encode function stops the error I was think of. I've updated the code above. Best, -- Kangaroopowah  ( Talk ) 20:34, April 14, 2012 (UTC)