Page MenuHomePhabricator

[WIPR] Connect WikiProjects in the Tools section on relevant Item pages using "instance of" statements
Closed, ResolvedPublic

Description

As a wikidata editor I want to know if an Item is related to a wikiproject so that I can connect with other editors who share a common interest.

Using relevant "instance of" statements on Items on Wikidata we will link to:

We will link to Wikiproject sum of all paintings for Items that use the following instance of statements:
instance of (P31)

We will link to WikiProject elections for Items that use the following instance of statements:
instance of (P31)

The link should be displayed in the tools section following the design

Note: there is concern that this will impact the rendering time of all Item pages, so we will need to track the impact of the changes

Acceptance Criteria

  • On Wikidata, Items that have statements that have the relevant "instance of" statements to display a link to the respective WikiProject following the default of same-window navigation
  • This link is included in the tools section of the Item page, following the design. Making sure to be enabled under a "feature-flag".
  • Items that do not have any statements that use any of the relevant properties should show no WikiProject section or link
  • All links are tracked using T421856
  • Monitor rendering time before and after implementation

Event Timeline

Arian_Bozorg renamed this task from [WIPR] Connect WikiProjects Elections and Sum of all Paintings in the Tools section on relevant Item pages to [WIPR] Connect WikiProjects in the Tools section on relevant Item pages using "instance of" statements.Apr 10 2026, 12:58 PM
Arian_Bozorg updated the task description. (Show Details)

@Arian_Bozorg to update the list of subclasses to be included for WikiProject Sum of All Paintings using: https://w.wiki/LCEZ

Change #1298784 had a related patch set uploaded (by Sadiya.mohammed13; author: Sadiya.mohammed13):

[mediawiki/extensions/Wikibase@master] Connect WikiProjects in the Tools section on relevant Item pages using "instance of" statements

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

Change #1299943 had a related patch set uploaded (by Sadiya.mohammed13; author: Sadiya.mohammed13):

[operations/mediawiki-config@master] Add instance-of WikiProject links for paintings and elections

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

Change #1298784 abandoned by Sadiya.mohammed13:

[mediawiki/extensions/Wikibase@master] Connect WikiProjects in the Tools section on relevant Item pages using "instance of" statements

Reason:

wrong changes an dcreated a new commit for the ticket

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

Change #1299943 merged by jenkins-bot:

[operations/mediawiki-config@master] Add instance-of WikiProject links for paintings and elections

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

Mentioned in SAL (#wikimedia-operations) [2026-06-17T13:24:57Z] <lucaswerkmeister-wmde@deploy1003> Started scap sync-world: Backport for [[gerrit:1298293|Add Wikidata configuration for WikiProject links (T422935)]], [[gerrit:1299943|Add instance-of WikiProject links for paintings and elections (T422936)]]

Mentioned in SAL (#wikimedia-operations) [2026-06-17T13:26:57Z] <lucaswerkmeister-wmde@deploy1003> sadiyamohammed13, lucaswerkmeister-wmde: Backport for [[gerrit:1298293|Add Wikidata configuration for WikiProject links (T422935)]], [[gerrit:1299943|Add instance-of WikiProject links for paintings and elections (T422936)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-06-17T13:33:11Z] <lucaswerkmeister-wmde@deploy1003> Finished scap sync-world: Backport for [[gerrit:1298293|Add Wikidata configuration for WikiProject links (T422935)]], [[gerrit:1299943|Add instance-of WikiProject links for paintings and elections (T422936)]] (duration: 08m 14s)

Change #1303436 had a related patch set uploaded (by Audrey Penven; author: Audrey Penven):

[operations/mediawiki-config@master] Add Wikidata configuration for WikiProject links

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

Change #1303436 merged by jenkins-bot:

[operations/mediawiki-config@master] Add Wikidata configuration for WikiProject links

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

Mentioned in SAL (#wikimedia-operations) [2026-06-17T14:18:49Z] <lucaswerkmeister-wmde@deploy1003> Started scap sync-world: Backport for [[gerrit:1303436|Add Wikidata configuration for WikiProject links (T422935 T422936)]]

Mentioned in SAL (#wikimedia-operations) [2026-06-17T14:20:47Z] <lucaswerkmeister-wmde@deploy1003> audreypenven, lucaswerkmeister-wmde: Backport for [[gerrit:1303436|Add Wikidata configuration for WikiProject links (T422935 T422936)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-06-17T14:26:38Z] <lucaswerkmeister-wmde@deploy1003> Finished scap sync-world: Backport for [[gerrit:1303436|Add Wikidata configuration for WikiProject links (T422935 T422936)]] (duration: 07m 49s)