Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
// Add tab to quickly tag for personality rightsimportScript('User:Pruneau/personality.js');mw.loader.load('https://commons.wikimedia.org/w/index.php?title=User:Patstuart/Flickrreview.js'+'&action=raw&ctype=text/javascript');importScript('User:Magnus_Manske/category_intersection.js');// Add a link to check Sul utilif(wgNamespaceNumber==2||wgNamespaceNumber==3)addOnloadHook(poty_check);functionpoty_check(){vartoolbox=document.getElementById("p-tb");if(!toolbox)return;varul=toolbox.getElementsByTagName("UL")[0];varli=document.createElement("LI");vara=document.createElement("A");a.appendChild(document.createTextNode("SUL util"));a.href="http://toolserver.org/~vvv/sulutil.php?user="+wgTitle.split(" ").join(" ");a.className="external";li.appendChild(a);ul.appendChild(li);}// [[User:Dschwen/coordinates.js]]importScript('User:Pruneau/coordinates.js');// Add link to my gallery$(function(){mw.util.addPortletLink("p-personal",//target tab - personal links"http://toolserver.org/~daniel/WikiSense/Gallery.php?wikifam=commons.wikimedia.org&img_user_text=Pruneau",//URL"my gallery",//text"pt-gallery",//id"List of your uploads",//hover text"",//hotkeydocument.getElementById("pt-logout"));//add before logout button})//Categories at the topfunctioncatsattop(){varcats=document.getElementById('catlinks');varbc=document.getElementById('bodyContent');bc.insertBefore(cats,bc.childNodes[0]);}if(wgNamespaceNumber!=-1)hookEvent('load',catsattop);