On Mon, Jan 9, 2017 at 7:43 AM, Erik Bernhardson <ebernhardson@wikimedia.org
wrote:
Unfortunately URL isn't one of the currently returned field in the search API. Currently you can simply append the returned title to the /wiki/ prefix of the same domain to generate a URL. The basic API is:
https://en.wikipedia.org/w/api.php?action=query&list= search&srsearch=symfony
I'll add a ticket later to make an optional parameter to return the fully qualified URL. Being explicit couldn't be bad.
You can get the URL via generators, at the cost of not getting the snippet and other search-specific data:
https://en.wikipedia.org/w/api.php?action=query&generator=search&gsr...