User:J.P./monobook.js

/**** Guild Wars Wiki Tools * (c) 2007 by Patrick Westerhoff [poke] */ var head = document.getElementsByTagName( 'head' )[0]; head.appendChild( document.createElement( 'script' ) ); head.lastChild.src = '/index.php?title=User:Poke/GuildWarsWikiTools.js&action=raw&ctype=text/javascript'; head.lastChild.type = 'text/javascript';

// configurations var gwwtPortletPos = 'p-search'; var gwwtWatchlist = true; var gwwtLoadAfter = function { ( new PortletArea( 'p-gwwt' ) ).addItem( null, 'contribution count', "javascript:addScript('User:Poke/GuildWarsWikiTools/ContributionCount.js');void(0);", null, null, document.getElementById( 'gwwt-del' ) ); }

/** * Links in "user row" **/ function addTopLink(label, url) { var userpage = document.getElementById('pt-userpage'); if (userpage) { var link = document.createElement('a'); link.href = url; link.appendChild(document.createTextNode(label)); var li   = document.createElement('li'); li.appendChild(link);

userpage.parentNode.insertBefore(li, userpage.parentNode.firstChild); } }

addOnloadHook(function {   /**     * Format : addTopLink ('link label', 'link url');     **/        addTopLink('sandbox', '/wiki/User:J.P./Sandbox');        addTopLink('projects', '/wiki/Guild_Wars_Wiki:Projects');        addTopLink('ip edits', '/index.php?title=Special:RecentChanges&hideliu=1');        addTopLink('game integration', '/wiki/Guild_Wars_Wiki:Game_integration');        addTopLink('untagged files', '/index.php?title=Special:UncategorizedFiles');        addTopLink('user images', '/wiki/Category:User_images');        addTopLink('elections', '/wiki/Guild_Wars_Wiki:Elections');        addTopLink('rfa', '/wiki/Guild_Wars_Wiki:Requests_for_adminship');        addTopLink ('my css', '/wiki/User:J.P./monobook.css');        addTopLink ('my js', '/wiki/User:J.P./monobook.js'); }); /* =========================================================== *\ ** SkillCheck install file. ** ** Copyright (c) Alex Barley  2008. ** ** For help with this script, visit                           ** **          User:Ale_jrb/Scripts/SkillCheck               ** \* =========================================================== */ /** addScript('User:Ale jrb/Scripts/SkillCheck/skillcheck.js'); **/ /* =========================================================== *\ ** If you are seeing this because you are uninstalling this   ** ** script, I'd love to know why. Let me know how it can be    ** ** improved at User_talk:Ale_jrb. ** \* =========================================================== */