* create GetLatestItemRevisionMetadata class with an `execute( ItemId $id ): array` method returning the revision id and last modified timestamp
* throws redirect use case exception on redirect
* throws item not found use case exception if the item does not exist
Straightforward GET use cases:
- [x] GetItem/ - https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/923256
- [x] GetItemAliases/ https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/923329
- [ ] GetItemAliasesInLanguage/ - @Muhammad_Yasser_Jazirahly_WMDE
- [ ] GetItemDescription/
- [ ] GetItemDescriptions/
- [ ] GetItemLabel/
- [ ] GetItemLabels/
- [ ] GetItemStatements/
"Special" GET use cases:
- [x] GetItemStatement/ - https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/923374
Edit use cases:
- [x] AddItemStatement/ - https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/923299
- [ ] PatchItemLabels/ https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/923561
- [ ] SetItemDescription/ https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/923600
- [ ] SetItemLabel/ @Silvan_WMDE
"Special" edit use cases:
- [ ] PatchItemStatement/ - @Jakob_WMDE
- [ ] RemoveItemStatement/
- [ ] ReplaceItemStatement/