Page MenuHomePhabricator

If a MediaInfo items depicts something that has its own 'depicts' statements, add those to the search index too
Open, HighPublic

Description

If a MediaInfo items depicts something that has its own 'depicts' statements, add those to the search index too

For example - an photo of the Mona Lisa might have 'depicts'='Q12418' (the mona lisa), and no other depicts statements. The item for the Mona Lisa, however, itself has depicts statements.

https://query.wikidata.org/#SELECT%20%3Fitem%20%3FitemLabel%20%3Fqualifier%20%3Fqualifiee%20%3FqualifieeLabel%20WHERE%20%7B%0A%20%20%20wd%3AQ12418%20p%3AP180%20%3Fstatement%20.%0A%20%20%20%3Fstatement%20ps%3AP180%20%3Fitem%20.%20%0A%20%20%20OPTIONAL%7B%20%3Fstatement%20%3Fqualifier%20%3Fqualifiee%20.%20%3Fx%20wikibase%3Aqualifier%20%3Fqualifier%20%7D%20.%0A%20%20%20SERVICE%20wikibase%3Alabel%20%7B%0A%20%20%20%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22%20.%0A%20%20%20%7D%0A%20%7D%0A

Add those statements to the search index for the MediaInfo item

Related Objects

Event Timeline

Cparle triaged this task as High priority.Jul 10 2018, 4:01 PM
Cparle created this task.
Restricted Application added a project: Wikidata. · View Herald TranscriptJul 10 2018, 4:01 PM

Change 451028 had a related patch set uploaded (by Cparle; owner: Cparle):
[mediawiki/extensions/WikibaseMediaInfo@master] Add related statements to search index

https://gerrit.wikimedia.org/r/451028

Aklapper changed the edit policy from "Custom Policy" to "All Users".Sep 17 2018, 5:50 PM
Aklapper changed Risk Rating from N/A to default.
Addshore moved this task from incoming to monitoring on the Wikidata board.Sep 19 2018, 7:07 AM
Ramsey-WMF moved this task from Untriaged to Next up on the Multimedia board.Mar 8 2019, 4:24 PM
Cparle added a comment.May 9 2019, 5:00 PM

@Ramsey-WMF moving out of current work, because we're not currently working on it

Also pointing to T223815: Structured data on Commons search federated inheritance which, in my understanding, asks for the same functionality applied to the property Digital representation of (P6243)

Restricted Application added a project: Multimedia. · View Herald TranscriptAug 10 2019, 11:54 PM