Page MenuHomePhabricator

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

Description

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

StatusAssignedTask
Declineddchen
OpenNone
OpenNone
DuplicateNone
OpenNone
ResolvedAbit
DuplicateNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
StalledNone
ResolvedLydia_Pintscher
ResolvedLydia_Pintscher
ResolvedLydia_Pintscher
OpenNone

Event Timeline

daniel created this task.Oct 26 2016, 4:20 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 26 2016, 4:20 PM
hoo added a subscriber: hoo.Oct 26 2016, 5:11 PM

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 Inbox to Revisit on the User-Daniel board.Jan 5 2017, 6:58 PM
daniel moved this task from Revisit to Project on the User-Daniel board.