- object shorthand
- classes
- arrow functions
- const/let
- string templates
Description
Details
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Use ES6 modules in MobileFrontend | mediawiki/extensions/MobileFrontend | master | +770 -803 | |
| Use ES6 features in mobile.startup | mediawiki/extensions/MobileFrontend | master | +276 -330 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T334853 Clean up JS code now that we can use ES6 rather than ES5 across all Wikimedia deployed codebases | |||
| Declined | Jdlrobson | T357171 [EPIC] Use ES6 features in MobileFrontend |
Event Timeline
Change 999985 had a related patch set uploaded (by Simon04; author: Simon04):
[mediawiki/extensions/MobileFrontend@master] Use ES6 features in mobile.startup
Change 999985 merged by jenkins-bot:
[mediawiki/extensions/MobileFrontend@master] Use ES6 features in mobile.startup
Change 1003805 had a related patch set uploaded (by Simon04; author: Simon04):
[mediawiki/extensions/MobileFrontend@master] Use ES6 modules in MobileFrontend
Change 1004296 had a related patch set uploaded (by Simon04; author: Simon04):
[mediawiki/extensions/MobileFrontend@master] WIP Use ES6 classes in MobileFrontend
Change #1003805 abandoned by Jdlrobson:
[mediawiki/extensions/MobileFrontend@master] Use ES6 modules in MobileFrontend
Reason:
Abandoning for now as I don't think we can do this right now. Thanks for writing this patch it will be useful to refer back to from the Phabricator patch when we might be in a better place.
I do think adoption of ES6 classes as in your other patch (and let/const etc) are still a good idea so would encourage you to keep working on that patch and others! (perhaps using eslint as a driver!)