Page MenuHomePhabricator

Figure out how to handle entity deletions in usage tracking
Closed, InvalidPublic

Description

In https://gerrit.wikimedia.org/r/#/c/243699/, Daniel said

Yesterday we realized that we should actually not drop usage tracking for deleted entities: we need the tracking entries so we know which pages to re-render when the entity is restored. This is analogous to the fact that we store red links in pagelinks.

Maybe they should get a different usage or modified usage so that these 'usages' can be filtered out when generating stats and so that people can find them.

We should figure out how we want to handle deletions...

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

aude raised the priority of this task from to Medium.
aude updated the task description. (Show Details)
aude subscribed.
daniel subscribed.

We decided quite a while ago that we would track entity usage regardless of whether the entity actually exists, just like the link table tracks links regardless of whether the page exists. So we don't need to do anything upon deletion.