[Mediawiki-api] Get the right article among disambiguation results
Adrien ANDRE
adrien.andre.m at gmail.com
Fri Dec 16 14:34:25 UTC 2011
Hi,
would you know how i could use the API to get articles about musicians
among disambiguation results ?
Examples are "Queen" and "Calvin Russell" which can refer to different
things.
I guess i have to find a way to specify "Music", which is the name of a
disambiguation section that often appear in those pages.
I've tryed several manners like:
http://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&format=xml&rvsection=0&titles=Queen
and
http://en.wikipedia.org/w/api.php?action=query&list=search&srlimit=5&format=xml&srsearch=Queen
But i don't see a way to do thing without excessive parsing and querying.
Thanks in advance,
regards,
Adrien
More information about the Mediawiki-api
mailing list