wbsearchentities currently has special handling for the case where the search term is an entity ID, and the respective entity exists. This code can be found in EntitySearchHelper::getExactMatchForEntityId(). It currently relies on EntityTitleLookup and Title::exists, which will fail for foreign IDs. It should be changed to use EntityLookup::hasEntity, which will work for foreign IDs.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
EntitySearchHelper can find entities in foreign repositories | mediawiki/extensions/Wikibase | master | +136 -77 |
Event Timeline
Comment Actions
Change 337013 had a related patch set uploaded (by Aleksey Bekh-Ivanov (WMDE)):
EntitySearchHelper can find entities in foreign repositories
Comment Actions
Change 337013 merged by jenkins-bot:
EntitySearchHelper can find entities in foreign repositories