We've identified a need for error messaging for the following API modules when trying to interact with properties.
The error message should be consistent across all of endpoints and should say something like "You can not interact with properties using this API while federated properties is enabled"
Get API modules that can interact with properties
- wbgetentities (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/620697)
- When requesting a federated Property through wbgetentities, it currently claims that the Property is missing, see e.g. https://wikidata-federated-properties.wmflabs.org/w/api.php?action=wbgetentities&format=json&ids=P1
Edit API modules that interact with properties :
- wbcreateclaim (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/620326)
- When trying to create a claim on a property
- wbeditentity (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/620373)
- When trying to edit a property
- When trying to create a property
- wbremoveclaims (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/620374)
- When trying to remove a statement from a property
- wbremovequalifiers (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/620650)
- When trying to remove a qualifier from a statement that is on a property
- wbremovereferences (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/620686)
- When trying to remove a reference from a statement that is on a property
- wbsetreference (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/620687)
- When trying to set a reference from a statement that is on a property
- wbsetaliases (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/620373)
- When trying to interact with aliases on a property
- wbsetdescription (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/620373)
- When trying to interact with descriptions on a property
- wbsetlabel (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/620373)
- When trying to interact with labels on a property
- wbsetclaim (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/620690)
- When trying to interact with a statement from a property
- wbsetclaimvalue (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/620690)
- When trying to interact with a statement from a property
- wbsetqualifier (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/620695)
- When trying to interact with a qualifier on a statement from a property
Initial Estimation
- For the errors that appear for APIs that must not work with federated properties (API modules that interact with properties): 8