Pe joi, 8 noiembrie 2018, Martin Dittus <martin(a)dekstop.de> a scris:
Thank you Strainu and Bartosz, this was very useful.
As far as I can tell, idwiki editors simply don't use the GeoData
geotagging conventions. Instead, people specify article location as
infobox latd/longd properties, which on enwiki (and likely others) is
being deprecated in favour of GeoData tags. While this older method
allows a map to be displayed on the page, the coordinates are not
imported by the GeoData extension, and as a result none of these
geotagged pages show up in API geo lookups, or in the data dumps.
I think you're confusing the coord template with the #coordinates: parser
function - unintuitively, they're both in brackets. The first is a generic
way of displaying some coordinates. It can be built by code from
individual parameters, like on id.wp, or it can be passed already built,
like on en.wp. What it does inside varies, and some wikis, in addition to
displaying the coordinates, also call the parser function.
The parser function, on the other hand, simply saves the data in the
database, without displaying anything. It is almost always called from
templates or modules and very rarely directly from pages. Adding it to
Template:coord (or Module:Coordinates, for most wikis nowadays) makes the
coordinates magically appear in the database in some time. For instance,
these are the changes I made to use the parser function on ro.wp:
https://ro.wikipedia.org/w/index.php?title=Modul%3ACoordonate&type=revi…
Strainu
See also:
https://en.wikipedia.org/wiki/Wikipedia:Coordinates_in_infoboxes
I'm now pondering if there's a quick way to asses for which wikis this
is the case... I may report back if I find a simple approach, beyond
simply manually checking every wiki.
Thanks again!
m.
On Wed, Nov 7, 2018 at 10:31 PM Bartosz Dziewoński <matma.rex(a)gmail.com>
wrote:
The coordinates template/module needs to use the {{#coordinates:…}}
parser function for the page to be geotagged.
--
Bartosz Dziewoński
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l