Page MenuHomePhabricator

Entity suggestions not showing all items defined in that property constraint
Closed, ResolvedPublic8 Estimated Story Points

Description

As a Wikidata editor when I want to add a value for a property that has the data type item (e.g. property constraint P2302), I want the entity suggester analog to show me all the options for items defined in that property constraint.

Problem:
As described at Help:Property constraints portal/Entity suggestions from constraint definitions, this does not work in some cases. The analog is not all the time showing suggestions for all the items that have been defined in that constraint.

Example:
Clicking edit on Q306527#P6720 only suggests the formatter URL, end, and start time, not others from allowed qualifier constraint on Property:P6720#P2302.

Screenshots/mockups:

Acceptance criteria:

  • All of the items defined in a constraint are suggested by the entity selector.

Previous discussion:
See discussion on https://www.wikidata.org/w/index.php?title=Wikidata:Contact_the_development_team&oldid=1404799286#Entity_suggestions_from_allowed_qualifiers_constraint

Event Timeline

Change 692357 had a related patch set uploaded (by Itamar Givon; author: Itamar Givon):

[mediawiki/extensions/WikibaseQualityConstraints@master] Fix configuration name typo

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

Change 692357 merged by jenkins-bot:

[mediawiki/extensions/WikibaseQualityConstraints@master] Fix configuration name typo

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

I tested on Sandox. However, only the formatter URL, end time, and start time are returned.

The fix will only be deployed to the wikis next week.