Hi all,
tl;dr: we'd like to remove the rev_is_revert field from the mediawiki.revision-create stream to solve a missing event problem.
The reason for the large number of missing events is because the code that emits the event is subscribing to the wrong MediaWiki hook.
This patch will fix this, however the correct hook does not give us the information we need to set the rev_is_revert and rev_revert_details fields. This field is relatively new (only added
last August 2020). We think that including the missing revisions is more important than capturing the revert information, which really only captures whether or not a user used the MediaWiki UI to issue a revert.
Thanks!
-Andrew Otto
SRE, Data Engineering, WMF