Page MenuHomePhabricator

add exclude redirects on backlinks or indicate redirect in result
Closed, ResolvedPublic


Either add an option blexcluderedirect, or add a isredirect="true" to <bl />

probably similar should be done to other lists.

This is important for some applications, where redirects should be ignored.

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 9:50 PM
bzimport set Reference to bz10980.

Assigning to self, as a reminder to fix this tomorrow.

Fixed in r25476. I added the blfilterredir param, which you can set to redirects (only redirects), nonredirects (only non-redirects) or all (default). If you want to know which of your backlinks are redirects, use a generator:


This will feed Main Page's backlinks to prop=info, who will happily tell you whether or not it's a redirect.