Page MenuHomePhabricator

Release CodeMirror 6 as a beta feature
Closed, ResolvedPublic

Description

Background

T259059 is working on being a year in the making. CodeMirror 6 by itself is stable, but we ran into significant issues with the 2017 editor integration (T357482). Following my comment at T259059#10126773, several volunteers reached out to ask if we could release CM6 as a beta feature. I think CM6 is a good candidate, as it would allow users to get all the new features CM6 offers and provide us with valuable feedback while we still iron out remaining issues and features. The goal as of October 2024 is to have CM6 complete by MediaWiki 1.44 (November-December 2024), but with the beta feature released, we can push that back even further if we need to.

Acceptance criteria

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Per today's meeting with @MusikAnimal and @Esanders, the Editing Team supports @MusikAnimal in offering CodeMirror6 as a beta feature via T376735.

Also, we agreed that Leon will implement the logging necessary to detect when T373649 occurs so that we can more reliably reproduce the issue and determine when we prioritize fixing the issue.

Note: this logging will be implemented in T379104. We – Ed, Leon, and I – agreed T379104 does not need to block the beta feature deployment.

Change #1090587 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[mediawiki/extensions/CodeMirror@master] Add BetaFeature for CodeMirror 6

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

Change #1090589 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[integration/config@master] Zuul: make CodeMirror dependent on BetaFeatures

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

Change #1090589 merged by jenkins-bot:

[integration/config@master] Zuul: make CodeMirror dependent on BetaFeatures

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

Change #1091390 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[integration/config@master] Zuul: add BetaFeatures as CodeMirror phan dependency

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

Change #1091390 merged by jenkins-bot:

[integration/config@master] Zuul: add BetaFeatures as CodeMirror phan dependency

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

Change #1090587 merged by jenkins-bot:

[mediawiki/extensions/CodeMirror@master] Add BetaFeature for CodeMirror 6

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

Change #1097591 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[mediawiki/extensions/CodeMirror@wmf/1.44.0-wmf.5] Add BetaFeature for CodeMirror 6

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

Change #1097591 merged by jenkins-bot:

[mediawiki/extensions/CodeMirror@wmf/1.44.0-wmf.5] Add BetaFeature for CodeMirror 6

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

Mentioned in SAL (#wikimedia-operations) [2024-11-26T21:20:42Z] <reedy@deploy2002> Started scap sync-world: Backport for [[gerrit:1097591|Add BetaFeature for CodeMirror 6 (T376735)]]

Mentioned in SAL (#wikimedia-operations) [2024-11-26T21:43:59Z] <reedy@deploy2002> musikanimal, reedy: Backport for [[gerrit:1097591|Add BetaFeature for CodeMirror 6 (T376735)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-11-26T22:00:27Z] <reedy@deploy2002> Finished scap sync-world: Backport for [[gerrit:1097591|Add BetaFeature for CodeMirror 6 (T376735)]] (duration: 40m 05s)

Change #1098161 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[operations/mediawiki-config@master] Add CodeMirror to BetaFeaturesAllowList

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

Change #1098161 merged by jenkins-bot:

[operations/mediawiki-config@master] Add CodeMirror to BetaFeaturesAllowList

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

Mentioned in SAL (#wikimedia-operations) [2024-11-26T22:22:52Z] <reedy@deploy2002> Started scap sync-world: Backport for [[gerrit:1098161|Add CodeMirror to BetaFeaturesAllowList (T376735)]]

Mentioned in SAL (#wikimedia-operations) [2024-11-26T22:28:52Z] <reedy@deploy2002> musikanimal, reedy: Backport for [[gerrit:1098161|Add CodeMirror to BetaFeaturesAllowList (T376735)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-11-26T22:54:28Z] <reedy@deploy2002> Finished scap sync-world: Backport for [[gerrit:1098161|Add CodeMirror to BetaFeaturesAllowList (T376735)]] (duration: 31m 35s)

MusikAnimal claimed this task.

We are live! Wikis that have $wgCodeMirrorV6 set (i.e. testwiki, mediawikiwiki, hewiki) will continue to have CodeMirror 6 on by default. All other wikis will have it available as a beta feature.