Once the few remaining legacy EventLogging schemas have been removed from the production codebases or migrated to Event Platform schemas, EventLogging::logEvent() will only be used as a proxy for EventLogging::submit(). It should be deprecated in order to narrow the EventLogging PHP API.
TODO
- Always pass $revId = -1 when calling ::logEvent()
- Update calls to ::logEvent() with equivalent calls to ::submit()
- Per https://codesearch.wmcloud.org/search/?q=EventLogging%3A%3AlogEvent%5C(&i=nope&files=php%24&excludeFiles=&repos=: the following repos need to be updated:
- Campaigns: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Campaigns/+/884987
- GrowthExperiments
- TwoColConflict
- WikiEditor
- Per https://codesearch.wmcloud.org/search/?q=EventLogging%3A%3AlogEvent%5C(&i=nope&files=php%24&excludeFiles=&repos=: the following repos need to be updated:
- Update ::logEvent() to emit a deprecation notice
- Remove ::logEvent() after the next MediaWiki release