Module talk:Validate gadgets

Is actions=view valid?

@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)[reply]

Fw: @DonRumata @Stjn Jack who built the house (talk) 03:15, 6 September 2025 (UTC)[reply]
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)[reply]

Vue extension

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)[reply]

 DoneSD0001 (talk) 17:12, 9 December 2025 (UTC)[reply]

Boolean options

@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)[reply]

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)[reply]

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.