Module talk:Mapframe: Difference between revisions

Content deleted Content added
m Archiving 1 discussion(s) to Module talk:Mapframe/Archive 2) (bot
m Archiving 1 discussion(s) to Module talk:Mapframe/Archive 2) (bot
Line 16:
 
Hi, I would like to request that this template, together with its dependencies be copied over to the Bulgarian wiki. There are a lot of pages that would benefit from it and there is currently no alternative template to use. The parameters can be left as is, but if needed I can translate them over.
 
== broken map link ==
 
Is it just me or does infobox mapframe not work at [[Sokolac Fortress (Bihać)]]? I don't see why, it links to https://www.wikidata.org/wiki/Q25555219 which in turn links to https://www.openstreetmap.org/relation/14304925 so it all seems fine...? --[[User:Joy|Joy]] ([[User talk:Joy|talk]]) 09:57, 23 February 2024 (UTC)
 
:Have fixed. Regards, [[User:The Equalizer|The Equalizer]] ([[User talk:The Equalizer|talk]]) 03:51, 24 February 2024 (UTC)
::@[[User:The Equalizer|The Equalizer]] you fixed it? Thanks, but what was the trick, for future reference? --[[User:Joy|Joy]] ([[User talk:Joy|talk]]) 19:52, 24 February 2024 (UTC)
:::Because {{tl|Infobox mapframe}} was used standalone in the {{tl|Infobox military installation}} template of the page, and the Wikidata entry had both the P625 point and P402 shape attributes (which reserves a space on the Wiki Map servers to save a map), it defaults to only trying to show the shape unless extra parameters are specified such as <code>|point=on</code> or <code>|coord=<coords...></code> to show a marker. However, the map was centring on 0,0 coordinates in the Atlantic Ocean.
:::That's because there was no actual shape stored on the Wiki map servers that mirror OpenStMap, as the <code>type</code> parameter for the shape on OSM needs to be one of four ([[mw:Help:Extension:Kartographer/OSM#How to get a single object from multiple lines]]) that causes the shape to be migrated across and so be available. I figured it is nicer to have that available than a simple marker, and set <code>type</code> as boundary. Regards, [[User:The Equalizer|The Equalizer]] ([[User talk:The Equalizer|talk]]) 21:37, 24 February 2024 (UTC)
::::Ohh, so the previous OSM type of "building" was the bad part... Would it make sense to add hints to this effect somewhere in [[Template:Infobox mapframe/doc]] or [[Template:Maplink/doc]]? We seem to document a lot of the other aspects of the Kartographer extension but not this. --[[User:Joy|Joy]] ([[User talk:Joy|talk]]) 16:03, 25 February 2024 (UTC)
:::::The OSM Media Wiki page I referenced above was in [[Template:Maplink/doc]] and in #4 of [[Module talk:mapframe/FAQ]] (which is at the top of [[Template talk:Infobox mapframe]]). Trouble is, they are all sprawling documents and it's hard to pick out the specifics at times. I've added the FAQ link to them all and updated it with the fourth type parameter. Regards, [[User:The Equalizer|The Equalizer]] ([[User talk:The Equalizer|talk]]) 22:59, 25 February 2024 (UTC)
::::::Oh yeah, I would not really expect anyone to look for template documentation at template talk. This FAQ should be transcluded into the standard template/module/whatever documentation element, putting it on Talk is tantamount to hiding it, which seems counterproductive :D Done that now. --[[User:Joy|Joy]] ([[User talk:Joy|talk]]) 09:19, 26 February 2024 (UTC)
:::::::I note the relation for this shape has changed so it will need redefining on OSM @[[User:Joy|Joy]] - not signed in on OSM at the moment as not home. Regs [[User:The Equalizer|The Equalizer]] ([[User talk:The Equalizer|talk]]) 07:52, 31 May 2024 (UTC)
::::::::Interesting, https://www.openstreetmap.org/relation/14304925 says version #5 was a deletion described as "Modified multipolygon #RelationsCleanup". So I guess we're supposed to clean up after the cleanup? :D I guess I'll make Wikidata use https://www.openstreetmap.org/relation/16821352 now --[[User:Joy|Joy]] ([[User talk:Joy|talk]]) 12:18, 31 May 2024 (UTC)
:::::::::It's OSM that needs the update... I've done this now. Give it a day... Regs, [[User:The Equalizer|The Equalizer]] ([[User talk:The Equalizer|talk]]) 18:46, 31 May 2024 (UTC)
::::::::::Now displaying. Regs, [[User:The Equalizer|The Equalizer]] ([[User talk:The Equalizer|talk]]) 01:31, 1 June 2024 (UTC)
 
== Inserting textual markers ==