Page MenuHomePhabricator

Add `rev_actor` to `performer` element returned in `page-links-change` EventStream
Open, Needs TriagePublicFeature

Description

Feature summary:
Currently, the performer element returned in a page-links-change event contains user_text (a username for a registered user, an IP address for an unregistered user) and user_id (for registered users).
Ideally, performer would instead contain actor_id, similar to the revision table.

Use case(s):
In trying to log link additions via EventStreams, I am forced to either log user_text into a database (which increases db size) or make an API request to get the actor_id (unrealistic given the volume of events).

Benefits:
Directly supplying the actor_id allows for a smaller footprint to be logged (and potentially future proofs IP Masking changes, as I assume the actor_id will remain constant) whilst still allowing the querying of username/IP address/etc.

Related Objects

Event Timeline

or make an API request to get the actor_id (unrealistic given the volume of events).

This would also require T215121: Expose actor IDs via the API first.