User:Guarapiranga/WhatRedirectsHere.js

/*** What Redirects Here ***/

// Adds link to Special:WhatLinksHere filtered to redirects // By en:w:User:Guarapiranga

$(function {	mw.util.addPortletLink( 'p-tb', 'https://en.wikipedia.org/wiki/Special:WhatLinksHere?hidetrans=1&hidelinks=1&target='+encodeURIComponent(mw.config.get('wgPageName')), 'What redirects here', 'whatredirectshere', 'Redirects to '+mw.config.get('wgPageName'), '',		$('#pt-whatlinkshere').next ); });