Jump to content

Template talk:Infobox radio station

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

Possibly broken TemplateData — issues with Visual Editor

[edit]
See Wikipedia_talk:TemplateData#Template:Infobox_radio_station_-_duplicated/blank_fields

CS1 errors: invisible characters

[edit]

There are several radio station articles with this infobox in Category:CS1 errors: invisible characters, such as KABW. Is there a problem with the infobox causing the issue, or is it improper use of the infobox parameters, or something else? Thanks! GoingBatty (talk) 02:50, 22 July 2024 (UTC)[reply]

@GoingBatty The facility_id parameter expects just a number, because it's an input for URLs. KABW and KAHU had a reference in there. I can clean these up. Sammi Brie (she/her • tc) 02:53, 22 July 2024 (UTC)[reply]
Some of these are awkward cases where an infobox is covering multiple stations and needs parameter generation suppressed. Sammi Brie (she/her • tc) 02:55, 22 July 2024 (UTC)[reply]
Highly related: we're getting rid of templates that generated now-outdated external links. {{Infobox radio station}} has the ability to, with a parameter addition, generate modern equivalents to the links itself. But there are complex edge cases (KCII (AM) has two facilities in one infobox) as well as referencing issues. The reference is generated now automatically with the parameter added by bot. Sammi Brie (she/her • tc) 02:58, 22 July 2024 (UTC)[reply]

FCC public file not linking correctly

[edit]

Right, so I understand from the documentation how if the licensing authority is the FCC, entering the facility ID will cause it to automatically link to the FCC's public file, with AM or FM being automatically detected. However, on the wiki article for WHBT-FM, the template is automatically linking to a (nonexistent) AM public file when it instead should be linking to WHBT-FM's existing public file. I don't know enough about how this works to fix it. Any thoughts? RexSueciae (talk) 23:50, 2 September 2024 (UTC)[reply]

@RexSueciae To determine if a station is AM or FM for public file purposes, the infobox uses whether the |power= (AM) or |erp= (FM) parameter has been set. You should not see |power= on an FM—and that's what caused the error at WHBT-FM. I have fixed this. Sammi Brie (she/her • tc) 00:46, 3 September 2024 (UTC)[reply]
Thank you! RexSueciae (talk) 00:49, 3 September 2024 (UTC)[reply]
Turns out more than half the FMs in Hampton Roads had the same problem, @RexSueciae. I would check any FM page in User:Neutralhomer's editing range (especially Virginia) for this error, as this issue had lurked on these pages since creation in 2007, and I saw it on at least one page in another part of Virginia. Sammi Brie (she/her • tc) 01:04, 3 September 2024 (UTC)[reply]

LMS entry for KLZ not displaying correctly

[edit]

The LMS entry for KLZ is, to use the technical term, "messed up", and I have no idea how to fix it, so a little help please... Thomas H. White (talk) 19:39, 4 September 2024 (UTC)[reply]

I removed the FCC link from the facility id field. That fixed the problem. - BlueboyLINY (talk) 20:17, 4 September 2024 (UTC)[reply]
(edit conflict) It looks like @BlueboyLINY fixed it, @Thomas H. White. The error is that |facility_id= should be a number, not a link. Sammi Brie (she/her • tc) 20:17, 4 September 2024 (UTC)[reply]
Much like the above, this format seems to have been regional: it was in many pages out of Colorado and some in New Mexico and Wyoming. There was even an LPFM and an FM pointing to the AM query. I am working through all of these to remove this format. Sammi Brie (she/her • tc) 20:30, 4 September 2024 (UTC)[reply]