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. [[ https://codesearch.wmcloud.org/search/?q=%5C.sendBeacon%5C( | There is one use of the method outside of EventLogging ]], which could be cleared up easily.
=== TODO
[] Decide how to handle [[ https://codesearch.wmcloud.org/things/?q=%5B%27%22%5Devent%5C.&files=js%24&excludeFiles=test%5C.js%24&repos= | indirect calls of .logEvent() ]] (i.e. calls to `mw.track( 'event.Foo' )`)
[] [[ https://codesearch.wmcloud.org/search/?q=%5C.logEvent%5C%28&files=js%24&excludeFiles=TemplateWizard%7Crebaser%5C%2Fsrc%5C%2F%7Csrc%5C%2Fdm%5C%2F&repos= | Migrate direct calls of .logEvent() ]] to `.submit()`
[] Hard deprecate `.logEvent()`
[] Remove `.logEvent()` after the next MediaWiki release