2010/1/23 Sam Reed <[email protected]>:
> This might’ve just been me being stupid at point of use in AWB… But I’d for
> some reason (not sure rightly or wrongly, my brains a bit fried atm), taken
> that doing the parameters below, would give a list of what links to the
> page, and what links to its redirects, but not the redirects itself..
>
> http://en.wikipedia.org/w/api.php?action=query&list=backlinks&bltitle=Greatest+Hits+–+Volumen+1993–2003&bllimit=max&blnamespace=0&blredirect&blfilterredir=nonredirects
>
Interesting. It seems blfilterredir is applied before blredirect, so
naturally blredirect won't have any effect. Your expectation that the
API should be less stupid in this case seems justified to me: it
should ignore blfilterredirect=nonredirects in blredirect mode, but
only in the first step. Other values of blredirect should not be
ignored and should be applied to both steps.

Roan Kattouw (Catrope)

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to