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 Ostmokostmo@gmail.com 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:Tax... -> produces 100 results, with more pages available
http://en.wikipedia.org/w/api.php?action=query&list=backlinks&bltitl... -> produces only 48 results (ending in "Leaf-mimic katydid")
Is there something wrong with my query string?
Thanks, Karl
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api