Embedding maps in articles is a strong point on Wikivoyage's roadmap.
A German/English collaboration has lead to satisfying dynamic maps that show the Wikivoyage-specific Points Of Interest (POI) and can be zoomed/explored, while remaining printable.
The proof-of-concept is working fine on our test server, which consist of Mediawiki 1.20.4 + Extension:Widgets
It can also be seen live here: http://www.mediawikiwidgets.org/VoyageMap
To start using this, we have to ask you for the favor described below:
- Install http://www.mediawiki.org/wiki/Extension:Widgets on en.wikivoyage.org
- Restrict editing of the "Widget:" namespace to admins.
Pledge to only use safe widgets
We pledge to not create widgets that would allow editors to embed arbitrary HTML code (risk of XSS).
Instead, we developed a bulletproof widget, whose parameters are escaped and whose URL is hardcoded to the map server: http://www.mediawikiwidgets.org/VoyageMap
It will be the only widget in use.
Dynamic maps project:
Sample article (static map for now):
Thank you very much!