User:Minesweeper.007/wlh.js

function WLHaction { if(document.getElementById('t-whatlinkshere')) mw.util.addPortletLink('p-cactions', document.getElementById('t-whatlinkshere').firstChild.href,'What links here','ca-whatlinkshere'); } addOnloadHook(WLHaction);