If you click on "Hide transclusions" in the WhatLinksHere page, you'll
see the list you are getting from the API for backlinks.

Seems you want some form of the "all links" list query to get the
transclusions, but I'm not quite sure.

On Sun, Jul 19, 2009 at 12:21 PM, Karl Ostmo<[email protected]> wrote:
> Hello,
>
> I am trying to figure out why there is a discrepancy between the number of
> backlinks produced via the API versus the main web interface:
>
> http://en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/Template:Taxobox&namespace=0&limit=100
> -> produces 100 results, with more pages available
>
> http://en.wikipedia.org/w/api.php?action=query&list=backlinks&bltitle=Template:Taxobox&blnamespace=0&blfilterredir=nonredirects&bllimit=100&format=xml
> -> produces only 48 results (ending in "Leaf-mimic katydid")
>
> Is there something wrong with my query string?
>
> Thanks,
> Karl
>
> _______________________________________________
> Mediawiki-api mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
>

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

Reply via email to