If Special:WhatLinksHere works for you you can do this using backlinks query.
Find all pages that redirect to en:Main Pagehttp://en.wikipedia.org/wiki/Main_Page . http://en.wikipedia.org/w/api.php?action=query&list=backlinks&bltitl...
http://www.mediawiki.org/wiki/API:Query_-_Lists#backlinks_.2F_bl
Greetings,
Simple question: is there any way to use the MediaWiki API to find a list of redirects *to* a given page? In other words, if I have A #REDIRECT [[B]], can I query B and find out that A is pointing to it? Special:WhatLinksHere does this in the normal UI, but I couldn't find a matching API query.
Cheers, -jani