MediaWiki:Apierror-allpages-generator-redirects Use gapfilterredir=nonredirects instead of redirects when using allpages as a generator.