MediaWiki talk:Gadget-Gmaps

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
MediaWiki:Gadget-Gmaps forms part of the MediaWiki interface and can only be edited by administrators, stewards and interface editors.
To request a change to MediaWiki:Gadget-Gmaps, add {{Edit request}} to this talk page, followed by a description of your request.
This interface message or skin may be documented on mediawiki.org or translatewiki.net.

Improve message

[edit]

{{Edit protected}}

{{gadget-desc|name=Locate images on Google Maps|On Category pages, adds a "Map" link to locate [[Commons:Geocoding|geocoded]] images from that category on Google Maps.}} Rd232 (talk) 17:27, 8 November 2011 (UTC)[reply]

✓ Done: Thank you. -- RE rillke questions? 16:31, 9 November 2011 (UTC)[reply]

maps tool still on Toolserver

[edit]

{{Editprotected}} Hi, I think MediaWiki:Gadget-Gmaps.js has to be migrated to wmflabs (although there still is a redirect). Can someone with admin privileges please check and change.

I would also propose to add parameter '&usecache=1', it works much better e.g. for Category:Geras Mariensäule (ObjektID: 73441), although I do not understand why. But for huger categories it never works without usecache.

The whole resulting line then will be:

    mw.util.addPortletLink('p-cactions', '//maps.google.com/maps?q=http%3A%2F%2Ftools.wmflabs.org%2Fkmlexport%3Fproject%3DCommons%26article%3DCategory%253A' + encodeURIComponent(mw.config.get('wgTitle').split(" ").join("_")) + '%26usecache%3D1', 'Map', 'ca-mapg');

(tested User:Herzi_Pinki/common.js)

maybe it would even be better to call it directly using redir=google? (although I did not manage to do so)

regards --Herzi Pinki (talk) 10:19, 14 July 2014 (UTC)[reply]

Thank you! Changed accordingly. Though I am not happy that images are loaded from HTTP while being on HTTPS. Therefore I left Para a message. It's very business-like so you probably want to add something friendly and ask about the redirect parameter ;-) -- Rillke(q?) 18:08, 14 July 2014 (UTC)[reply]