Scripts++ Newsletter – Issue 24

edit

MediaWiki message delivery (talk) 02:37, 1 March 2024 (UTC)Reply

Scripts++ Newsletter – Issue 25

edit

Uncommon CoordInserter bug

edit

Occasionally the Wikidata item for an article explicitly has "unknown value" in the coordinates property for a good reason, such as Anderson Site (Franklin, Tennessee), where the site's location is redacted. Trying to use the script on that page doesn't come up with any notification and generates an error in the browser console. It'd be good if it instead came up with a notification saying something like "Unable to find coordinates", to avoid confusion.

(As a side note, while I'm here - I put a feature request on the script's talk page before realising that you probably don't look at that page. I'll put future stuff on here instead :P) Suntooooth, it/he (talk/contribs) 00:57, 7 September 2024 (UTC)Reply

@Suntooooth: Hi. I will add a notification saying that the location is restricted (as said on the Wikidata item for that article). Should we remove the coord missing tag in these kinds of articles? An should we have another tag to note that this article can not have coordinates (If there's already no such tag)? I can create that template if necessary.
I've subscribed to the script's talk page and I saw your message there, but was not able to reply as I was at work. I will work on that features.
Cheers, Jeeputer Talk 02:54, 7 September 2024 (UTC)Antwort
I think the best option would be to just remove the coord missing tag, but I'm not sure. As for making a new template, if you're interested in doing that I'd recommend asking over at Wikipedia talk:WikiProject Geographical coordinates if that would be something people want. Also, the wording of the notification should probably be something like the more generic "Unable to find coordinates", rather than specifically saying they're restricted, as there's probably other scenarios where the property has an unknown value. Suntooooth, it/he (talk/contribs) 02:59, 7 September 2024 (UTC)Antwort
@Suntooooth: I will consult the WikiProject about the template, thanks.
I implemented the notification before seeing your message here. I will change its text. Jeeputer Talk 04:44, 7 September 2024 (UTC)Reply