< Extension:Gadgets

Gadgets 2.0

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

  • 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?)
    • See User:Krinkle/Gadgets 3.0
    • See T36958.
  • Present gadget preferences as a browsable offering instead of a flat-list with checkboxes.
    • Provide a selection UI with category-based browsing
    • Though much simpler, loosely in the direction of Firefox Add-ons and Chrome Web Store.
    • Full-text search on repositories.
    • See T25359.
    • See User:Krinkle/Gadgets 3.0

Done

  • 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

  • User:Salvatore Ingala/Notes
  • User:Salvatore Ingala/RL2 integration
  • User:Krinkle/Gadgets 3.0
  • User:Legoktm/Gadgets 2.0 Audit
  • Talk:Requests for comment/Redesign user preferences#Gadgets (suggested wireframe and notes)
Numbers
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.