https://bugzilla.wikimedia.org/show_bug.cgi?id=50192

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accessibility

--- Comment #1 from [email protected] ---
I would like to make a query to wikipedia to fetch articles close to a location
of the users, such as (fake example here).

http://en.wikipedia.org/w/api.php?action=query&prop=coordinates&titles=New%20Jersey|Venice&format=jsonfm

Is there any nearby module exposing results which can be done in combination of
other props?
How to obtain the nearby search like in wikimedia mobile?
{
    "query": {
        "pages": {
            "21648": {
                "pageid": 21648,
                "ns": 0,
                "title": "San Marco Square",
                "coordinates": [
                    {
                        "lat": 40,
                        "lon": -74.5,
                        "primary": "",
                        "globe": "earth"
                    }
                ]
            },
            "32616": {
                "pageid": 32616,
                "ns": 0,
                "title": "Venice",
                "coordinates": [
                    {
                        "lat": 45.4375,
                        "lon": 12.3358,
                        "primary": "",
                        "globe": "earth"
                    }
                ]
            }
        }
    }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to