Community Wishlist Survey 2021/Bots and gadgets/Gadgets improvements

Gadgets improvements

  • Problem: Gadgets are hard to develop and maintain, even more so for smaller communities and non-English wikis
  • Who would benefit: Anyone who uses or develops gadgets
  • Proposed solution: See below
  • More comments:
  • Phabricator tickets: a bunch
  • Proposer: DannyS712 (talk) 06:39, 23 November 2020 (UTC)

Work on Gadgets 2.0 is stalled, and the Gadget and Gadget definition namespaces are registered and reserved, but not used for anything. The following parts of the old roadmap (mw:Extension:Gadgets/Roadmap#Gadgets 2.0) and tracking task (phab:T31272) should be prioritized

  • "No more manual editing of gadgets definition, everything should have its GUI to change the underlying JSON definition" - add an interface to manage the gadget definitions (rights required, scripts and styles to load, messages, default enabled, whether the gadget is hidden, etc.)
  • Gadget code and definitions should move out of the mediawiki namespace to the dedicated gadget and gadget definitions namespace (see the example use of the gadget definitions namespace at mw:Extension:Gadgets#Using Gadget Definition Namespace, though as noted above it shouldn't need to be edited manually as json, but rather via a GUI)
  • "Structured localization framework for gadgets" - phab:T238386

Discussion

Is this complete and deploy Gadgets 2.0? "Gadgets improvements" suggests broader topic but the proposal seems limited to the extension. – Ammarpad (talk) 04:36, 24 November 2020 (UTC)

Essentially, yes, but since its not very clear how "Gadgets 2.0" is currently scoped/defined, I listed the key issues that I thought should be addressed DannyS712 (talk) 04:58, 24 November 2020 (UTC)
Much wanted. It had promising development in the past but then it silenced.
For localization improvements, Community Wishlist Survey 2021/Bots and gadgets/Easy and effective way to translate gadgets and userscripts was also proposed. --Matěj Suchánek (talk) 08:32, 24 November 2020 (UTC)
Gadgets 2.0 includes a real localization and translation system. Kaldari (talk) 18:38, 8 December 2020 (UTC)
The Gadgets 2.0 code is pretty much complete. The main part that needed to be finished was the code for migrating old gadgets to Gadgets 2.0, and also just more testing and polish to make sure such a big feature change goes smoothly. Since Gadgets 2.0 never had a Product Manager or QA Engineer those last steps never happened. I bet CommTech could get it finished though! Kaldari (talk) 18:38, 8 December 2020 (UTC)

Voting

  •   Support -- CptViraj (talk) 18:10, 8 December 2020 (UTC)
  •   Support Kaldari (talk) 18:39, 8 December 2020 (UTC)
  •   Support <3 Matěj Suchánek (talk) 19:18, 8 December 2020 (UTC)
  •   Support I'd love them to be global, but in the meantime... Sannita - not just another it.wiki sysop 19:23, 8 December 2020 (UTC)
  •   Support Pyroforos (talk) 19:27, 8 December 2020 (UTC)
  •   Support Pmau (talk) 20:10, 8 December 2020 (UTC)
  •   Support Iniquity (talk) 23:47, 8 December 2020 (UTC)
  •   Support Shizhao (talk) 02:48, 9 December 2020 (UTC)
  •   SupportAmmarpad (talk) 04:32, 9 December 2020 (UTC)
  •   Support Tmv (talk) 07:43, 9 December 2020 (UTC)
  •   Support Kpjas (talk) 10:45, 9 December 2020 (UTC)
  •   Support Sgd. —Hasley 13:24, 9 December 2020 (UTC)
  •   Support ‐‐1997kB (talk) 13:56, 9 December 2020 (UTC)
  •   Support Good idea, to simplify the process Oaktree b (talk) 16:23, 9 December 2020 (UTC)
  •   Supportputnik 18:50, 9 December 2020 (UTC)
  •   Support Cabayi (talk) 20:19, 9 December 2020 (UTC)
  •   Support GeneralNotability (talk) 23:47, 9 December 2020 (UTC)
  •   Support - Darwin Ahoy! 01:40, 10 December 2020 (UTC)
  •   Support First step was made, we need second Carn (talk) 05:18, 10 December 2020 (UTC)
  •   Support β16 - (talk) 11:49, 10 December 2020 (UTC)
  •   Support Libcub (talk) 18:15, 10 December 2020 (UTC)
  •   Support Helder 20:33, 10 December 2020 (UTC)
  •   Support ProcrastinatingReader (talk) 00:27, 11 December 2020 (UTC)
  •   Support Gnangarra (talk) 00:59, 11 December 2020 (UTC)
  •   Support Evad37 (talk) 03:18, 11 December 2020 (UTC)
  •   Support --Zache (talk) 03:28, 11 December 2020 (UTC)
  •   Support --valepert (talk) 12:27, 11 December 2020 (UTC)
  •   Support MichaelSchoenitzer (talk) 14:15, 11 December 2020 (UTC)
  •   Support Izno (talk) 15:28, 11 December 2020 (UTC)
  •   Support Bencemac (talk) 16:15, 11 December 2020 (UTC)
  •   Support Arnd (talk) 16:37, 11 December 2020 (UTC)
  •   Support Theklan (talk) 17:38, 11 December 2020 (UTC)
  •   Support The Gadgets 2.0 code is pretty much complete ... just more testing and polish 🚢🚢🚢 czar 17:40, 11 December 2020 (UTC)
  •   Support I concur, --Krinkle (talk) 20:20, 11 December 2020 (UTC)
  •   Support It will be very important for developers. WikiFer msg 22:52, 11 December 2020 (UTC)
  •   Support Strainu (talk) 09:45, 12 December 2020 (UTC)
  •   Support Francois-Pier (talk) 11:54, 12 December 2020 (UTC)
  •   Support SkSlick (talk) 19:33, 12 December 2020 (UTC)
  •   Support Novak Watchmen (talk) 19:32, 13 December 2020 (UTC)
  •   Support A usable i18n framework is a must-have, but not having to worry about breaking all gadgets with an incorrect edit to MediaWiki:gadgets-definition would also be a huge improvement. Tacsipacsi (talk) 22:03, 14 December 2020 (UTC)
  •   SupportThanks for the fish! talkcontribs 22:35, 14 December 2020 (UTC)
  •   Support — Draceane talkcontrib. 12:52, 15 December 2020 (UTC)
  •   Support Rzuwig 14:14, 15 December 2020 (UTC)
  •   Support Mihir Narayanan (talk) 02:34, 16 December 2020 (UTC)
  •   Support Joalbertine (talk) 14:22, 17 December 2020 (UTC)
  •   Support Julián L. Páez 03:50, 21 December 2020 (UTC)
  •   Support Goombiis (talk) 08:25, 21 December 2020 (UTC)
  •   Support David1010 (talk) 12:01, 21 December 2020 (UTC)
  •   Support S8321414 (talk) 14:07, 21 December 2020 (UTC)