Content deleted Content added
replies (I can give these a shot) |
Fred Gandt (talk | contribs) replies: prefer "combined" and thank you Aidan |
||
Line 91:
Currently it appears that <code>nowiki</code> is a boolean option; could we have a third option to display both the {{tag|nowiki}} and parsed results? We could of course double all tests where this might be desirable, but 1) they might not end up anywhere near each other, and 2) it'd be inefficient. Suggest: <code>{nowiki = 2}</code> (semantically nice and easy math) for the third state. <code style="background:#DFF;white-space:pre">[[User:Fred Gandt|Fred Gandt]] · [[User talk:Fred Gandt|talk]] · [[Special:Contributions/Fred Gandt|contribs]]</code> 20:36, 27 January 2023 (UTC)
:For the sake of ease in handling the code, and the fact I'd rather keep those options as just "truthy" checks instead of exact == checks (the only reason its <code>=1</code> in the doc is probably because its shorter than typing <code>=true</code>), does something like a seperate <code>nowikiplus</code> or <code>combined</code> option sound better? I'll probably have to standardise the module a little to make adding this not mean pasting the same code in 5 different functions, but it should be doable (I'll just have to think about how to lay it out in the output). [[User:Aidan9382|Aidan9382]] <sub>([[User talk:Aidan9382|talk]])</sub> 09:37, 28 January 2023 (UTC)
::Sounds good to me! Definitely think of the maintainability of the code ahead of the minor convenience of only having one option to consider. Personally; I think <code>combined</code> is better. Thank you for your consideration 😊 <code style="background:#DFF;white-space:pre">[[User:Fred Gandt|Fred Gandt]] · [[User talk:Fred Gandt|talk]] · [[Special:Contributions/Fred Gandt|contribs]]</code> 09:46, 28 January 2023 (UTC)
== Present failed tests together at the top ==
Line 96 ⟶ 97:
Another suggestion: present all failed tests at the top of the results. This might be achieved multiple ways and someone with greater familiarity with the code might be best suited to decide exact what approach is best. As a user; seeing two sections – the uppermost for failed and the next for passed tests – would be ideal. Section depth should be unimportant unless the results are substed (but who would do that?); lvl 3 sections should be fine since the whole lot can be placed under a standard lvl 2 section for posterity. Diverting the results as their condition becomes known to the appropriate section should be trivial (easy for me to say right? I'm a tad busy right now but will tackle it myself if necessary). <code style="background:#DFF;white-space:pre">[[User:Fred Gandt|Fred Gandt]] · [[User talk:Fred Gandt|talk]] · [[Special:Contributions/Fred Gandt|contribs]]</code> 09:24, 28 January 2023 (UTC)
:I'll try theory this in the sandbox too. [[User:Aidan9382|Aidan9382]] <sub>([[User talk:Aidan9382|talk]])</sub> 09:37, 28 January 2023 (UTC)
::I will prepare a WikiLove goat for you! Seriously though; thanks again for you consideration ❤ <code style="background:#DFF;white-space:pre">[[User:Fred Gandt|Fred Gandt]] · [[User talk:Fred Gandt|talk]] · [[Special:Contributions/Fred Gandt|contribs]]</code> 09:46, 28 January 2023 (UTC)
|