(Based on a common idea with @Amire80)
A lot of gadgets are used by multiple wikis, but with a autonomous cycle of life and separate maintenance.
Sometimes, you copy a gadget from a wiki to another because it is cool and, years later, you don't understand why it is not working anymore (personal experience, you have the right to laugh at me).
Some wikis, even big ones, don't have a dedicated project for gadget (and scripts) maintenance.
A central repository is needed.
Some attempts have been done:
- https://www.mediawiki.org/wiki/Gadget_kitchen
- https://www.mediawiki.org/wiki/Gadget_Studio
- T31398: Implement Gadget Manager
- T85433: Using Phabricator for gadget-related tasks
- T71445: Implement a proper code-review process for MediaWiki JS/CSS pages on Wikimedia sites
- https://meta.wikimedia.org/wiki/Grants:IEG/Visual_editor-_gadgets_compatibility
Possible ways to implement a Central Gadget Taskforce:
- create a central page on mediawikiwiki
- define or review best practices
- identify gadgets that are most used (m:Gadgets/wikipedia, m:Gadgets/wikibooks, m:Special:GadgetUsage, etc; toollabs:liangent-django/gadget_usage/)
- contact gadgets maintainers
- find a way to have language support on gadgets
- find a way to update all gadgets at the same time when some updates are done
- document how to get the central gadgets on your wiki
- ...
This task may also help T121470: Central Global Repository for Templates, Lua modules, and Gadgets and T153332: Investigation: Global gadgets, by having people already working together.
These tasks may help: T164222: Create a tool to audit onwiki gadget code, T165981: Implement a prototype JavaScript review system for MediaWiki