Page MenuHomePhabricator

Use usage tracking mechanism to track foreign entity references
Open, LowPublic


When an entity on another repo is referenced by using a non-local EntityId in an EntityIdValue (or using a property defined on another repo in a statement), we should track this via the usage tracking mechanism we are already using on the client wikis.

This requires two changes:

  1. per-repo usage tracking
  2. usage tracking on a repo

Number (2) can be ignored if we assume that in order to use foreign entities from a given repo, the local repo must be a client of that other repo. That seems to be a reasonable requirement, and may help to avoid confusion.

Related Objects

Event Timeline

I don't say we should make use of this, but we might at least want to consider potential overlaps with T142093.

daniel lowered the priority of this task from High to Low.Oct 31 2016, 4:15 PM

Pushing this to low right now. It's an important feature, but not urgent.

Note that we currently don't even have puring of item pages when the label of referenced entities change. The only tracking of entity usage on entity pages is via the pagelinks table.

WMDE-leszek renamed this task from Use usage tracking mecahnism to track foreign entity references to Use usage tracking mechanism to track foreign entity references.Nov 8 2016, 9:06 AM
daniel moved this task from Revisit to Project on the User-Daniel board.