2017 wikitext editor gadget compatibility
This page is currently a draft.
More information and discussion about changes to this draft may be on the discussion page.
Maintenance of gadgets is an ongoing problem. All code needs maintenance to continue to function properly and to avoid bit rot; frequently gadgets have gone years without maintenance, and the people who wrote them are no longer active. Gadgets often contain faulty assumptions, use deprecated functions, contain poor documentation and unclear code, and have a multitude of other problems; these problems can cause gadgets to fail when things change on the site. Sometimes gadgets fail safely or silently, and other times they fail in more serious ways and impair other functionality.
The 2017 wikitext editor is a significant change to the editing environment, and updates will need to be carried out to ensure gadgets work properly within the new editor. Gadget compatibility, both generally and in this specific case, is a shared responsibility: new extensions and products must be updated to be compatible with gadgets, but gadgets must also be updated to be compatible with new extensions and products. If communities wish to use a gadget with the 2017 wikitext editor, they may need to update it. Similarly, the Editing team must ensure that the 2017 wikitext editor provides the appropriate APIs and extensibility to enable gadget support.
The Editing team does not have the agency to interfere in the community-owned process of gadget creation and maintenance, nor the resources to carry out such maintenance. That said, the team wants to be as helpful as possible, so we will be carrying out an audit of major gadgets to ensure their compatibility with the 2017 wikitext editor. Where gadgets are incompatibile, or partially compatible, with the 2017 wikitext editor, the team will aim to provide advice on how communities can update those gadgets. Where the 2017 wikitext editor is incompatible, or partially incompatible, with gadgets, the team will update the 2017 wikitext editor.
Feedback can be left on the talk page.
10 May 2018
So far, 49 gadgets on the English Wikipedia have been tested. The supermajority of gadgets (42 of 49 gadgets, or 86%) are fully compatible with the 2017 wikitext editor.
A small number of gadgets (3 of 49, or 6%) were partially compatible, meaning they mostly worked but had some minor issues. A small number of gadgets (4 of 49, or 8%) were incompatible due to being implemented to be dependent on the older wikitext editors.
8 May 2018
Results of an initial audit of the compatibility of gadgets on the English Wikipedia is being collated at User:Deskana (WMF)/Gadgets/enwiki.