Page MenuHomePhabricator

Issues with Commons Attribution
Closed, DeclinedPublic

Description

Description

Although the attribution endpoint works on commons, it is not behaving exactly as expected. Below is a list of small issues that should be investigated and addressed.

There are two specific issues identified, as well as a third that is up for debate:

  1. Remove trust_and_relevance.contributor_count from returning on media files. Although there can technically be multiple contributors per file, contributor count should only be returned for articles.
  2. Commons shows as a "wikipedia" project family. Technically "Commons" is not a Wikipedia; it is its own thing. I'm not sure what the history is behind categorizing it as a Wikipedia project, but we should confirm whether it is still the desired behavior, and either implement an override for attribution purposes or change the classification if not.
  3. [Debatable] The actual file name is sometimes overly verbose or confusing. In cases where there is a short title listed in the metadata, that may be preferred.

Event Timeline

aaron triaged this task as High priority.Feb 20 2026, 6:04 AM

Declining my own ticket because my ideas were bad :)

Notes from grooming discussions:

  1. Is covered by another project.
  2. Would be a bigger change, that will require a lot of discussion across other teams. This is being set across the foundation and would likely be disruptive if we just changed it. The other option is we override it on our responses explicitly, but then it doesn't match what is in meta, for example, which is also less than desireable. I think it's tech debt that we can just live with for the time being.
  3. Probably also more confusing than it's worth/not that important/something we can add later. If we decide to pick up this aspect, we can spin up a new ticket.