Page MenuHomePhabricator

Make wbsearchentities work with search by PID
Closed, ResolvedPublic5 Estimated Story Points

Description

As an editor on a Wikibase with federated properties enabled, I want to be able to search for both local and remote properties by label so that I can add statements to local entities.

For this story, we would ignore any UI styling concerns (e.g. how federated vs local properties are displayed in results). At this stage, we will not consider concept URIs as input from users.

BDD
GIVEN I have a local Property P31
AND my Wikibase is connected to a remote Wikibase with a Property P31
WHEN I use P31 as the search term for wbsearchentities
THEN I get a response containing the local Property P31 and the Federated Property "instance of"

Open question:
What makes most sense to an API user -- search by PID or concept URI for the remote property?

Event Timeline

Addshore claimed this task.