mediawiki.revision.visibility-change currently exposes data that we would rather not expose anymore because it duplicates logic that may get us in trouble again in the future.
In this task, we should:
- Deprecate the current mediawiki.revision.visibility-change stream
- Implement a new notification only stream that should expose the following:
database,
rev_id,
rev_timestamp,
visibility struct,
prior_state struct
- Perhaps take the opportunity to check the above and make sure the field names agree between newer revision streams? (i.e. database vs wiki_id)
(See T349845 for further details)