Template talk:Fix

Blank output and invisible mistakes
has no visible output. When previewing a large edit, it's easy to miss the fact that a tag is missing.

IMO the template should treat the unnamed parameter as, or emit an error saying that I didn't provide any of the parameters that would make it non-empty, or emit an error that there's an unexpected unnamed parameter. Jruderman (talk) 22:04, 8 July 2024 (UTC)
 * isn't intended for direct use - it's a core template around which other templates like are built. -- Red rose64 &#x1f339; (talk) 22:37, 8 July 2024 (UTC)
 * Right, there's a good set of pre-made tags for "problems", tuned for use in article space. I also use this template in talk pages, to indicate "what needs to be done" within an incomplete example or mini-draft. Jruderman (talk) 23:09, 8 July 2024 (UTC)
 * I have clarified the documentation; I hope that helps. – Jonesey95 (talk) 00:38, 9 July 2024 (UTC)
 * I see. I appreciate that you're working to make the change I requested even though the way I'm using this template isn't really among the intended uses. Jruderman (talk) 01:14, 9 July 2024 (UTC)
 * We're not working to make the change you requested - we're advising against it. To this end, Jonesey's edit request (below) will put pages exhibiting such misuse into . -- Red rose64 &#x1f339; (talk) 07:21, 9 July 2024 (UTC)
 * I'm happy with the outcome. I asked for the template to treat the positional argument as  or emit an error, and now it emits an error.
 * Catching pages with the error into a category was a good call too: Jonesey95 and I were able to locate and fix instances in several articles, including one that went all the way back to 2018. Jruderman (talk) 09:18, 9 July 2024 (UTC)

Edit request 9 July 2024
Description of suggested change: Please apply the code in the sandbox (diff here), which is a straightforward addition of the "check for unknown parameters" module that is used in hundreds of templates to categorize pages when a template is used with unsupported parameters. I will be happy to create the appropriate tracking category, or the admin who does this change can create it by copy-pasting the content of and adjusting the template name in the first parameter.

Note that this error-checking module normally applies main other to limit its tracking to article space. Based on the most recent query on the talk page, it looks like people use this template in other namespaces as well, so I have removed that limit here. It might need to be imposed if I am wrong about this inference. – Jonesey95 (talk) 00:45, 9 July 2024 (UTC)
 * ✅ Sigh. * Pppery * it has begun... 02:01, 9 July 2024 (UTC)