On 8/13/07, Rob Church robchur@gmail.com wrote:
On 13/08/07, Gregory Maxwell gmaxwell@gmail.com wrote:
Okay, not as cool as google earth. But it's free, it's by one of us so we can integrate it and customize it, and it's full of our data.
Indeed. Don't we have co-ordinates templates on a lot of pages? Do we link to this tool through them? Seems like something we could work towards.
So, a commons version of this tool which display overlaid images is enabled live on commons. Anytime there is a coordinate template a link is added. For example: http://commons.wikimedia.org/wiki/Image:Wolf_Trap_%28national_park%29_meadow... (click on the blue ball)
Pt and It wikis have turned on the tool globally.
For other projects, you can turn it on in your User JS, instructions at: http://en.wikipedia.org/wiki/User:Dschwen/WikiMiniAtlas
Bringing this back on topic, Does anyone see a reason why it would be unreasonable to add a feature to mediawiki which would enable something like:
[[javascript:foo|something||arg1]] which gets converted to <a href="#" onclick="javascript:MW_UI_event_foo('arg1');;return false;">something</a>.
(and ditto for clickable image maps).
Right now tools like the popup media player and wikiminiatlas scan all anchor tags on load in order to add startup hooks, this causes a fair bit of wasted effort.