Hi all,
not sure whether this is an API issue, or something to do with the way
coordinates are stored.
If you look at this query, you'll see that for some of the pages
coordinates are listed, for others they are not:
https://de.wikipedia.org/w/api.php?action=query&prop=coordinates&generator=…
However, quite a few pages do have coordinates on the corresponding
wikipedia page, e.g.
https://de.wikipedia.org/wiki/Cornia_Nou
Any ideas what that might be?
(As an aside, just in case it's related: How do coordinates end up in
Wikidata? I assume it's a bot? Presumably the bot uses the API? Some of the
above pages have got coordinates on the page, but not in Wikidata...)
Thanks!
Bjoern
Hello,
We have retired the subdomain citoid.wikimedia.org at 17:00 UTC today. As
previously indicated by James, the way to reach Citoid, the citation
service, is now exclusively through the REST API~[1].
Cheers,
Marko Obrovac, PhD
Senior Services Engineer
Wikimedia Foundation
[1] https://en.wikipedia.org/api/rest_v1/#!/Citation/getCitation
On 8 March 2017 at 11:51, James Forrester <jforrester(a)wikimedia.org> wrote:
> Hey all,
>
> The citoid service, which looks up URLs and similar strings and turns them
> into citations, has moved to be accessed via RESTbase as part of
> decommissioning the per-service domain system[0]. The old domain will stop
> working on *1 May 2017* (just under two months from now).
>
> In simple terms, this means that requests to citoid via
> citoid.wikimedia.org/api?… (*e.g.* [1]) now need to go to {wiki
> domain}/api/rest_v1/data/citoid/… (*e.g.* [2]) to work. End-point
> documentation is available in the usual place.[3]
>
> We have already moved the automatic citation feature inside the visual
> editor to use the domain. If you are responsible for a script, gadget, or
> tool which is using the old domain, please switch over before the deadline.
>
> [0] https://phabricator.wikimedia.org/T133001
> [1]
> https://citoid.wikimedia.org/api?format=mediawiki&search=
> http%3A%2F%2Flink.springer.com%2Fchapter%2F10.1007%2F11926078_68
>
> [2]
> https://www.mediawiki.org/api/rest_v1/data/citation/
> mediawiki/http%3A%2F%2Flink.springer.com%2Fchapter%2F10.1007%2F11926078_68
>
> [3] https://en.wikipedia.org/api/rest_v1/#!/Citation/getCitation
>
> Yours,
>
> --
>
> James D. Forrester
> Lead Product Manager, Editing
> Wikimedia Foundation, Inc.
> jforrester at wikimedia.org
> <https://lists.wikimedia.org/mailman/listinfo/wikimedia-l> |
> @jdforrester
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l