Page MenuHomePhabricator

Update minimum support to ES2017 (ES8)
Closed, ResolvedPublic

Description

Background

With T381537: Raise Grade A JavaScript requirement from ES2016 (ES7) to ES2017 (ES8) resolved for MediaWiki core, it's time to also update minimum support in Codex to ES2017 (ES8).

Goal

Refactor the existing JavaScript codebase from ES2016 and related browsers to ES2017 requirements to leverage new features that enhance maintainability, and performance.

Acceptance criteria for done

  • Update all instances of ES2016 (ES7) in target definitions to ES2017 (ES8)
  • Ensure that no functionality is broken
  • Update documentation

Event Timeline

Change #1207066 had a related patch set uploaded (by VolkerE; author: VolkerE):

[design/codex@main] build: Raise target to ES2017 and supporting browsers

https://gerrit.wikimedia.org/r/1207066

Volker_E moved this task from Backlog to In Progress on the Codex board.

Change #1207066 merged by jenkins-bot:

[design/codex@main] build, docs: Raise target to ES2017 and supporting browsers

https://gerrit.wikimedia.org/r/1207066

Change #1211730 had a related patch set uploaded (by Catrope; author: Catrope):

[mediawiki/core@master] Update Codex from v2.3.2 to v2.3.3

https://gerrit.wikimedia.org/r/1211730

Test wiki created on Patch demo by Roan Kattouw (WMF) using patch(es) linked to this task:
https://ebaf825438.catalyst.wmcloud.org/w/

Change #1211730 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v2.3.2 to v2.3.3

https://gerrit.wikimedia.org/r/1211730