From Wikipedia, the free encyclopedia
Inline Templates
This template is within the scope of WikiProject Inline Templates, a collaborative effort to improve and manage Wikipedia's inline footnote, cleanup and dispute templates. If you would like to participate, you can visit the project page, where you can join the project and see a list of open tasks.
Some discussion of this template may take place at the project's talk page, rather than here.

Blank output and invisible mistakes

{{fix|thing}} 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 text, 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) reply

@ Jruderman: {{ fix}} isn't intended for direct use - it's a core template around which other templates like {{ citation needed}} are built. -- Redrose64 🌹 ( talk) 22:37, 8 July 2024 (UTC) reply
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) reply
I have clarified the documentation; I hope that helps. – Jonesey95 ( talk) 00:38, 9 July 2024 (UTC) reply
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) reply
@ Jruderman: 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 ‹The template Category link is being considered for merging.›  Category:Pages using Template:Fix with unknown parameters. -- Redrose64 🌹 ( talk) 07:21, 9 July 2024 (UTC) reply
I'm happy with the outcome. I asked for the template to treat the positional argument as text= 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) reply

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 ‹The template Category link is being considered for merging.›  Category:Pages using infobox NRHP with unknown parameters 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) reply

 Done Sigh. * Pppery * it has begun... 02:01, 9 July 2024 (UTC) reply
From Wikipedia, the free encyclopedia
Inline Templates
This template is within the scope of WikiProject Inline Templates, a collaborative effort to improve and manage Wikipedia's inline footnote, cleanup and dispute templates. If you would like to participate, you can visit the project page, where you can join the project and see a list of open tasks.
Some discussion of this template may take place at the project's talk page, rather than here.

Blank output and invisible mistakes

{{fix|thing}} 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 text, 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) reply

@ Jruderman: {{ fix}} isn't intended for direct use - it's a core template around which other templates like {{ citation needed}} are built. -- Redrose64 🌹 ( talk) 22:37, 8 July 2024 (UTC) reply
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) reply
I have clarified the documentation; I hope that helps. – Jonesey95 ( talk) 00:38, 9 July 2024 (UTC) reply
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) reply
@ Jruderman: 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 ‹The template Category link is being considered for merging.›  Category:Pages using Template:Fix with unknown parameters. -- Redrose64 🌹 ( talk) 07:21, 9 July 2024 (UTC) reply
I'm happy with the outcome. I asked for the template to treat the positional argument as text= 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) reply

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 ‹The template Category link is being considered for merging.›  Category:Pages using infobox NRHP with unknown parameters 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) reply

 Done Sigh. * Pppery * it has begun... 02:01, 9 July 2024 (UTC) reply

Videos

Youtube | Vimeo | Bing

Websites

Google | Yahoo | Bing

Encyclopedia

Google | Yahoo | Bing

Facebook