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)


 * Thank you!


 * I just know tried (I took my time...) and it doesn't work. I'm also trying to add a link to the edit button dropdown menu, so I will satisfied if that will work, but there is some errors in this code:

function EditOptions { // Edit in Monobook $('In Monobook').appendTo('#WikiaPageHeader nav.wikia-menu-button ul.WikiaMenuElement'); } addOnloadHook(EditOptions);