Hello Johannes, the OSM extension has it's installation-docu:
https://de.wikipedia.org/wiki/Wikipedia:WikiProjekt_Georeferenzierung/Anwen…
That means we load the following JS into the system:
http://meta.wikimedia.org/w/index.php?title=MediaWiki:OSM.js
This JS looks in the article to find a coordinate-hook and add a link
behind it, this link open the iframe.
It's all relatively complex and I believe a normal weblink would be
for your tool perhaps be the better alternative. By a template this
link could also be in the right top corner, but your tool wouldn't run
in an iframe. The solution with an iframe has also disadvantages that
the window is relatively small.
About how many articles we are talking?
Could we find a more generic way for all historical map by supporting
later OpenHistoricMap? Than the situation would be different.
Greetings Tim alias Kolossos
Zitat von Johannes Kroll <johannes.kroll(a)wikimedia.de>de>:
Hi all!
We are building an OpenLayers-based, time-variable interactive map of
ancient Roman military installations. A beta version is available on
Tool Labs[0].
I was asked to begin integrating the map into dewiki articles. As a
first step, a customized version of the map should be added to some
Limes-related articles copied to the user namespace for testing.
Obviously, I can't just add a script which adds custom HTML to the
DOM. However, the OSM plugin/extension/? which is used by the
Coordinate Template seems to do exactly that, so there must be a way to
do it.
How would I go about this?
Thanks,
Johannes
[0]
http://tools.wmflabs.org/render-tests/limes/web/
--
Johannes Kroll
Softwareentwickler
Wikimedia Deutschland e.V. | NEU: Obentrautstr. 72 | 10963 Berlin
Tel. (030) 219 158 26-0
http://wikimedia.de
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg
unter der Nummer 23855 B. Als gemeinnützig anerkannt durch das
Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985.
_______________________________________________
Maps-l mailing list
Maps-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/maps-l