Worse case scenario, if one of these gadgets needs to be restored right away, would be to replace calls to mw.loader.using('jquery.tipsy')
jquery.tipsy will be removed from MediaWiki core (T117720)
The removal will impact 342 user scripts.
https://global-search.toolforge.org/?q=%5C.tipsy%5C%28®ex=1&namespaces=&title=.*%5C.js
In most cases, any lines calling .tipsy( can be commented out without any issue.
For those who are keen to retain the existing behaviour, OO.ui.PopupWidget is recommended. https://gerrit.wikimedia.org/r/c/mediawiki/extensions/MultimediaViewer/+/915851 can be used as a working example.
Before | After |