Module talk:Storm categories/Archive 1

Template-protected edit request on 11 April 2022
Given the concerns regarding the changed colors and their relation to the ongoing ArbCom case against WPTC regarding stealth canvassing (which the process was heavily tainted by) – brought up here, here and here (the last one brought up by me specifically to get more input from members) – I propose that until the ArbCom case is finalized on May 4 (under a month from now) the legacy colors be temporarily restored until a decision on what to do regarding the RfC’s outcomes is made. The reasoning behind this is mostly to fix the discrepancy between the infoboxes/timelines and the track maps themselves, given that the project was in the middle of re-discussing a new scheme after the previous consensus and had not updated the maps. Even now, currently active systems are still using the old color scale for the track maps so I think it is better that at least for the next month we follow that so as to not give confusion to new readers. This is a genuine concern and not a case of WP:IDLI as I am considering the ramifications the currently convoluted situation has right now on our new readers. MarioProtIV (talk/contribs) 15:29, 11 April 2022 (UTC)
 * Please keep this to a single discussion where you initially posted. ~ Cyclonebiskit (chat) 17:38, 11 April 2022 (UTC)
 * ❌. We are not doing this. The proper process for an RfC is consensus first, then implementation of said consensus. In the meantime, the status quo should be upheld. It is far, far more disruptive to revert back and forth than it is to keep the current changes in place.  Light and Dark2000  🌀 (talk) 19:19, 11 April 2022 (UTC)

Template-protected edit request on 2 September 2022
Please add the icon for the "vstyphoon" category (around line 196): and the icon for the "vityphoon" category (around line 201): Chlod (say hi!) 04:33, 2 September 2022 (UTC)


 * Chlod, could you please clarify: after the proposed changes are applied, will the overrides from Special:Diff/1069592996/1107665379 need to be removed? —⁠andrybak (talk) 07:27, 2 September 2022 (UTC)
 * @Andrybak: Well, they should be removed since an override would no longer be needed. It won't immediately break if there is a conflict. Chlod (say hi!) 07:31, 2 September 2022 (UTC)
 * ✅ —⁠andrybak (talk) 13:52, 2 September 2022 (UTC)
 * Thank you very much! Chlod (say hi!) 13:54, 2 September 2022 (UTC)

Template-protected edit request on 11 October 2022
Could someone please revert the color changes I made on March 18, 2022, at Module:Storm categories/categories per Wikipedia_talk:WikiProject_Weather? All colors should be reverted to their pre-March 18 values per the SNOW support at that discussion. Please be careful to not remove any other additions to this module since then. Noah Talk 17:25, 11 October 2022 (UTC)
 * ✅ I think I found the right changes to make, but it is always a lot easier if you make the proposed changes in a sandbox and show it working on a testcases page. Please ping me if I made any unwanted changes. – Jonesey95 (talk) 18:48, 11 October 2022 (UTC)
 * Hi, @Jonesey95! You accidentally reverted a few additions made earlier this year. Special:PermanentLink/1115566090 on the sandbox page has the corrected module code. Previews are on Module:Storm categories/demo/sandbox. Please make the edit when you find the time. Thanks! Chlod (say hi!) 03:23, 12 October 2022 (UTC)
 * ✅. I think I've got it this time. If not, you know how to find me. – Jonesey95 (talk) 04:38, 12 October 2022 (UTC)

PTS colors
Just to raise awareness in a fourth location, I will link the discussion regarding the pink Pacific typhoon season color scale here, as well. – atomic   𓅊   7732  12:57, 28 November 2022 (UTC)

Template-protected edit request on 3 December 2022
Please place the following line to alias the formerly-documented  code (from Special:Diff/618384846, later commented out) to , preferably above line 571. Chlod (say hi!) 13:43, 3 December 2022 (UTC)
 * ✅.  P.I. Ellsworth &thinsp;, ed.  put'r there 18:23, 3 December 2022 (UTC)

Template-protected edit request on 6 February 2023
Please change the name for "unknown" to "Unknown-strength storm" from "Unknown strength [sic] tropical cyclone". This module now includes much more than tropical cyclones, and the fallback should reflect the switch to a more general term. Thank you! Chlod (say hi!) 00:26, 6 February 2023 (UTC)
 * ✅, and thank you very much!  P.I. Ellsworth &thinsp;, ed.  put'er there 02:33, 6 February 2023 (UTC)

Edit request 24 February 2023
Description of suggested change:

Please substitute the preexisting colors in this template with the new colors agreed upon through RfC and further discussion, at WikiProject_Weather/Color_RfC. To simplify:


 * Entries with the color #80ccff should be changed to #0084D6
 * Entries with the color #5ebaff should be changed to #6EC1EA
 * Entries with the color #00faf4 should be changed to #4DFFFF
 * Entries with the color #ccffff should be changed to #C0FFC0
 * Entries with the color #ffffcc should be changed to #FFFFD9
 * Entries with the color #ffe775 should be changed to #FFD98C


 * Entries with the color #ffc140 should be changed to #FF9E59


 * Entries with the color #ff8f20 should be changed to #FF738A
 * Entries with the color #ff6060 should be changed to #8D75E6

