You can edit almost every page by Creating an account. Otherwise, see the FAQ.

Template talk:Coord

From EverybodyWiki Bios & Wiki

User:MiszaBot/config

Migrate from WMA to Kartographer[edit]

Hi all, in following up on the last WMA service failure - it was recommended we migrate from WikiMiniAtlas to mw:Help:Extension:Kartographer. This extension is installed, but will need some testing to become the primary replacement. — xaosflux Talk 18:48, 27 January 2018 (UTC)

@Xaosflux: Which part of Kartographer do you want to use for this? It's not all enabled here yet, see phab:T175102. Thanks. Mike Peel (talk) 18:56, 27 January 2018 (UTC)
@Mike Peel: Replacing the coordinates pop-up, at least that is what I think is being used in this dewiki example: w:de:Benutzer:Xaosflux/Sandbox (the green map/magnifying glass example). — xaosflux Talk 19:13, 27 January 2018 (UTC)
Ah, that seems to work OK here, e.g.: 37°48′37″N 122°23′58″W. Thanks. Mike Peel (talk) 19:53, 27 January 2018 (UTC)
Some styling maybe? That is opening in to a new link, rather than "squeezing" in? — xaosflux Talk 20:54, 27 January 2018 (UTC)
Note that I have a gadget for the mobile platform, that already does this. I'd suggest trying that out first before moving the entirety of English Wikipedia over. Last time i tried doing that, it got stuck in bureaucracy because i made a mistake, which has demotivate from working on it any further, but it would be an interesting step to first enable that gadget for en.wp users, then for en.wp anonymous, and then after that follow trough on desktop. —TheDJ (talkcontribs) 21:46, 27 January 2018 (UTC)
Sorry for the headaches there TheDJ - this last outage should help reinforce that for something reader-facing we should have something that is on servers with SLO's for outages. — xaosflux Talk 23:06, 27 January 2018 (UTC)

─────────────── @TheDJ, Xaosflux, and Mike Peel: Is this going to happen? I remember there might have been something about Community Tech wanting to install it, but they've moved onto another project now. Jc86035 (talk) 15:46, 6 July 2018 (UTC)

@Jc86035: Kartographer was installed here a couple of months back, it should be ready to use... Thanks. Mike Peel (talk) 16:25, 6 July 2018 (UTC)
@Mike Peel: Sorry, I meant I thought they were planning to add it to Module:Coordinates. I'm aware that it's in use, but it's barely a drop in the bucket if there are still a million links to WikiMiniAtlas with this template. Jc86035 (talk) 16:26, 6 July 2018 (UTC)
@Jc86035: Ah, no, that's something the community has to do, the WMF won't do that. Maybe @RexxS and Jarekt: might be interested in helping out. (BTW, Kartographer is providing 600k+ maps on Commons now!) Thanks. Mike Peel (talk) 16:45, 6 July 2018 (UTC)

Tracking category for unsupported parameter usage?[edit]

I have added tracking for unsupported parameters to many templates using Module:Check for unknown parameters, but I do not know how to insert it into a Lua module. Do we just invoke it from the template, like regular templates, or is there a special way to do it within the module?

Here is a report showing unsupported parameter usage. I would be happy to create the tracking category and fix many of the errors. – Jonesey95 (talk) 03:56, 4 February 2018 (UTC)

See {{Authority control}} for a how-to example—it's the same as normal. I have included parameter checking in a couple of modules that I've written because the module has more knowledge about what is valid so the checks can be more thorough. However that might be more effort than warranted in this case. Johnuniq (talk) 06:30, 4 February 2018 (UTC)
Thanks. I have added error-checking to this template. – Jonesey95 (talk) 15:49, 4 February 2018 (UTC)

Multiple types?[edit]

Can you have multiple types for coords? If so, how do you express it? Or do you just have to pick one? If just one, which one? For example, if I have an island which is also a suburb, do I use city or isle? Thanks Kerry (talk) 14:54, 10 February 2018 (UTC)

Only one is permitted. --Redrose64 🌹 (talk) 22:59, 10 February 2018 (UTC)
Kerry, per the documentation the type is used for selecting an icon in the miniatlas and for setting the zoom scale. however, in my experience, the icons are generally the same for the types that I have encountered. Frietjes (talk) 15:13, 5 April 2018 (UTC)

Override Wikidata coordinates[edit]

An issue was posted to Wikipedia:Help desk#Technical problem with geographical coordinates (permanent link). Is there a way to override Wikidata coordinates in WikiMiniAtlas? If not then shouldn't there be? PrimeHunter (talk) 22:56, 3 April 2018 (UTC)

"source"parameter question[edit]

  • Is there any tools related to the template that helps convert between coordinate value between different systems/values?
  • What are the most common value used in the source field for Chinese encrypted(encoded) coordinate system GCJ02/BD09II?

C933103 (talk) 00:04, 22 August 2018 (UTC)

I just paste into google maps and copy the coord plain text, check the pointer, re copy and paste back, and use the format option to make it what I want. Dave Rave (talk) 07:23, 6 September 2018 (UTC)

"display=inline"[edit]

When used in template "Infobox church", the coordinates are shown beneath the image. In "Infobox venue" and "Infobox building" (for example), they appear in the "Coordinates" line in the box. Is this behavior correct? Jmar67 (talk) 13:43, 29 September 2018 (UTC)

Please link to some example articles that show this difference. Thanks. – Jonesey95 (talk) 14:52, 29 September 2018 (UTC)
Here are the links:
Theater Bremen
St. Georg, Brockhagen
Schloss Weilburg
Jmar67 (talk) 16:46, 29 September 2018 (UTC)
Template:Infobox venue has
|  label5     = [[Geographic coordinate system|Coordinates]]
|   data5     = {{{coordinates|}}}
similarly, Template:Infobox building has
| label18   = [[Geographic coordinate system|Coordinates]]
|  data18   = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|}}}|type:landmark|{{#if:{{{location_country|}}}|region:{{Country abbreviation|{{{location_country}}}}}}}}}|}}
- both have a label/data pair displayed side by side, but Template:Infobox church has
| data1 = {{#if:{{{coordinates|}}}
 |{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark|{{#if:{{{country|}}}|region:{{Country abbreviation|{{{country}}}}}}}}} |}}
i.e. it does not have a |label1= to pair up with its |data1= so that the latter is displayed full width. This is nothing to do with Template:Coord, it is a matter for Template talk:Infobox church. --Redrose64 🌹 (talk) 19:02, 29 September 2018 (UTC)