Module:Validate gadgets/doc: Difference between revisions
Appearance
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
![]() | This Lua module is used in system messages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them. |
![]() | This module depends on the following other modules: |
{{#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.