Page MenuHomePhabricator

MediaInfoIdLookup::getEntityIds should omit entities it can't find
Closed, ResolvedPublic

Description

Current implementation might return an array with null values, but that's in violation with the interface's documentation, which states that "Implementations may omit non-existing entities from the result. If they are included, they should have negative array keys."

Event Timeline

Change 563105 had a related patch set uploaded (by Matthias Mullie; owner: Matthias Mullie):
[mediawiki/extensions/WikibaseMediaInfo@master] Omit entities that could not be found

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

Change 563105 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Omit entities that could not be found

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