@Naveen, yes but you have to have administrative privileges in local
Wikiproject. First, you need to make a JavaScript page with the title
/MediaWiki:WLMcoord.js/ copying the source code of this page
<https://hy.wikipedia.org/wiki/MediaWiki:WLMcoord.js> (there are things
that need to be translated from Armenian... I can help you with this
Monday..)
Then, you add the following script to the /MediaWiki:Common.js/ of your
Wikiproject:
///Script allowing to add coordinates to list of monuments for WLM//
//if (mw.config.get('wgNamespaceNumber') === 0 &&
mw.config.get('wgPageName').search(/TITLEATTRIBUTE) > 0) //
//{//
//mw.loader.load('//hy.wikipedia.org/w/index.php?title=MediaWiki:WLMcoord.js&action=raw&ctype=text/javascript');
//
//}/
"TITLEATTRIBUTE" is a phrase in the title of the articles where the tool
should be activated (without it the script would run on any article..).
For instance, if you replace "TITLEATTRIBUTE" with "List of heritage
in", the tool will only work in articles where the title contains the
phrase "List of heritage in...".
You also need to replace "hy" with your local Wikipedia language code.
Good luck (-:
@Aubrey, I would definitely prefer OSM over Google Maps, but in most
cases you really need satellite images to correctly identify the
location of a monument..
Vacio
On 09/14/13 07:28 , Naveen Francis wrote:
Good tool !!!!
Is it possible to enable in en wikipedia ?
Indian monuments are poorly located
--
WLM India team
On 14 Sep 2013 03:57, "Vacio" <vacio(a)riseup.net
<mailto:vacio@riseup.net>> wrote:
Hi guys,
In Armenian Wikipedia, we have now a tool which allows users to
add coordinates of a monument using Google-maps in a pop-up
window. See example below:
This might be useful if a lot of coordinates are missing from your
lists (like in our case). The JavaScript can be found here:
[[:hy:MediaWiki:WLMcoord.js]]
<https://hy.wikipedia.org/wiki/MediaWiki:WLMcoord.js>). It was
developed by [[u:HrantKhachatrian]].
If you want to integrate the tool to your local Wikipedia and/or
have any questions, let us know :)
Vacio
_______________________________________________
Wiki Loves Monuments mailing list
WikiLovesMonuments(a)lists.wikimedia.org
<mailto:WikiLovesMonuments@lists.wikimedia.org>
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
http://www.wikilovesmonuments.org
_______________________________________________
Wiki Loves Monuments mailing list
WikiLovesMonuments(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
http://www.wikilovesmonuments.org