MediaWiki:Apihelp-query+embeddedin-param-filterredir/en

How to filter for redirects.