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

       Web browser: ---
            Bug ID: 47133
           Summary: Some api responses do not contain coordinates
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: GeoData
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Some api responses e.g.
http://en.m.wikipedia.org/w/api.php?format=json&action=query&prop=pageimages%7Ccoordinates&pithumbsize=180&pilimit=50&generator=geosearch&ggscoord=37.78670760000001%7C-122.39959539999998&ggsradius=10000&ggsnamespace=0&ggslimit=50&_=1365705318404

do not return coordinates in the results
In this specific example the following is returned:
"4574532":{"pageid":4574532,"ns":0,"title":"Palace Hotel, San
Francisco","thumbnail":{"source":"http://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Palace_Hotel_and_Lotta%27s_Fountain.jpg/180px-Palace_Hotel_and_Lotta%27s_Fountain.jpg","width":180,"height":135},"pageimage":"Palace_Hotel_and_Lotta's_Fountain.jpg"}

Expected: if there are no coordinates it shouldn't appear in the response

-- 
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