Page MenuHomePhabricator

[EPIC] Deprecate mw.eventLog.logEvent()
Open, Needs TriagePublic

Description

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.

TODO

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript