Module talk:Mapframe: Difference between revisions

Content deleted Content added
m Archiving 1 discussion(s) to Module talk:Mapframe/Archive 2) (bot
 
(14 intermediate revisions by 7 users not shown)
Line 12:
| minthreadsleft = 3
}}
 
== Map not showing up almost two months later ==
 
The map in the infobox of [[Thornlie line]] is not showing up, almost two months after I created [https://www.openstreetmap.org/relation/18580560 the relation in OSM]. The Wikidata id is tagged on OSM and the OSM relation ID is on the [[Wikidata:Q120871210|Wikidata item]]. The map in the infobox of [[Armadale line]] has also not updated after I split the Thornlie line map from it. Any idea why? [[User:Steelkamp|Steelkamp]] ([[User talk:Steelkamp|talk]]) 15:34, 10 March 2025 (UTC)
 
:The wikidata Q numbers were not tagged onto the correct relations, also type has to be route. A parent relation won't display child relations only ways, so the wikidata has to be on the children. I've tidied it up and can see it is working. Give it a couple of hours to sync up to Wiki. Regs, [[User:The Equalizer|The Equalizer]] ([[User talk:The Equalizer|talk]]) 22:51, 10 March 2025 (UTC)
 
== Template not functioning in [[Bukit Dumbar]] ==
 
Maplink in [[Bukit Dumbar]]'s infobox was OK a few days back, but became blank by yesterday. Q# was already linked from the start. I attempted a boundary fix in OSM a few hours ago. Not sure if anyone here could help on this? [[User:HundenvonPenang|hundenvonPG]] ([[User talk:HundenvonPenang|talk]]) 06:32, 21 March 2025 (UTC)
 
:The lag syncing the diffs from OSM to wikimaps seems really high but is within tolerance - may need to wait it out. The shape of the ___location seems to be in place otherwise. I updated the page to create a basic map until then. Regs, [[User:The Equalizer|The Equalizer]] ([[User talk:The Equalizer|talk]]) 11:01, 21 March 2025 (UTC)
::Thanks The Equalizer {{Smiley|smile}} [[User:HundenvonPenang|hundenvonPG]] ([[User talk:HundenvonPenang|talk]]) 04:34, 23 March 2025 (UTC)
 
== Thumbnail rendering issue in [[José Salvador Alvarenga]] ==
Line 70 ⟶ 57:
{{TextDiff|1=valid values for type paramter|2=valid values for type parameter}} [[User:Shonebrooks|ShoneBrooks]] ([[User talk:Shonebrooks|talk]]) 15:00, 28 May 2025 (UTC)
:{{complete2}}. '''''[[User:Paine Ellsworth|<span style="font-size:92%;color:darkblue;font-family:Segoe Script">P.I.&nbsp;Ellsworth</span>]]'''''&thinsp;,&nbsp;[[Editor|<span style="color:black">ed.</span>]]&nbsp;[[User talk:Paine Ellsworth|<sup>put'er&nbsp;there</sup>]]&nbsp;<small>20:29, 28 May 2025 (UTC)</small>
 
== Display in title ==
 
There's this comment in the code, saying "[display=title] makes maplink wikitext that will be located in the top-right of the title of the page (the same place where coords with display=title are positioned)." That does not seem to work: the styles associated with id=coordinates cannot do that. Is this option even useful? I'm wondering if it should be removed from the template's documentation, it seems misleading. [[User:Ponor|Ponor]] ([[User talk:Ponor|talk]]) 20:30, 10 June 2025 (UTC)
 
:[[Special:Diff/1294960231|'''This edit''']] will put the display=title marker in the indicator area, which seems to work for all desktop skins, as can be seen at [[Template:Maplink/sandbox]] (as long as the module sandbox change is on). Is that what we want? [[User:Ponor|Ponor]] ([[User talk:Ponor|talk]]) 21:21, 10 June 2025 (UTC)
----
 
{{edit template-protected|answered=yes}}
A naive search shows that there aren't that many articles that use {{tlx|mapframe|display{{=}}title}}, maybe no more than [https://en.wikipedia.org/w/index.php?title=Special:Search&limit=100&offset=0&ns0=1&search=hastemplate%3AMaplink+insource%3Adisplay+insource%3Atitle+insource%3A%2F%5BMm%5Daplink%5B%5E%7D%7B%5D%2Bdisplay+%2A%3D+%2A%5B%5E%7C%7D%5D%2Atitle%2F 50]. So I think it's safe to make [[Special:Diff/1294958307/1295035531|'''this change''']]. With it
* the module and template will do what they're supposed to do with {{para|display|title}}: the inline+title markers won't be shown next to each other in Vector-2022 (<span class="plainlinks">[https://en.wikipedia.org/wiki/Silver_Comet_Trail?useskin=vector-2022]</span>) nor the 'title' one will be placed on top of the infobox in Vector (<span class="plainlinks">[https://en.wikipedia.org/wiki/Silver_Comet_Trail?useskin=vector]</span>)
* the 'title' marker will be placed as the last of the [[:mw:Help:Page status indicators|indicators]] (the code added is mostly from that page)
* the resulting html code seems clean, and in line with what {{tlx|coord}} already does
{| class="wikitable plainlinks center"
! !!Vector 2022 !!Vector !!Monobook !!Timeless
|-
|[[TM:Maplink]]||[https://en.wikipedia.org/wiki/Template:Maplink?useskin=vector-2022] {{cross}} ||[https://en.wikipedia.org/wiki/Template:Maplink?useskin=vector] {{cross}} ||[https://en.wikipedia.org/wiki/Template:Maplink?useskin=monobook] {{tick}} ||[https://en.wikipedia.org/wiki/Template:Maplink?useskin=timeless] {{tick}}
|-
|[[TM:Maplink/sandbox]]||[https://en.wikipedia.org/wiki/Template:Maplink/sandbox?useskin=vector-2022] {{tick}} ||[https://en.wikipedia.org/wiki/Template:Maplink/sandbox?useskin=vector] {{tick}} ||[https://en.wikipedia.org/wiki/Template:Maplink/sandbox?useskin=monobook] {{tick}} ||[https://en.wikipedia.org/wiki/Template:Maplink/sandbox?useskin=timeless] {{tick}}
|}
Thanks, [[User:Ponor|Ponor]] ([[User talk:Ponor|talk]]) 13:50, 11 June 2025 (UTC)
:{{done}}<!-- Template:ETp --> Thanks, I had noticed this being broken a while ago and just did not want to deal with it at all. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 02:48, 28 June 2025 (UTC)
 
== Inconsistent map box ==
 
The same source produces a correct result on [[User:OceanLoop/sandbox/map]] but not [[Indian Creek (Elwha River tributary)]]: the frame is not positioned properly. Does anyone know why this happens? [[User:OceanLoop|OceanLoop]] ([[User talk:OceanLoop|talk]]) 00:55, 24 July 2025 (UTC)
 
:Fixed. Regs, [[User:The Equalizer|The Equalizer]] ([[User talk:The Equalizer|talk]]) 19:10, 24 July 2025 (UTC)
 
== How avoid text that appears when hover mouse cursor over the map? ==
 
{{maplink|frame=yes|type=line|id=Q2879655|text=Site of Cook's death in Kealakekua Bay |zoom=14|type3=point|coord3={{coord|19.48124|N|155.93325|W}}|title3=Point|description3=Site of death |frame-coordinates={{coord|19.48134|N|155.93025|W}}}}
 
In Talk page at [[Talk:Death_of_James_Cook#Comments_from_Noleander]] I put a map. I've replicated the map here. When the mouse cursor is hovered over the map (desktop computer; Windows OS, Firefox browser) a popup window appears containing the text "The intuitive WP:UE/WP:COMMONNAME page title for this would probably be Death of James Cook. Just saying." which is the text (unreleated to the map) at the top of that Talk page.
 
That text popup window does not appear here, in this Talk page, when hovering over the map.
 
Does anyone know why that text is appearing? and if there is a way to prevent that popup from appearing? [[User:Noleander|Noleander]] ([[User talk:Noleander|talk]]) 18:29, 10 August 2025 (UTC)
 
:Likely have the [[Wikipedia:Tools/Navigation popups]] gadget switched on in your preferences, as that line is the very first topic on the talk page. Regs, [[User:The Equalizer|The Equalizer]] ([[User talk:The Equalizer|talk]]) 19:21, 10 August 2025 (UTC)
::You are correct ... that fixed it. Thanks. [[User:Noleander|Noleander]] ([[User talk:Noleander|talk]]) 19:36, 10 August 2025 (UTC)
:::{{tl|maplink}} could probably set the 'nopopups' class to avoid that navigation popups triggers. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 08:10, 11 August 2025 (UTC)
::::If there is a way to disable this popup issue, permanently, by a change to the maplink template, that would prevent this issue from arising in the future for other editors & readers ... so it seems like a good idea. [[User:Noleander|Noleander]] ([[User talk:Noleander|talk]]) 12:33, 11 August 2025 (UTC)