User:Shockstorm/wikia.js

function addEditLinksToWLH { if(wgCanonicalSpecialPageName=='Whatlinkshere') {   var links = document.getElementById("mw-whatlinkshere-list").getElementsByTagName('li'); for(var i = 0; i(edit) '; links[i].insertBefore(editLinkSpan,tools[0]); } } }

addOnloadHook(addEditLinksToWLH);