Page MenuHomePhabricator

Create a service that is an EntityExistenceChecker
Closed, ResolvedPublic

Description

This new service should likely have a method like isDeleted( EntityId $entityId )

  • One implementation would use an EntityTitleLookup and the $title->isKnown() method
  • Another implementation would use the new wbgetentities service (implemented in T251237)

Event Timeline

Samantha_Alipio_WMDE renamed this task from Create a service that is an EntityExistanceChecker to Create a service that is an EntityExistenceChecker.May 4 2020, 10:05 AM

Change 594196 had a related patch set uploaded (by Jakob; owner: Jakob):
[mediawiki/extensions/Wikibase@master] Add EntityExistenceChecker

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

Change 594196 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Add EntityExistenceChecker

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

Change 594427 had a related patch set uploaded (by Jakob; owner: Jakob):
[mediawiki/extensions/Wikibase@master] Add TypeDispatchingExistenceChecker

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

Change 594427 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Add TypeDispatchingExistenceChecker

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

Change 596159 had a related patch set uploaded (by Jakob; owner: Jakob):
[mediawiki/extensions/Wikibase@master] FP: Add ApiEntityExistenceChecker

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

Change 596159 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] FP: Add ApiEntityExistenceChecker

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

Samantha_Alipio_WMDE closed this task as Resolved.May 28 2020, 2:24 PM