Context
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.
Proof-of-concept
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:
Request
- 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.
Links
Community consensus:
http://en.wikivoyage.org/wiki/Wikivoyage:Travellers%27_pub#Proposal
Dynamic maps project:
http://en.wikivoyage.org/wiki/Wikivoyage:Dynamic_maps_Expedition
Sample article (static map for now):
http://en.wikivoyage.org/wiki/Tokyo/Roppongi#See
Thank you very much!
Version: wmf-deployment
Severity: enhancement
See Also:
https://rt.wikimedia.org/Ticket/Display.html?id=3989