wmde/WikibaseDataModel

Add indexer for statements based on GUID

Closed this issue · 2 comments

There is no non-deprecated way to look up statements in a list by guid. Adding this will help with removing Claims #157.

We need replacements for

  • bool hasClaimWithGuid( $claimGuid )
  • Claim|null getClaimWithGuid( $claimGuid )
  • function removeClaimWithGuid( $claimGuid )

Started work on this in #419