Page MenuHomePhabricator

Ensure performer attributes in schemas clarify if the user is a temporary account
Open, Needs TriagePublic

Description

Context

When temporary accounts are enabled on a wiki, checks to see if a user is registered will return true for both permanent named accounts, and auto created temporary accounts (see https://www.mediawiki.org/wiki/User_account_types).

Action

In this task, we should make sure that all schemas which have a performer attribute also indicate if the performer is a temporary account or is not.

Schemas which are already reusing the fragment/mediawiki/state/entity/user fragment from the primary schema repository already have this attribute built-in to the performer with is_temp.

A list of schemas that reference performer:

Event Timeline

I sort of feel we should only do this for newer state change related streams created based on the fragment/mediawiki/state models designed as part of T308017: Design Schema for page state and page state with content (enriched) streams.

I think this is already true then for mediawiki/page/change and for mediawiki/page/predicition_classification_change.

We'd like to make new streams based on this T331399: Create new mediawiki.page_links_change stream based on fragment/mediawiki/state/change/page and hopefully one day refactor and remove all the old ones, like mediawiki/revision/create.