This userscript adds a link to OSM whenever a Wikidata item is referenced there.
JavaScript
Latest commit 5c9d0d1 Nov 28, 2016 @Abbe98 committed on GitHub minor

README.md

Wikidata OpenStreetMap Link

This userscript adds a link to OpenStreetMap whenever a Wikidata item is referenced there using the wikidata tag. The link appears in the sidebar to the left under the "Tools" section.

Install it by adding the following line to your common.js file:

importScript('User:Abbe98/osm.js');