Module talk:Gadgets
Protected edit request on 26 January 2024
![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Please sync the changes from Module:Gadgets/sandbox (diff). The following change(s) have been done:
- fix get_usage function for gadget names that have hyphen (-) in them. Bug can be seen at MediaWiki:Gadget-dark-mode-toggle.js where it currently shows -1 users.
– SD0001 (talk) 17:50, 26 January 2024 (UTC)
Protected edit request on 7 May 2024
![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Please sync from Module:Gadgets/sandbox (diff). This fixes "used by −1 users" at MediaWiki:Gadget-popups.js. Nardog (talk) 11:07, 7 May 2024 (UTC)
Done — xaosflux Talk 20:25, 7 May 2024 (UTC)
Some issues in module
@SD0001: currently, this module seems to remove all spaces, even where they are now legitimate, like the new |categories=
keyword. See, for example, ru:MediaWiki:Gadgets-definition#ondemand. I tried fixing it locally by replacing the trimming with mw.text.trim
but that makes Module:Validate gadgets to no longer work correctly with items containing spaces, see the top of ru:MediaWiki:Gadgets-definition.
Additionally, Wikipedia:GUS2Wiki seems to be updated differently in other wikis, where CSV also includes info on active users. I believe that can be fixed with this change. stjn 01:07, 9 October 2024 (UTC)
- Feel free to propose the edits here using {{sudo}}. I don't have direct edit access either. – SD0001 (talk) 03:43, 9 October 2024 (UTC)