Hello George,

Thanks for the information.

I’m wondering if you are saying that this might be a bug with the query when 
trying to issue it from the Wikibase.

If not I'm wondering if you can suggest an alternative approach that might be 
able to get the desired information.

On Jan 8, 2024, at 20:45, Gergo Tisza <gti...@wikimedia.org> wrote:

The country property seems to be set from the region parameter of the 
{{#coordinates}} parserfunction [1]. When the coordinate comes from Wikibase 
(as is the case with that category page), it seems like it is never set [2]. I 
did not check the other properties but presumably the same situation.


[1] 
https://gerrit.wikimedia.org/g/mediawiki/extensions/GeoData/+/f2fc19967630d0546fa18cab217c90890129b141/includes/CoordinatesParserFunction.php#212
[2] 
https://gerrit.wikimedia.org/g/mediawiki/extensions/Wikibase/+/c962837948cd6291c7c77ea6172da44862e7279f/repo/includes/ParserOutput/GeoDataDataUpdater.php#220
_______________________________________________
Mediawiki-api mailing list -- mediawiki-api@lists.wikimedia.org
To unsubscribe send an email to mediawiki-api-le...@lists.wikimedia.org

_______________________________________________
Mediawiki-api mailing list -- mediawiki-api@lists.wikimedia.org
To unsubscribe send an email to mediawiki-api-le...@lists.wikimedia.org

Reply via email to