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.


On Jan 9, 2017 6:18 AM, "Akinwale Habib" <akinwalehabib@hotmail.com> wrote:


Hello team,


Hope this meets you well?


Please I am finding it impossible to generate a query to search MediaWiki API using a title and get in return url's of all matching pages.


Kindly help.


Thank you.


_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api