Module talk:Validate gadgets
Is actions=view valid?
[edit]@SD0001 I think actions=view should be valid even though there is no such message? E.g. Russian Wikipedia has it for the edittop gadget. Jack who built the house (talk) 03:14, 6 September 2025 (UTC)
- Fw: @DonRumata @Stjn Jack who built the house (talk) 03:15, 6 September 2025 (UTC)
- I've changed it to go back to a manual list of valid actions. I tried to get action-view added to core, before realizing that the action-* message series corresponds to user rights instead of actions (see translatewiki:Template:Doc-action), so isn't reliable for this purpose. – SD0001 (talk) 04:09, 6 September 2025 (UTC)
Vue extension
[edit]I suggest adding some code like in this diff, so that .vue extension files don't return warnings (see mw:Extension:Gadgets#Page_names) MonAx (talk) 14:20, 9 December 2025 (UTC)
Done – SD0001 (talk) 17:12, 9 December 2025 (UTC)
Boolean options
[edit]@SD0001: supportsUrlLoad is a little bit more special than the rest, as it is the only one enabled by default. To disable it, the definition needs to specify supportsUrlLoad=false. See extension code. NguoiDungKhongDinhDanh 17:59, 7 January 2026 (UTC)
- You're misreading the code; it's not enabled by default. Setting supportsUrlLoad=false has the same effect as not specifying the option – a failsafe for people expecting "false" to disable the option instead of enabling it.
Although we could configure the validator to accept supportsUrlLoad=false, its redundant as the option can be removed altogether, so I think a warning is still useful. – SD0001 (talk) 18:13, 7 January 2026 (UTC)