https://bugzilla.wikimedia.org/show_bug.cgi?id=62118
Bug ID: 62118
Summary: Name is not always returned when coprop=name is set in
coordinates api
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]
Web browser: ---
Mobile Platform: ---
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.
--
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