Page MenuHomePhabricator

Enable users to actually edit structured data for relevant files through this tool
Open, Needs TriagePublic

Description

When a user approves one or more suggested labels and clicks the "publish" button for a given image, a "depicts" statement with the appropriate value should be added to the file in question.

Getting this working is going to require some kind of Wikidata Federation enabled, since the suggestions returned by the API will correspond to entities in Wikidata (not in a local Wikibase instance).

Event Timeline

egardner created this task.Sep 3 2019, 5:03 PM
Restricted Application added a project: Structured-Data-Backlog. · View Herald TranscriptSep 3 2019, 5:03 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

PHP support for this is added by https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/MachineVision/+/533978/. On the JS side, this will just be a matter of calling the MW API action=reviewimagelabels with the user's votes.