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 created this task.Oct 7 2015, 11:39 AM
aude raised the priority of this task from to Normal.
aude updated the task description. (Show Details)
aude added a subscriber: aude.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 7 2015, 11:39 AM
daniel closed this task as Invalid.Nov 27 2016, 12:50 PM
daniel added a subscriber: daniel.

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.