Various jQuery modules are being removed with each new MediaWiki release, and some other deprecated declarations too. jquery.throttle-debounce was removed in 1.40 and both jquery.color and jquery.form were removed in 1.41. Should jquery.color be removed from this repository, or if it is left here, for how long?
A few alternatives:
- Support all past, current and future MediaWiki releases: keep all modules and declarations.
- Support all MediaWiki releases since the last long-term support release (currently 1.39): remove modules and declarations from 1.38 and before, keep modules and declarations from 1.39 and 1.40.
- Support the latest MediaWiki release: remove modules and declarations from 1.40 and before.
Otherwise, I'm not very familiar with npm: would it be possible have one npm release per MediaWiki version (then to match npm release version numbers with MediaWiki version numbers, so "dependencies": { "types-mediawiki": "1.41.*" } in your package.json would give you 1.41-compatible types)?
Various jQuery modules are being removed with each new MediaWiki release, and some other deprecated declarations too.
jquery.throttle-debouncewas removed in 1.40 and bothjquery.colorandjquery.formwere removed in 1.41. Shouldjquery.colorbe removed from this repository, or if it is left here, for how long?A few alternatives:
Otherwise, I'm not very familiar with npm: would it be possible have one npm release per MediaWiki version (then to match npm release version numbers with MediaWiki version numbers, so
"dependencies": { "types-mediawiki": "1.41.*" }in yourpackage.jsonwould give you 1.41-compatible types)?