Page MenuHomePhabricator

[Tracking] Track descriptions usages separately (Create a new description usage aspect "D")
Closed, ResolvedPublic

Description

Descriptions can currently only be accessed directly via the Entity data structure, as obtained via [[ https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua#mw.wikibase.getEntity | mw.wikibase.getEntity ]]. This means they are tracked using the X or O aspect for now; given we will track which part of the Entity data structure is actually used (T90436), we we should track description usage separately, using a new D aspect.

Steps to get this rolled out:

  • Create the usage aspect
  • Add 'D' to $wgWBClientSettings['disabledUsageAspects'] (T177153)
  • Make mw.wikibase.description and mw.wikibase.getDescriptionWithLang add a description usage along with the other usage (T177154)
  • Deploy description usage tracking for Lua (513f79bf94a560d3baa736e12d06eba55165ff1a)
  • Remove 'D' from $wgWBClientSettings['disabledUsageAspects'] test-wise on a few wikis (all small wikis, elwiki, …) (T177155)
  • Evaluate data from T177155
  • Remove 'D' from $wgWBClientSettings['disabledUsageAspects'] on a few more wikis (T178515)
  • Remove 'D' from $wgWBClientSettings['disabledUsageAspects'] on ruwiki
  • Remove 'D' from $wgWBClientSettings['disabledUsageAspects'] on all wikis (except commons)
  • Remove 'D' from $wgWBClientSettings['disabledUsageAspects'] on commons (this might be the wiki where this has the biggest effect)
  • Use compact representation of diffs in EntityChange. (T113468)
  • Make AffectedPagesFinder take description usage into account (T176417)
  • No longer save other usage along

Related Objects

Event Timeline

hoo raised the priority of this task from to Medium.
hoo updated the task description. (Show Details)
hoo added subscribers: Bianjiang, Candalua, aude and 20 others.
JanZerebecki renamed this task from Track descriptions usages separately to [Task] Track descriptions usages separately.Sep 10 2015, 7:52 PM
JanZerebecki set Security to None.
JanZerebecki moved this task from incoming to ready to go on the Wikidata board.
hoo renamed this task from [Task] Track descriptions usages separately to [Task] Track descriptions usages separately (Create a new description usage aspect "D").Aug 13 2017, 3:26 PM
hoo updated the task description. (Show Details)
hoo added a subscriber: eranroz.

Change 381140 had a related patch set uploaded (by Hoo man; owner: Hoo man):
[mediawiki/extensions/Wikibase@master] Add EntityUsage::DESCRIPTION_USAGE for descriptions

https://gerrit.wikimedia.org/r/381140

Change 381140 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Add EntityUsage::DESCRIPTION_USAGE for descriptions

https://gerrit.wikimedia.org/r/381140

We finally have our first descriptions usages at nowiki (caused by https://no.wikipedia.org/wiki/Modul:Wikibase_signature, invoked by https://no.wikipedia.org/w/index.php?title=Mal:Wikidata_egenskapslenke&action=edit)! The description is used there to add additional context to a link's title attribute.

thiemowmde renamed this task from [Task] Track descriptions usages separately (Create a new description usage aspect "D") to [Tracking] Track descriptions usages separately (Create a new description usage aspect "D").Oct 26 2017, 2:40 PM

@hoo Ok if Amir goes ahead and makes the remaining changes in the description?

Change 395584 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[operations/mediawiki-config@master] Enable description usage tracking for all wikis except commons

https://gerrit.wikimedia.org/r/395584

Change 395584 merged by jenkins-bot:
[operations/mediawiki-config@master] Enable description usage tracking for all wikis except commons

https://gerrit.wikimedia.org/r/395584

Mentioned in SAL (#wikimedia-operations) [2017-12-06T00:36:24Z] <thcipriani@tin> Synchronized wmf-config/InitialiseSettings.php: SWAT: [[gerrit:395584|Enable description usage tracking for all wikis except commons]] T106287 (duration: 00m 48s)

Change 396090 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[operations/mediawiki-config@master] Start description usage tracking for commonswiki

https://gerrit.wikimedia.org/r/396090

Change 396090 merged by jenkins-bot:
[operations/mediawiki-config@master] Start description usage tracking for commonswiki

https://gerrit.wikimedia.org/r/396090

Mentioned in SAL (#wikimedia-operations) [2017-12-07T19:35:00Z] <thcipriani@tin> Synchronized wmf-config/InitialiseSettings.php: SWAT: [[gerrit:396090|Start description usage tracking for commonswiki]] T106287 (duration: 00m 48s)

Ladsgroup updated the task description. (Show Details)
Ladsgroup removed a project: Patch-For-Review.