Module:Check for unknown parameters/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
m
mNo edit summary
 
(23 intermediate revisions by 17 users not shown)
Line 1:
{{used in system|in [[MediaWiki:Abusefilter-warning-DS]]}}
{{High-risk|8200000+}}
{{module rating|p}}
{{Lua|Module:If preview}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
This module may be appended to a template to check for uses of unknown parameters.
Line 10:
{{#invoke:check for unknown parameters|check
|unknown=[[Category:Some tracking category]]
|arg1|arg2|...arg3|argN}}
</pre>
or to sort the entries in the tracking category by parameter with a preview error message
Line 71:
* {{clc|Unknown parameters}} (category page can have header {{tl|Unknown parameters category}})
* [[Module:Check for deprecated parameters]] – similar module that checks for deprecated parameters
* [[Module:Check for clobbered parameters]] – module that checks for conflicting parameters
* [[:moduleModule:TemplatePar]] – similar function (originally from dewiki)
* [[Template:Parameters]] and [[Module:Parameters]] – generates a list of parameter names for a given template
* [[Project:TemplateData]] based template parameter validation
* [[:he:Module:ParamValidator]] – parameter validation system on hewiki, relies on TemplateData. module doc in English. checks the following:
* [[Module:Parameter validation]] checks a lot more
**use of undeclared parameters
* [[User:Bamyers99/TemplateParametersTool]] - A tool for checking usage of template parameters
** use of parameters marked in templatedata "deprecated"
** mistyped (mainly, parameters declared in templatedata as "number" receiving non-numerical value)
**missing parameters marked in TemplateData as "required"
**understands aliases, and warns when more than one alias of a parameter is used
 
<includeonly>{{sandbox other||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Modules that add a tracking category]]
 
}}</includeonly>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu