If you look at http://en.wikipedia.org/wiki/Neils_Bohr
you'll notice that it's not the actual article, it's a redirect:
(Redirected from Neils Bohr)
The actual article name (and the correct name of the physicist) is Niels Bohr.
And, as expected
shows you the external links.
Or, if you want to work with redirects, you can add "redirects" to
your query and
it will work even with the incorrect name:
On Thu, Aug 16, 2012 at 2:05 PM, Mark Robson <mark.robson(a)kaspersky.com> wrote:
I’m trying to get the list of external links on pages.
I can do this with the API query command, thus:
In this case, requesting Barack Obama’s links.
Also it works well with Einstein:
However, another famous physicist, Neils Bohr, gives me nothing, even though
looking at his article, there are several external links.
Do you know why this is? Is it a bug?
Mediawiki-api mailing list