On Sun, Dec 28, 2008 at 11:17:25AM +0200, Avi Rosenschein wrote: > > Why is there a difference between > http://en.wikipedia.org/w/api.php?action=query&list=backlinks&blredirect&bllimit=100&blnamespace=0&blfilterredir=redirects&bltitle=Plural, > where the problematic backlinks are not marked separately, and > http://en.wikipedia.org/w/api.php?action=query&list=backlinks&blredirect&bllimit=100&blnamespace=0&blfilterredir=redirects&bltitle=Ticker%20symbol, > where they seem to be included under a <redirlinks> element?
Everything in the <redirlinks> element in your second query is a link to a redirect to the bltitle, rather than a direct link to bltitle. For example, MSFT links to "Stock symbol", which in turn redirects to "Ticker symbol", so it's displayed in a <redirlinks> element under "Stock symbol" in the query. In the first query, everything returned links directly so <redirlinks> is not needed. _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
