Content deleted Content added
→Template-protected edit request on 23 April 2022: new section |
|||
Line 136:
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 [[Wikipedia:WikiProject Weather/New Weather Infobox|here]]) and icons for the Beaufort scale I produced. The new scales are properly displayed at [[Module:Storm categories/sandbox]]. [[User:Hurricane Noah|<span style="white-space:nowrap;text-shadow:#009200 0.3em 0.4em 1.0em,#009200 -0.2em -0.2em 1.0em;color:#009200"><b>Noah</b></span>]]<sup>[[User talk:Hurricane Noah|<span style="color:#ff0000"><b>Talk</b></span>]]</sup> 11:45, 18 April 2023 (UTC)
: {{done}} [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 18:50, 20 April 2023 (UTC)
== Template-protected edit request on 23 April 2022 ==
{{tper}}
Please update the current template with the version currently in the sandbox ({{comparePages|Module:Storm categories|Module:Storm categories/sandbox|compare}}). Please be careful not to copy over the top and the <code>demo</code> 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 <code>isEqual</code> function was introduced to check if two categories are equal (while also checking aliases),
* <code>nullIfMissing</code> was renamed to <code>nilIfMissing</code> in all relevant functions.
* <code>_name</code> was fixed to respect the <code>nilIfMissing</code> parameter, which it previously did not.
I've created the [[Module:Storm categories/testcases|testcases page]] for future reference and for showing that the changes work (see [[Module talk:Storm categories/testcases|run results]]). Please let me know if there's any additional changes that need to be made. Thanks! <span style="background:#ffff55">'''''[[User:Chlod|Chlod]]'''''</span> <small style="font-size:calc(1em - 2pt)">([[User talk:Chlod|say hi!]])</small> 09:13, 23 April 2023 (UTC)
|