That's a lot, I know, so thank you! wxtrackercody (talk · contributions) 01:15, 24 February 2023 (UTC)


 * Any chance you could make the changes to Module:Storm categories/colors/sandbox? &mdash; Martin (MSGJ · talk) 19:42, 24 February 2023 (UTC)
 * Module:Storm categories/categories is the correct location for where changes should be made. I am adding them to the appropriate sandbox as we speak. Should be done in about 10 minutes. Noah Talk 19:53, 24 February 2023 (UTC)
 * I believe I have changed everything correctly. Noah Talk 20:09, 24 February 2023 (UTC)
 * ✅ &mdash; Martin (MSGJ · talk) 22:39, 24 February 2023 (UTC)
 * Actually, it appears wxtrackercody was mistaken on some of the values given what was listed in the table (looks isolated to southern hemisphere TCs and north indian ocean TCs at the upper levels in their scales) so I need to go back and correct those. Sorry about that. Noah Talk 23:03, 24 February 2023 (UTC)
 * All values should be corrected now. Again, sorry. I would have caught this had I been able to see a preview of the main module where it displays all the values, but alas that wasn't possible. Noah Talk 23:13, 24 February 2023 (UTC)
 * Also appears another issue is located at Module:Storm categories/colors. The value 80ccff needs changed to 0084D6 (there's only one occurrence here) in order to stop it from overriding the input at the other module page. Noah Talk 00:09, 25 February 2023 (UTC)
 * Another issue is that text does not show up well with the C5 color as background. For example, try reading "F5" on individual tornadoes' info-boxes. CapeVerdeWave (talk) 00:27, 25 February 2023 (UTC)
 * black text on the Cat 5 color background has a contrast ratio of 5.81:1, well above the threshold of 4.5:1 for WCAG 2.0 level AA as required by WP:ACCESS. wxtrackercody (talk · contributions) 00:33, 25 February 2023 (UTC)
 * Yes I notice that now. It must be an issue related to how WP displays it since it is AA compliant. We likely just need to use a slightly lighter value for templates while keeping the original for the maps since there isn't text there. would likely be favorable for black text on wiki while not being drastically different from the map color. I went ahead and added it to the sandbox since it's not a significant change from the original color we approved and we need to make sure everything can be read easily. Noah Talk 00:34, 25 February 2023 (UTC)

Re-filed edit request

Please apply the changes currently on the sandbox (Module:Storm categories/categories/sandbox), per the above. Thank you! Chlod (say hi!) 10:06, 25 February 2023 (UTC)


 * Please check Module:Storm categories/sandbox and confirm all are now correct? There is still a "#80ccff" for "d" - is that right? &mdash; Martin (MSGJ · talk) 10:28, 25 February 2023 (UTC)
 * @MSGJ: It seems @Hurricane Noah forgot to account for overridden colors; the change has been made to Module:Storm categories/colors/sandbox. Please apply the changes to Module:Storm categories/colors as well. Thank you! Chlod (say hi!) 10:34, 25 February 2023 (UTC)
 * All values should be correct now and work with the black text. Noah Talk 15:55, 25 February 2023 (UTC)
 * ✅ &mdash; Martin (MSGJ · talk) 16:16, 25 February 2023 (UTC)
 * Thanks. <span style="white-space:nowrap;text-shadow:#009200 0.3em 0.4em 1.0em,#009200 -0.2em -0.2em 1.0em;color:#009200">Noah Talk 16:17, 25 February 2023 (UTC)

Accidental short-circuit in ternary expressions at lines 51 and 73
This module has a mistake at lines 51 and 73, in the instances of or (nullIfMissing and nil or [foo]); these lines attempt to output  if   is truthy and otherwise , but because nil is falsy, the   will always trigger, and as such the expression simply short-circuits to. {&#123;Lemondoge&#124;Talk&#124;Contributions&#125;} 22:20, 12 April 2023 (UTC)


 * Good catch; didn't notice that.


 * Line 51 to:
 * Line 73 to:
 * per the above. Chlod <small style="font-size:calc(1em - 2pt)">(say hi!) 22:48, 12 April 2023 (UTC)
 * per the above. Chlod <small style="font-size:calc(1em - 2pt)">(say hi!) 22:48, 12 April 2023 (UTC)
 * per the above. Chlod <small style="font-size:calc(1em - 2pt)">(say hi!) 22:48, 12 April 2023 (UTC)


 * ✅.  P.I. Ellsworth &thinsp;, ed.  put'er there 09:34, 13 April 2023 (UTC)
 * Thank you! Chlod <small style="font-size:calc(1em - 2pt)">(say hi!) 09:35, 13 April 2023 (UTC)
 * my pleasure!  Paine  09:37, 13 April 2023 (UTC)

Edit request 18 April 2023
Could you please replace Module:Storm categories/categories with what's at Module:Storm categories/categories/sandbox? It includes many new scales for various events (most of which were pegged to the existing scheme and the drought ones were discussed here) and icons for the Beaufort scale I produced. The new scales are properly displayed at Module:Storm categories/sandbox. <span style="white-space:nowrap;text-shadow:#009200 0.3em 0.4em 1.0em,#009200 -0.2em -0.2em 1.0em;color:#009200">Noah Talk 11:45, 18 April 2023 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 18:50, 20 April 2023 (UTC)

Template-protected edit request on 23 April 2022
Please update the current template with the version currently in the sandbox. Please be careful not to copy over the top and the  function of the module, which imports sandbox modules; only the relevant parts changed under the first few lines.

Three significant changes were made to the template:
 * An  function was introduced to check if two categories are equal (while also checking aliases),
 * was renamed to  in all relevant functions.
 * was fixed to respect the  parameter, which it previously did not.

I've created the testcases page for future reference and for showing that the changes work (see run results). Please let me know if there's any additional changes that need to be made. Thanks! Chlod <small style="font-size:calc(1em - 2pt)">(say hi!) 09:13, 23 April 2023 (UTC)


 * ✅.  P.I. Ellsworth &thinsp;, ed.  put'er there 15:38, 24 April 2023 (UTC)
 * Thank you! Chlod <small style="font-size:calc(1em - 2pt)">(say hi!) 01:50, 25 April 2023 (UTC)
 * my pleasure!  Paine  03:51, 25 April 2023 (UTC)

Template-protected edit request on 6 May 2023
Please replace the text on the Module:Storm categories/categories page with what's currently at Module:Storm categories/categories/sandbox. The change includes more new scales as well as the addition of dozens of status icon images. Please see Module:Storm categories/sandbox for the display of the colors and images at the sandbox page. <span style="white-space:nowrap;text-shadow:#009200 0.3em 0.4em 1.0em,#009200 -0.2em -0.2em 1.0em;color:#009200">Noah Talk 21:41, 6 May 2023 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 18:41, 9 May 2023 (UTC)

Template-protected edit request on 23 June 2023
Please change the name at line 179 of from "Category 4 super typhoon" to "Category 4-equivalent super typhoon". This category is only used in the Western Pacific basin (hence, "typhoon"), which does not use the Saffir–Simpson scale officially. This brings the name in line with other existing names of SSHWS categories in the Western Pacific basin (see  to   immediately above the line mentioned). Chlod <small style="font-size:calc(1em - 2pt)">(say hi!) 03:49, 23 June 2023 (UTC)


 * .  P.I. Ellsworth &thinsp;, ed.  put'er there 04:57, 23 June 2023 (UTC)
 * Thank you! Chlod <small style="font-size:calc(1em - 2pt)">(say hi!) 05:06, 23 June 2023 (UTC)
 * my pleasure!  Paine  05:07, 23 June 2023 (UTC)

Template-protected edit request on 24 July 2023
Please add the following icon definition for the " " category. Chlod <small style="font-size:calc(1em - 2pt)">(say hi!) 23:30, 24 July 2023 (UTC)
 * ✅ And you should consider requesting template editor rights, since you seem to know what you are doing. * Pppery * <sub style="color:#800000">it has begun... 21:32, 25 July 2023 (UTC)
 * Thank you! I've been thinking about it recently. I might do so sometime in the future. Chlod <small style="font-size:calc(1em - 2pt)">(say hi!) 00:22, 27 July 2023 (UTC)
 * Another thing I just noticed is that the header says August. <span style="white-space:nowrap;text-shadow:#009200 0.3em 0.4em 1.0em,#009200 -0.2em -0.2em 1.0em;color:#009200">Noah Talk 00:28, 27 July 2023 (UTC)
 * Whoops! Chlod <small style="font-size:calc(1em - 2pt)">(say hi!) 00:29, 27 July 2023 (UTC)

Edit request 18 April 2024
Please apply changes on sandbox (diff), per discussion at Template talk:Infobox weather event. This changes "hurricane" to "major hurricane" for SSHWS Category 3 and up storms on the North Atlantic and Eastern Pacific basins, and "Category X" to "Category X-equivalent" for storms on the South Atlantic basin. Chlod <small style="font-size:calc(1em - 2pt)">(say hi!) 02:02, 18 April 2024 (UTC)
 * ✅ &mdash; Martin (MSGJ · talk) 13:01, 18 April 2024 (UTC)