Last modified: 2014-03-02 23:33:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T64118, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62118 - Name is not always returned when coprop=name is set in coordinates api
Name is not always returned when coprop=name is set in coordinates api
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
GeoData (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-02 00:37 UTC by Maarten Dammers
Modified: 2014-03-02 23:33 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Maarten Dammers 2014-03-02 00:37:00 UTC
See for example https://pl.wikipedia.org/w/api.php?action=query&prop=coordinates&titles=Bamb%C3%BA_%28metro_w_Madrycie%29&coprop=type|name|dim|country|region|globe&format=json . The result is:


{

    "query": {
        "normalized": [
            {
                "from": "Bambú_(metro_w_Madrycie)",
                "to": "Bambú (metro w Madrycie)"
            }
        ],
        "pages": {
            "2019164": {
                "pageid": 2019164,
                "ns": 0,
                "title": "Bambú (metro w Madrycie)",
                "coordinates": [
                    {
                        "lat": 40.4768,
                        "lon": -3.67639,
                        "primary": "",
                        "type": "city",
                        "dim": "10000",
                        "globe": "earth"
                    }
                ]
            }
        }
    }

}

Name is missing. Should probably be returned as null.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links