MediaWiki talk:Gadget-Gmaps

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Namespace-mediawiki.svg MediaWiki:Gadget-Gmaps forms part of the MediaWiki interface and can only be edited by administrators.
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 or TranslateWiki.

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)

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

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', '//' + 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)

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)