Thank you Brad,
done it.

however, I understand there is no wikipedia api to expose the nearby search at the moment, correct?
a) do you plan to set it up ?
b) would it be possible to use the http://en.m.wikipedia.org/wiki/Special:Nearby
but instead of pointing the link to the wikipedia page, to point the link to our db (which is mapped on the wikipedia) ?
how to ?
I would like to return the results possibly using the curid of pages, not only titles.

On Tue, Jun 25, 2013 at 9:50 PM, Brad Jorsch (Anomie) <bjorsch@wikimedia.org> wrote:
On Tue, Jun 25, 2013 at 3:40 PM, Luigi Assom <luigi.assom@gmail.com> wrote:
>
> wiki exposes the nearby search of articles:
> http://en.m.wikipedia.org/wiki/Special:Nearby
>
> I now you can use prop=coordinates to expose the coordinates of one article.
>
> http://en.wikipedia.org/w/api.php?action=query&prop=coordinates&titles=New%20Jersey|Venice&format=jsonfm
>
> Is there any api to expose the nearby service for fetching articles close to
> one's coordinate?
> How to do the nearby above?

Special:Nearby is a feature of the MobileFrontend extension. You
should file an "enhancement" bug in bugzilla against that extension
asking for API access to the data.

If you already have an account on Wikimedia's bugzilla and are signed
in, this link will take you to the right place to file the request:
https://bugzilla.wikimedia.org/enter_bug.cgi?product=MediaWiki%20extensions&component=MobileFrontend&bug_severity=enhancement

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



--
Luigi Assom

Skype contact: oggigigi