This is an archive of past discussions about Module:Storm categories. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page.
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)
Not done. 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. LightandDark2000 🌀 (talk) 19:19, 11 April 2022 (UTC)
Template-protected edit request on 2 September 2022
Done 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)
Please place the following line to alias the formerly-documented vstrtyphoon code (from Special:Diff/618384846, later commented out) to vstyphoon, preferably above line 571.
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.
@MSGJ: 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. NoahTalk23:03, 24 February 2023 (UTC)
@MSGJ: 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. NoahTalk23:13, 24 February 2023 (UTC)
@CapeVerdeWave and Wxtrackercody: 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. NoahTalk00:34, 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(nullIfMissingandnilor[foo]); these lines attempt to output nil if nullIfMissing is truthy and otherwise [foo], but because nil is falsy, the or [foo] will always trigger, and as such the expression simply short-circuits to or [foo]. {{Lemondoge|Talk|Contributions}} 22:20, 12 April 2023 (UTC)
This edit request has been answered. Set the |answered= parameter to no to reactivate your request.
Please update the current template with the version currently in the sandbox (compare). Please be careful not to copy over the top and the demo 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 isEqual function was introduced to check if two categories are equal (while also checking aliases),
nullIfMissing was renamed to nilIfMissing in all relevant functions.
_name was fixed to respect the nilIfMissing parameter, which it previously did not.
Please change the name at line 179 of Module:Storm categories/categories(edit | talk | history | links | watch | logs) 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 cat1 to cat5 immediately above the line mentioned). Chlod (say hi!) 03:49, 23 June 2023 (UTC)