![]() | 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. |
Archive 1 |
![]() | This edit request to Module:Storm categories/categories has been answered. Set the |answered= parameter to no to reactivate your request. |
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)
![]() | This edit request to Module:Storm categories/categories has been answered. Set the |answered= parameter to no to reactivate your request. |
Please add the icon for the "vstyphoon" category (around line 196):
name = "Very strong typhoon",
sortkey = 60020, -- modified line (added comma)
icon = "[[File:Very strong typhoon icon.png|18px]]" -- added line
},
and the icon for the "vityphoon" category (around line 201):
color = "C464D9",
name = "Violent typhoon",
sortkey = 60030, -- modified line (added comma)
icon = "[[File:Violent typhoon icon.png|18px]]" -- added line
},
Chlod (say hi!) 04:33, 2 September 2022 (UTC)
![]() | This edit request to Module:Storm categories/categories has been answered. Set the |answered= parameter to no to reactivate your request. |
Could someone please revert the color changes I made on March 18, 2022, at Module:Storm categories/categories per Wikipedia_talk:WikiProject_Weather#RfC:_Full-scale_reversion? 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. NoahTalk 17:25, 11 October 2022 (UTC)
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)
![]() | This edit request to Module:Storm categories/categories has been answered. Set the |answered= parameter to no to reactivate your request. |
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.
cats["vstrtyphoon"] = cats["vstyphoon"]
Chlod (say hi!) 13:43, 3 December 2022 (UTC)
![]() | This edit request to Module:Storm categories/categories has been answered. Set the |answered= parameter to no to reactivate your request. |
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.
-- ...
unknown = {
color = "c0c0c0",
name = "Unknown-strength storm",
-- ...
Thank you! Chlod (say hi!) 00:26, 6 February 2023 (UTC)
![]() | This edit request to Module:Storm categories/categories has been answered. Set the |answered= parameter to no to reactivate your request. |
Description of suggested change:
Please substitute the preexisting colors in this template with the new colors agreed upon through RfC and further discussion, at Wikipedia:WikiProject_Weather/Color_RfC#Modification. To simplify:
That's a lot, I know, so thank you! wxtrackercody (talk · contributions) 01:15, 24 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)
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 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. |
or (not nullIfMissing and error("No default name for basin-based category name.") or nil)
) or (not nullIfMissing and cats[defaultCategory].icon) or nil)
![]() | This edit request to Module:Storm categories/categories has been answered. Set the |answered= parameter to no to reactivate your request. |
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. NoahTalk 11:45, 18 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:
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.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 (say hi!) 09:13, 23 April 2023 (UTC)
![]() | This edit request to Module:Storm categories/categories has been answered. Set the |answered= parameter to no to reactivate your request. |
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. NoahTalk 21:41, 6 May 2023 (UTC)
![]() | This edit request to Module:Storm categories/categories has been answered. Set the |answered= parameter to no to reactivate your request. |
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)
![]() | This edit request to Module:Storm categories/categories has been answered. Set the |answered= parameter to no to reactivate your request. |
Please add the following icon definition for the "supertyphoon
" category.
supertyphoon = {
color = "FF738A",
name = "Category 4-equivalent super typhoon",
sortkey = 80045,
icon = "[[File:Category 4 hurricane icon.png|18px]]" -- added line
},
Chlod (say hi!) 23:30, 24 July 2023 (UTC)
![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Please apply changes on sandbox (diff), per discussion at Template talk:Infobox weather event#“Major hurricane” tag in NWS hurricane subtemplate. 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 (say hi!) 02:02, 18 April 2024 (UTC)