User:Shadow Runner/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';

/* =========================================================== *\ ** 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. ** \* =========================================================== */

/** * 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:Shadow_Runner/Sandbox');        addTopLink('Projects', '/wiki/Guild_Wars_Wiki:Projects');        addTopLink('ip edits', '/index.php?title=Special:RecentChanges&hideliu=1');        addTopLink('New files', '/wiki/Special:NewFiles');        addTopLink('Untagged files', '/index.php?title=Special:UncategorizedFiles');        addTopLink('Admin list', '/wiki/Guild_Wars_Wiki:List_of_administrators');        addTopLink('Elections', '/wiki/Guild_Wars_Wiki:Elections');        addTopLink('rfa', '/wiki/Guild_Wars_Wiki:Requests_for_adminship');        addTopLink('Delete', '/wiki/GWW:DELETE');        addTopLink('Images', '/wiki/Guild_Wars_Wiki:Image_use');        addTopLink('Monobook.js', '/wiki/User:Shadow_Runner/monobook.js'); });

function contribCount {  if ( wgNamespaceNumber < 100 ) {    var itemNode = document.createElement( 'li' ); itemNode.appendChild( document.createElement( 'a' ) ); itemNode.lastChild.href = 'javascript:addScript(\'User:Poke/GuildWarsWikiTools/ContributionCount.js\');void(0)'; itemNode.lastChild.title = 'See this page on GuildWiki'; itemNode.lastChild.appendChild( document.createTextNode( 'Cont' ) ); document.getElementById( 'p-cactions' ).getElementsByTagName( 'ul' )[0].appendChild( itemNode ); } } hookEvent( 'load', contribCount);