Jump to content

Template talk:Infobox Australian road

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Plain blue map box

[edit]

There is currently a plain blue box in the infobox of several Tasmanian highways. As far as I can tell, it is a zoomed in map of (0,0) in the Atlantic Ocean. I have not edited the en Wikipedia articles, I have edited OSM to add the Wikipedia and Wikidata links to the highway relation (and in one case created the relation as well), and edited Wikidata to add coordinate location (P625) for both ends and OpenStreetMap relation ID (P402) links. Impacted articles include Tasman Highway and Domain Highway. Have I done something wrong/incomplete, or is this a timing issue related to a cache somewhere that should be documented, and will clear itself in time? Pinging @Evad37 and Frietjes: as people who might know. Thank you --Scott Davis Talk 09:41, 5 October 2020 (UTC)[reply]

This will be Q4 of Module talk:Mapframe/FAQ, specifically: Wikimedia occasionally has problems replicating OSM data ... In particular, replication has been disabled since approximately 24 January 2020 due to phab:T243609. Any features tagged since then will not show up until that issue is resolved. - Evad37 [talk] 13:38, 5 October 2020 (UTC)[reply]
So this has been broken for almost 8 months? I know I've seen the blue boxes before, but didn't realise I'd been creating them and they had been persisting since then. To create the blue box, some part of the code is correctly detecting that there is an OSM object with a link to that Wikipedia/Wikidata item, but failing to get the geometry for it. Is it possible that we can locally suppress the map if the coordinates are (0,0), or use the point location(s) from Wikidata instead of the line from OSM in that case? --Scott Davis Talk 22:20, 5 October 2020 (UTC)[reply]
Both possible - set |mapframe-point=on to display a point marker, or |mapframe=no to suppress the mapframe. Work on the bug(s) does seem to be progressing, from what I can gather it's been fixed on the test servers and backup data centre, but not yet for the live data centre. - Evad37 [talk] 00:25, 6 October 2020 (UTC)[reply]
Something must be at least partly working, but slowly. Some of the highways I edited OSM data for yesterday appear to be showing maps in Wikipedia now, but others are still blue boxes. Other highway articles show routes that have been created since 20 January, so it clearly has been updating eventually. I don't plan to edit Wikipedia articles to protect them from OSM being improved by adding Wikipedia links to it. --Scott Davis Talk 03:19, 6 October 2020 (UTC)[reply]


New form of the same problem

[edit]

@Evad37: Is it possible that the edits on 20-22 June have done something odd that reintroduced the blue box indefinitely in some cases and not produced the map when it should in others? Examples include:

  • Flinders Ranges Way doesn't show the mapframe at all. In preview, a blue box appears by deleting the empty |location= parameter. A map appears if I add |coordinates= with the same value as |coordinates_a= but I get the warning that it is not a recognised parameter.
  • Sunraysia Highway shows the blue box, but a map appears in preview with the same sort of |coordinates= addition, and yields the same warning

In both cases, the map has a marker not the OSM line in the preview, but that could be the timing thing too. Any help would be appreciated, or do we need to go further and look at {{Infobox mapframe}} changes? --Scott Davis Talk 12:24, 31 July 2021 (UTC)[reply]

Control centre information

[edit]

For motorways, etc. it would be good if you could add control rooms such as the one identified here. Even just an "other item" that allows you to specify the heading. Gusfriend (talk) 00:36, 17 December 2022 (UTC)[reply]