Background
mw.eventLog.Schema was introduced in rEEVL306f4c1ac384: Add Schema class. IIRC it was used by various instruments owned by Readers Web. However, at the time of writing (2025/10/23), it's used in two instruments: EditAttemptStep and VisualEditorFeatureUse. Fortunately, those instruments have been centralised in WikimediaEvents. We can deprecate and remove mw.eventLog.Schema and not disrupt those instruments by moving the class into WikimediaEvents/modules/ext.wikimediaEvents/editAttemptStep.js and not exporting it so that it can be used elsewhere.
TODO
- Decide whether the class should be deprecated or deleted immediately
- If we decide to deprecate the class, announce the deprecation on wikitech-l
- Migrate the Schema class to WikimediaEvents/modules/ext.wikimediaEvents/editAttemptStep.js
- Delete the modules/ext.eventLogging/Schema.js and tidy up