MediaWiki:Gadgets-definition: Difference between revisions
Jump to navigation
Jump to search
(Created page with "This page contains the definitions for all gadgets on the wiki. In most cases, code that could be placed in Common.js should be made into a module here instead for granularity and better support for mobile, etc. Edits to this page should be done with care. When targeting a gadget for mobile, ensure that the gadget '''works''' on mobile properly by debugging it on mobile devices. Some mobile devices do not allow JavaScript to run, or do not run it by default, so there sh...") |
No edit summary |
||
| Line 5: | Line 5: | ||
=== Appearance === | === Appearance === | ||
* toggle_darkmode[ResourceLoader]| | * toggle_darkmode[ResourceLoader]|Gadget-toggleDarkMode.js|Gadget-toggleDarkMode.css] | ||
Revision as of 15:30, 29 March 2022
This page contains the definitions for all gadgets on the wiki. In most cases, code that could be placed in Common.js should be made into a module here instead for granularity and better support for mobile, etc.
Edits to this page should be done with care. When targeting a gadget for mobile, ensure that the gadget works on mobile properly by debugging it on mobile devices. Some mobile devices do not allow JavaScript to run, or do not run it by default, so there should always be a fallback option for those that do not have JS enabled-
Appearance
- toggle_darkmode[ResourceLoader]|Gadget-toggleDarkMode.js|Gadget-toggleDarkMode.css]