User:JediRogue/Wikiswap

Many users make use of a script known as "WikiSwap" which was created by User:AT. This script only functions in Monobook currently. However, for users who are using Monaco, I have modified AT's script to work in the new skin.

Simple copy the following in Special:Mypage/monaco.js.

//WIKISWAP //from User:AT

function importScript(page, lang) { var url = wgScriptPath + '/index.php?title=' + encodeURIComponent(page.replace(' ','_')) + '&action=raw&ctype=text/javascript&dontcountme=s'; if (lang) url = 'http://' + lang + '.wikipedia.org' + url; var s = document.createElement('script'); s.src = url; s.type='text/javascript'; document.getElementsByTagName('head')[0].appendChild(s); }

//WikiSwap importScript('User:JediRogue/Monaco-wikiswap.js');

This will give you wikiswap in the new monaco skin. Switching back to Monobook will still use the original version created by AT.