We are trying to fetch italian data from wikipedia's api. We have multiple names and need to get the first 10 results.
e.g. we want to collect the data from the "Persone" section of this result: http://it.wikipedia.org/wiki/Francesco_(nome)
Right now the I'm trying this approach:
$kw = $name."_(nome)";
$url = "http://it.wikipedia.org/w/api.php?format=json&action=query&titles=".$kw."&prop=revisions&rvprop=content";
Other questions did not help much, i'm getting no output.