User:Rapta/monobook.js

// GuildWatch - by [User:Ale_jrb]

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); }

// Need the addPortlet function... importScript('User:Rapta/portlet.js');

// Get the Guild Watch function... importScript('User:Rapta/guildwatch.js');

// Get the editing functions... importScript('User:Rapta/guildwatchfuncs.js');