linksto/linksfrom to look through redirects to their targets
I'm keen on using DPL queries to spot asymmetric linking where A>B but not the reverse.
| linksto={{PAGENAME}} | notlinksfrom={{PAGENAME}}
But redirects are common on my site so it reports an imbalance when A>B and B>C where C is a redirect to A. Is there a way to look through the redirect to its target to spot this. I'm prepared to have a go coding it if its likely to be straightforward.