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:
- 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.
- 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.
- [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.