Page MenuHomePhabricator

Show labels for properties on Wikipedia's 'Wikidata entities used in this page' summaries
Open, Needs TriagePublic

Description

When editing Wikipedia (and other Wikimedia projects) pages, at the bottom of the page (below the edit window) is a number of dropdowns containing metadata about the content of the page (such as declarations and links of Templates and Modules that have been invoked in the content).

One of these dropdowns is 'Wikidata entities used in this page' and lists at a granular detail what parts or elements of a Wikidata Item or Property are being transcluded or used in the page's content.

Example:
On EN-Wikipedia/The_Snow_Queen

Wikidata entities used in this page:
The Snow Queen: Title, Description: en, Statement: P18, Sitelink

From this we can see that the connected Item's label (title), english description, the sitelink and its P18 property value are used.
I propose resolving the property ID into its label, retaining the ID in (parentheses) so the editor has more clarity on what parts of a Wikidata entity are being used, and what the content type is, which they cannot know unless they are very familiar with Wikidata, or know how to platform switch and find the relevant Property/Statement ID.
e.g.:
The Snow Queen: Title, Description: en, Statement: Image (P18), Sitelink

This task was inspired by a Wikidata Project Chat discussion

Acceptance criteria

  • Labels are shown in Wikipedia and Wikimedia projects edit mode for Wikidata entities (properties), the same as how they are currently shown in Wikidata watchlist
  • Labels are displayed in client wiki language (when available), or a MUL label, or the fallback language.

Related Objects

Mentioned Here
P18 my paste!

Event Timeline

Labels are displayed in client wiki language (when available), or a MUL label, or the fallback language.

I would expect this to be the current interface language, like it currently is, not the client wiki's language.

e.g. https://fa.wikipedia.org/w/index.php?title=%D9%85%D9%84%DA%A9%D9%87_%D8%A8%D8%B1%D9%81%DB%8C_(%D8%B1%D9%85%D8%A7%D9%86)&action=info&uselang=en currently looks like this:

Bildschirmfoto_2026-01-20_07-07-02.png (194×728 px, 15 KB)

and https://en.wikipedia.org/w/index.php?title=The_Snow_Queen_(Kernaghan_novel)&action=info&uselang=fa&safemode=1 currently looks like this:

Bildschirmfoto_2026-01-20_07-11-23.png (164×811 px, 14 KB)

(safemode needed to disable the English Wikipedia's bad default styles)