Page MenuHomePhabricator

Use classes in frontend
Closed, ResolvedPublic

Description

Classes are now in the "modern" version in MW: mw:Compatibility#General_information. This means we can do away with the pseudo class, function-in-functions approach we have in most our code (ext.wikispeech.transcriptionPreviewer.js uses prototype, but should also be a class).

Event Timeline

Change #1181032 had a related patch set uploaded (by Viktoria Hillerud WMSE; author: Viktoria Hillerud WMSE):

[mediawiki/extensions/Wikispeech@master] Update JavaScript code to use classes

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

Viktoria_Hillerud_WMSE changed the point value for this task from 16 to 5.Sep 9 2025, 8:12 AM

Change #1181032 merged by jenkins-bot:

[mediawiki/extensions/Wikispeech@master] Update JavaScript code to use classes

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

Viktoria_Hillerud_WMSE removed the point value 5 for this task.