Since all legacy EventLogging schemas have been removed from the production codebases, mw.eventLog.logEvent() is just a proxy for mw.eventLog.submit(). It should be deprecated in order to narrow the EventLogging JS API.
We should also consider deprecating mw.eventLog.sendBeacon() at the same time. There is one use of the method outside of EventLogging, which could be cleared up easily.
- Migrate direct calls of .logEvent() to .submit()
- Hard deprecate .logEvent()
- Remove .logEvent() after the next MediaWiki release