Page MenuHomePhabricator

Improve qualifier suggestions using constraint definition (allowed qualifiers)
Closed, ResolvedPublic3 Estimated Story Points

Description

As a user I would like to get suggestions for qualifiers that are valid in that context, so I can easily chose the right qualifier property.

GIVEN I am on a property page.
WHEN I add a property 'property constraint' (P2302)
AND I add a qualifier
THEN I would like to see 'allowed qualifiers' or ' mandatory qualifier' suggested.

Tasks:

Query for all properties that have a allowed qualifiers constraint definition
http://tinyurl.com/y8sgn4j9

Event Timeline

Jonas triaged this task as Medium priority.Aug 6 2018, 8:04 AM
Jonas created this task.
WMDE-leszek set the point value for this task to 3.Aug 21 2018, 1:43 PM
WMDE-leszek subscribed.

This is basically another consumer for search suggester hook, that takes two constraint definitions, and returns items defined in these defintions.
Entity suggester has to made aware of its context (is it a qualifier, or main snak).

Change 455168 had a related patch set uploaded (by Jonas Kress (WMDE); owner: Jonas Kress (WMDE)):
[mediawiki/extensions/WikibaseQualityConstraints@master] Introduce qualifier suggestions using allowed qualifiers

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

Jonas renamed this task from Improve qualifier suggestions using constraint definition (allowed qualifiers, mandatory qualifier) to Improve qualifier suggestions using constraint definition (allowed qualifiers).Aug 27 2018, 9:54 AM
Jonas updated the task description. (Show Details)

Change 455168 merged by jenkins-bot:
[mediawiki/extensions/WikibaseQualityConstraints@master] Introduce qualifier suggestions using allowed qualifiers

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