OpenRefine / OpenRefine/OpenRefine

Inadequate Wikibase constraint checks for MediaInfo entities

Open
#5,331 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Bug wikibase wikicommons
Dominant language
Java
Stars
12k
Forks
2.2k
Avg merge
1d 14h
Merged PRs (30d)
27

Description

I when updating the Wikimedia Commons manifest I have added the constraint ids from the Wikidata manifest.
This generates irrelevant issues on Wikimedia Commons.

To Reproduce

Steps to reproduce the behavior:
Create a Wikibase schema on Commons adding depicts statements to files.

Current Results

Irrelevant constraint violations:

  • "depicts (P180) added on items" -> this is wrong, we are adding it on media
  • "depicts (P180) used as statements" -> this should not be reported as an issue
  • depicts (P180) requires statement" -> I suspect this is also wrong
Expected Behavior

no such constraint violations

Screenshots

image

Versions
  • OpenRefine: 3.7-SNAPSHOT

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by reproducing it with a Wikibase schema on Wikimedia Commons containing depicts statements, then trace the constraint-checking path for MediaInfo entities. Done means the three listed constraint violations are no longer reported.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.