User:MadeYourReadThis/radio station stub tool

Note to testers, I've moved the script here feel free to continue using it but be aware I'm addressing the issues below and may break it from time to time. --RadioFan (talk) 21:37, 18 August 2009 (UTC)

Stub script for radio stations
I assume that you're responsible for the coding of the script? I've used it to create a few articles today and it's pretty nifty; can't even begin to imagine how something like this comes together. A couple of things I noticed, though — wondering if you'd be interested in a few pieces of friendly, constructive feedback? Mlaffs (talk) 03:02, 26 July 2009 (UTC)
 * As you've seen it's far from polished (only I use it, NuetralHomer uses it and maybe one other editor other than you). Its changed over the years.  I've added sources, and sadly removed them (Radio and Records for example).  I'd love any feedback you have.  New sources, better wording for the stub text or infobox. etc.--RadioFan (talk) 03:06, 26 July 2009 (UTC)
 * Actually, I think the sourcing is great. Just a few small things — I'll jot them down when I use it next and drop back to leave them here for you. It's mostly grammatical stuff, and a little hiccup when dealing with a newer type of disambiguation page. Back soon. Mlaffs (talk) 03:24, 26 July 2009 (UTC)

Okay, a few more things than I originally thought, but hopefully you'll find them useful:

Infobox
 * remove the 'share', 'share as of', and 'share source' fields — they appear to be deprecated for U.S. stations now✅
 * remove the 'erp' and 'haat' fields for AM stations✅
 * remove the 'power' field for FM stations✅
 * use the conversion template for haat — for example, ### m, where ### represents the haat in meters from the FCC site✅
 * the 'affiliations' field seems to only be picking up Westwood One from the Arbitron site; Citadel Media is another common one, along with others
 * Can you give some examples of stations where this was a problem?
 * KBZQ, KCLT, and KDET are all affiliated with Citadel; KCAV and KVBR are both affiliated with USA Radio Network; KDAA and KLUE are all affiliated with Dial Global. Best example is KJJK (AM), where it picked up the Westwood One affiliation, but not the Citadel one. Mlaffs (talk) 22:02, 18 August 2009 (UTC)
 * Just one more note for this; 'Citadel' on the Arbitron site refers to Citadel Media rather than Citadel Broadcasting. Mlaffs (talk) 00:39, 24 August 2009 (UTC)

Body copy
 * add a blank row after the infobox and after each second-level heading; would make the edit screen less challenging visually for future editors✅
 * in the reference to the frequency in parentheses right after the call sign in the first sentence, also include the branding
 * has this been discussed in WP:WPRS? I've seen it on some sites and not others. Not sure how I feel about it as a standard and would like to see other opinions.--RadioFan (talk) 21:37, 18 August 2009 (UTC)✅
 * I don't know if there's been a discussion per se. I just know that I've seen it done that way more often than not, and it was also advice that I received from Dravecky, who's quite a prolific article creator. Mlaffs (talk) 22:02, 18 August 2009 (UTC)


 * in the opening paragraph, there's an extra space between 'radio station' and 'broadcasting'✅
 * add the word 'music' before 'format' ("broadcasting an Adult Contemporary music format")✅
 * change 'a' to 'an' if the name of the format starts with a vowel rather than a consonant (I know, probably impossible)✅
 * where there's no market identified, it leaves a short stub sentence regarding city of license. In those situations, it would be good if it could combine that sentence with the following sentence about ownership
 * there's an extra space after the period at the end of the 'city/market' sentence
 * when there are two or more call sign changes, the history section needs an 'and' before the info about the last change, and it takes a period at the end of that sentence rather than a comma
 * in the cite web template, add a blank space before each parameter for ease of reading
 * also in the cite web template, is it possible to add the 'access date' parameter and fill it with the current date{done}}
 * remove the div class coding around the ref tag — for accessibility purposes, the references shouldn't be made smaller✅
 * heading for external links should be in sentence case rather than title case — 'External links', rather than 'External Links'✅
 * add a link to the website before the AM station data or FM station data template✅
 * remove the 'br-clear', but leave a blank row between the external links and the market navbox✅
 * since this is used to create stubs, add the appropriate station radio station stub template at the bottom (with two blank rows preceding)✅
 * where one exists, add the 'format by state' navbox, similar to how you're adding the market navbox when it can be identified✅ but note this will only happen for navboxes where the article is already linked, this includes stations that are incorrectly included in a navbox.
 * add the 'format by country' category, similar to how you're adding the 'radio stations in state' category

Talk page
 * the class for the RadioStationsProject template seems like it should be 'stub' rather than 'start' ✅
 * add the template for the state WikiProject as well ✅ this has always been there

Disambiguation pages
 * it recognizes the disambig template, but appears not to recognize the callsigndis template; nor surprising, since it's so much newer✅

If you look at the article for KBZQ, you can see some of these changes in action, in case my explanation is unclear. It was the first one I created yesterday using the script, and then Dravecky came along and cleaned it up a bit. Even if some of these aren't possible to code, they're things you might want to keep in mind when you're using the script, as I've noticed them in articles that I've come across (for example, a vs. an, the short city of license sentence, ending the sentence for call sign changes with a comma instead of a period).✅

All this aside, I'll say once more that I think the script in its current form is wicked cool; I'm always a little awed by people who can figure out how to do stuff like this, and I'm going to be using the heck out of it. Mlaffs (talk) 15:06, 26 July 2009 (UTC)


 * Thanks very much for taking the time to provide this critiques. I'll look into implementing each of these and ping you if I've got any questions.  --RadioFan (talk) 21:00, 26 July 2009 (UTC)


 * One thing I just noticed; I ran across KAKU-LP, which I assume you created using the script. You can't use the FM station data template for low-power FM stations — you have to use the component pieces instead. FMQ for the FCC will work using the full callsign. However, you need to use LPL for Radio Locator instead of FML, and you can only use the base call sign without the '-LP'. Same for Arbitron; you can use FMARB, but you can only use the base call sign. Mlaffs (talk) 03:08, 27 July 2009 (UTC)


 * A quick note, instead of the "br-clear" section, I use and it does the same thing with less confusing text. -  NeutralHomer  •  Talk  • 03:20, 27 July 2009 (UTC)
 * I'm just going to remove the br line. ✅


 * Dravecky passed along a great heads-up this morning. From time to time, the script will drop in the origins of the call sign and reference the origins list from where that information is pulled. He noted that it's calling on an archive copy of that site. I don't know if there was a reason it had to be built that way at the time, but the current version of that site is at http://nelson.oldradio.com/origins.html and the list itself is at http://nelson.oldradio.com/origins.call-list.html. Mlaffs (talk) 12:58, 7 August 2009 (UTC)


 * Add hat notes for ICAO codes which match the call sign, no need to create DAB pages when only a single radio station and ICAO code exist.✅

Bug
Great to see all of the improvements, but I came across a bug. FM stations aren't showing ERP or HAAT. Maybe its just the stations I searched for. Just an FYI. Good work! --milonica (talk) 16:42, 30 August 2009 (UTC)
 * Can you give an example? I've not seen this before.--RadioFan (talk) 20:24, 31 August 2009 (UTC)
 * Maybe its just me not looking hard enough :D - If you plug in, KSIT, KQSW, smaller stations you don't see ERP or HAAT.