Gadgets 2.0 edit

Somewhere in there is also room for "gadget options" (which Salvatore started with; see phab:T110014). However I haven't been able to get back at that because other projects have a higher priority right now.

  • Centralized localisation (MediaWiki:-namespace, mw.msg(), RL2: Loading of extra messages for gadgets)
  • No more manual editing of gadgets definition, everything should have its GUI to change the underlying JSON definition
  • Gadget JS/CSS should still be stored on wiki pages
  • ResourceLoader-V2 plans to create a way for client modules to be registered (T29561?), perhaps via Gadgets (hide modules from view, but usable as a dependency), perhaps via Core (mw.loader.register ? )
  • Hidden gadgets

Gadgets 3.0 edit

  • Centralized (global) gadgets repository (on MW.org? Meta-Wiki? on a dedicated wiki?).
  • Customization of gadgets without polluting Special:Preferences
  • User-level repositories (replacing core "user scripts" with "user gadgets"). These would not all be promoted directly on Special:Preferences, but instead the gadget preferences page would include gadgets of repos you have trusted. By default that would be the local wiki, a global one (if we get one), and your own user. You could "add" other users or wikis in some way (eg. by adding a JSON url?)
  • Present gadget preferences as a browsable offering instead of a flat-list with checkboxes.

Done edit

  • Sites may want to enable a global gadget for everyone by default -> T15742 / rev:85902
  • Create ResourceLoader modules on-wiki to be shared between gadgets. Just like gadgets that have their modules, but are not available for people to select explicitly.

See also edit