Page MenuHomePhabricator

Set up monitoring for display:none on media files in the Attribution API
Closed, InvalidPublic

Description

Description

Media File metadata is structured through templates on Commons. The resulting data is used for a variety of use cases, meaning that the data is not always reliably clean. Specifically, we have noticed an issue where the "display:none" property results in duplicate values returned through the Attribution API. We need to understand how severe of a problem this is, so that we can either work directly with the community to update templates and improve existing data, or figure out an alternative solution.

Conditions of acceptance

  • Monitor how many requests result with HTML elements with display:none
    • Log which pages they are appearing on so that we can work with the community on resolution (or possibly even create a tool that makes it easy to fix them :D )

Event Timeline

Should be fully (or at least sufficiently) resolved here: https://phabricator.wikimedia.org/T420780

Monitoring for this specific scenario is no longer required.