On Wikidata,**Problem:**
It is possible to restrict a Property to be used only on certain entity types. Currently we only support Item, Property and Lexeme for this. please add support for [[https://www.wikidata.org/wiki/Q59712033|We should add MediaInfo]] as scope forwell.
See also [[https://www.wikidata.org/wiki/Help:Property_constraints_portal/Allowed_entity_types|allowed entity types documentation]].
S**Examples:**
Sample use on [[https://www.wikidata.org/wiki/Property:P6731|"Commons quality assessment (P6731)]] meaning the property should only be used on MediaInfo entities (or no entities currently on Wikidata itself).
It's already supported by the constraint reports (Krbot)**BDD**
GIVEN a property with a constraint for allowed entity types
AND the scope is restricted to MediaInfo
WHEN this property is used on an Item, Property or Lexeme
THEN a constraint violation is shown
**Note:**
Constraint checks are not run on MediaInfo entities at this point but with this we can at least discourage Commons-only properties from being used on Wikidata.