[Maps-l] central handling of OSM-in-WP for many language versions

Tim Alder tim.alder at s2002.tu-chemnitz.de
Mon Nov 15 06:29:06 UTC 2010


Hello together,
we have now:
http://meta.wikimedia.org/wiki/MediaWiki:OSM.js

So to install the OSM-map in WP you need only to insert the following 
script inside your Wikipedia and modify the first two lines:

var osm_proj_map='mapa'; //"map" in project language
var osm_proj_lang='pl';  //project language

if (wgServer == "https://secure.wikimedia.org") {var metaBase = 
"https://secure.wikimedia.org/wikipedia/meta";}
    else {var metaBase = "http://meta.wikimedia.org";}

importScriptURI(metaBase+'/w/index.php?title=MediaWiki:OSM.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400');



Greeting Kolossos



More information about the Maps-l mailing list