With T286916, T286917, and T287249 done wbsearchentities finds the expected results, but does not show the right concepturi.
Example output from my local machine that shows a local property result with the concept URI that is defined for my federated property entity source:
{ "searchinfo": { "search": "i'm a" }, "search": [ { "id": "P14", "title": "Property:P14", "pageid": 73, "url": "http://default.web.mw.localhost:8080/mediawiki/index.php?title=Property:P14", "datatype": "url", "concepturi": "http://wikidata.beta.wmflabs.org/entity/P14", "label": "i'm a local prop", "match": { "type": "label", "language": "en", "text": "i'm a local prop" } } ], "success": 1 }
ConceptUriSearchHelper::getConceptBaseUri looks suspicious and should probably use EntitySourceLookup instead of entitySourceDefinitions->getSourceForEntityType().