Steps to replicate the issue (include links if applicable):
- Go to https://commons.wikimedia.beta.wmflabs.org/wiki/Special:Preferences#mw-prefsection-gadgets
- Enable "Test gadget for T341421"
- Save
- Go to https://commons.m.wikimedia.beta.wmflabs.org/wiki/Special:Preferences
- Click/tap gadgets
- Change anything
- Save
What happens?:
On https://commons.wikimedia.beta.wmflabs.org/wiki/Special:Preferences#mw-prefsection-gadgets the test gadget is now disabled.
What should have happened instead?:
The test gadget should still be enabled. (even if it won't load on mobile, changing mobile gadget prefs shouldn't disable the test gadget for desktop)
Other information (browser name/version, screenshots, etc.):
https://commons.wikimedia.beta.wmflabs.org/wiki/MediaWiki:Gadgets-definition
T341421testgadget[ResourceLoader|skins=vector,vector-2022,monobook,timeless]|T341421testgadget.js
https://en.wikipedia.org/wiki/User_talk:Alexis_Jazz#EditNoticeOnMobile
Edit: changed reproduction steps to use test gadget on beta cluster instead of Twinkle on bnwiki