Jump to content

User:Gopavasanth/UserScripts

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Gopavasanth (talk | contribs) at 04:50, 5 March 2023 (Created page with ' == 1. WikiShootMe.js == This user script receives latitude and longitude coordinates as input and redirects the user to the Wikishoot tool page, which shows nearby Wikimedia Commons images of the location. === Installation === Add the following code to your local wiki common.js page. <syntaxhighlight lang="JavaScript"> mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Gopavasanth/UserScripts/WikiShootMe.js&action=raw&c...'). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

1. WikiShootMe.js

[edit]

This user script receives latitude and longitude coordinates as input and redirects the user to the Wikishoot tool page, which shows nearby Wikimedia Commons images of the location.

Installation

[edit]

Add the following code to your local wiki common.js page.

mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Gopavasanth/UserScripts/WikiShootMe.js&action=raw&ctype=text/javascript');