User:Dr ishmael/monobook.js

//importScript('User:AT/wikiswap.js');

function addGWWSwitch {   var hist; var url; if (!(hist = document.getElementById('ca-history') )) return; if (!(url = hist.getElementsByTagName('a')[0] )) return; if (!(url = url.href )) return; addPortletLink('p-cactions', 'http://www.guildwiki.org/' + wgCanonicalNamespace + ':' + encodeURIComponent( wgTitle ),                  'GW', 'ca-gw', 'See this page on GuildWiki'); } addOnloadHook(addGWWSwitch);