Indic-TechCom/Tools/WikidataCoord

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search


Main page

Tools

Requests

Management

Indic Wikimedia Portal

Talk

This UserScript provides the ability to the user to add map coordinate in the Wikidata item.

Demo[edit]

Installation[edit]

Add the following code to your wiki user's common.js or global meta's global.js page:

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Indic-TechCom/Script/wikidata-coord.js&action=raw&ctype=text/javascript');

Note[edit]

This script loads the OpenStreetMap map and leafletjs script externally to generate the map on-wiki.