I recently realized it would be amazingly convenient if Media Wiki could have a way to pipe it's Javascript files through Babel.js, so that wiki JS editors could use ES6 features. I thought there'd be a simple solution, since all we're really talking about is sticking a single text piping program (Babel) in-between whatever machinery Mediawiki already has to process the MediaWiki Javascript files (it definitely has something because of importScript and the fact that MediaWiki:Common.js is minnified).
However, when I asked on Super User, it seems ... not so much: https://superuser.com/questions/1479024/mediawiki-babel-js-possible
If I'm mistaken, and someone would like to receive a small Super User bounty, please feel free to answer the question. And if not, I think this would be a very useful (and again, I would imagine, fairly easy to implement) feature.