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).
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| Update JavaScript code to use classes | Viktoria Hillerud WMSE | mediawiki/extensions/Wikispeech | master | +1 K -1 K |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T152392 ☂ Fix Wikispeech Javascript structure | |||
| Resolved | Viktoria_Hillerud_WMSE | T402001 Use classes in frontend |
Event Timeline
Comment Actions
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
Comment Actions
Change #1181032 merged by jenkins-bot:
[mediawiki/extensions/Wikispeech@master] Update JavaScript code to use classes