[Mediawiki-api] arbitrary limit on backlinks?

Robert Ullmann rlullmann at gmail.com
Sun Jul 19 09:54:53 UTC 2009


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<kostmo at 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: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
> Mediawiki-api at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
>



More information about the Mediawiki-api mailing list