Jump to content

Module:Validate gadgets/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
{{used in system}}
update depends on
Line 1: Line 1:
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{used in system}}
{{used in system}}
{{lua|Module:Message box}}
{{lua|Module:Gadgets|Module:Message box}}
<code><nowiki>{{</nowiki>#invoke:Validate gadgets|''validate''<nowiki>}}</nowiki></code>
<code><nowiki>{{</nowiki>#invoke:Validate gadgets|''validate''<nowiki>}}</nowiki></code>



Revision as of 10:27, 23 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.