Wikipedia or You have simply spelled his name wrong:
https://en.wikipedia.org/w/api.php?action=query&titles=Niels%20Bohr&prop=extlinks&ellimit=max
Regards!
/Ronnie
Från:
Mark Robson <mark.robson@kaspersky.com>
Till:
"mediawiki-api@lists.wikimedia.org" <mediawiki-api@lists.wikimedia.org>
Skickat:
torsdag, 16 augusti 2012 14:05
Ämne:
[Mediawiki-api] Wikipedia external links API missing expected results
Hi,
I’m trying to get the list of external links on pages.
I can do this with the API query command, thus:
https://en.wikipedia.org/w/api.php?action=query&titles=Barack%20Obama&prop=extlinks&ellimit=max
In this case, requesting Barack Obama’s links.
Also it works well with Einstein:
https://en.wikipedia.org/w/api.php?action=query&titles=Albert%20Einstein&prop=extlinks&ellimit=max
However, another famous physicist,
Neils Bohr
, gives me nothing, even though looking at his article, there are several external links.
https://en.wikipedia.org/w/api.php?action=query&titles=Neils%20Bohr&prop=extlinks&ellimit=max
Do you know why this is? Is it a bug?
Regards
Mark
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api