Jump to content

Module:Validate gadgets/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
mNo edit summary
note preview behaviour
Line 4: Line 4:


This module checks the gadget definitions in [[MediaWiki:Gadgets-definition]] for errors and other issues.
This module checks the gadget definitions in [[MediaWiki:Gadgets-definition]] for errors and other issues.

No output is produced if there are no warnings. But during previews, a message with a green check will be shown.


Note: the validation of values specified in <code>rights</code> and <code>actions</code> is imperfect as it relies on incomplete hardcoded lists of valid values.
Note: the validation of values specified in <code>rights</code> and <code>actions</code> is imperfect as it relies on incomplete hardcoded lists of valid values.




<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||

Revision as of 14:52, 4 January 2024

{{#invoke:Validate gadgets|validate}}

This module checks the gadget definitions in MediaWiki:Gadgets-definition for errors and other issues.

No output is produced if there are no warnings. But during previews, a message with a green check will be shown.

Note: the validation of values specified in rights and actions is imperfect as it relies on incomplete hardcoded lists of valid values.