Module talk:Check for unknown parameters: Difference between revisions
→Feature request: Reply |
PrimeHunter (talk | contribs) →Error category should also be added in preview: new section |
||
Line 31: | Line 31: | ||
:[[:Module:Check for deprecated parameters]]. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 16:06, 5 December 2023 (UTC) |
:[[:Module:Check for deprecated parameters]]. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 16:06, 5 December 2023 (UTC) |
||
::Thanks — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 17:42, 5 December 2023 (UTC) |
::Thanks — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 17:42, 5 December 2023 (UTC) |
||
== Error category should also be added in preview == |
|||
If there is an error category for unknown parameters then it's only added in the rendered page, not previews which instead show a preview warning. That can be very confusing. Consider for example [[Copa Libertadores Femenina]] ([https://en.wikipedia.org/enwiki/w/index.php?title=Copa_Libertadores_Femenina&oldid=1181533151 permanent link]) with [[:Category:Pages using flagicon template with unknown parameters]]. The page has 135 {{tl|flagicon}}. The unknown parameter is in <code><nowiki>{{flagicon|BRA|side=30px}}</nowiki></code> (should have said size). It's common to track down where a category is added by previewing different parts of the code. That fails here when the category is never added in preview. You can search for the preview warning in the preview but users may not know that. Previews can add things but shouldn't remove things. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 11:36, 9 December 2023 (UTC) |
Revision as of 11:36, 9 December 2023
Module:Check for unknown parameters is permanently protected from editing because it is a heavily used or highly visible module. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit protected}} to notify an administrator to make the requested edit.
|
Templates | ||||
|
This module was considered for merging on 2019 December 30. The result of the discussion was "no consensus". |
This is the talk page for discussing improvements to the Check for unknown parameters module. |
|
Archives: 1Auto-archiving period: 3 months |
Pagenames involved
For de-confusion, pagenames involved:
- Module:Check for unknown parameters -- has best documentation
- Module talk:Check for unknown parameters
- Template:Checks for unknown parameters/doc -- needs a check; transclusion advice 'Use this /doc in template documentation' is tested or applied?
- Template:Checks for unknown parameters -- has plural Checks ...
- Template:Check for unknown parameters (R) → Template:Checks for unknown parameters
- Template talk:Checks for unknown parameters (R) → Module talk:Check for unknown parameters -- was redlink; now talk central
- WP:CFUP (R) → Template:Checks for unknown parameters/doc -- R to the /doc, not create a templatename-redirect
- Not done (yet): Template:fcup as template R?
-DePiep (talk) 07:37, 28 February 2023 (UTC)
Feature request
Would it be possible to distinguish between unknown and deprecated parameters? It would be useful sometimes to track deprecated parameters in a different category, or with a different preview message. — Martin (MSGJ · talk) 20:17, 4 December 2023 (UTC)
- Module:Check for deprecated parameters. – Jonesey95 (talk) 16:06, 5 December 2023 (UTC)
- Thanks — Martin (MSGJ · talk) 17:42, 5 December 2023 (UTC)
Error category should also be added in preview
If there is an error category for unknown parameters then it's only added in the rendered page, not previews which instead show a preview warning. That can be very confusing. Consider for example Copa Libertadores Femenina (permanent link) with Category:Pages using flagicon template with unknown parameters. The page has 135 {{flagicon}}. The unknown parameter is in {{flagicon|BRA|side=30px}}
(should have said size). It's common to track down where a category is added by previewing different parts of the code. That fails here when the category is never added in preview. You can search for the preview warning in the preview but users may not know that. Previews can add things but shouldn't remove things. PrimeHunter (talk) 11:36, 9 December 2023 (UTC)