and I doubt this is the best way for WikiMiniAtlas,
since there
are so many different ways that the coord template can be called.
Just consider all the lat/lat_min parameters to infobox templates.
Shouldn't you just dig out from the external links table, all the
links to the
stable.toolserver.org/geohack/ and parse the
coordinates from those URLs?
Yes I should, and I thought I already told you that
this is what I'm doing for
the english wikipedia and for commons. And I also set up a page explaining
why this is quiite a lot of work, and how people can help me with this, if
they want faster updates for their language.
http://meta.wikimedia.org/wiki/WikiMiniAtlas/CoordinateProcessing
I guess I'll have to make this more public....
And when WikiMiniAtlas is invoked from an article,
such as
Grängesberg, the call to the toolserver (that fetches the map
tiles) could perhaps be used for updating the coordinate for that
article. We can be pretty sure that those who update a coordinate
will pop up the WikiMiniAtlas to see they made no mistake.
Yeah, that's not a
bad idea. I even used to have a Javascript gadget that sent
the data to the toolserver, whenever a coordinate in an article was updated.
In any case, the red dot, is generated on the the client side and will always
use the most up to date coordinates.
Dschwen