connorshea created this task. connorshea added projects: Wikidata, Wikibase-Quality-Constraints.
TASK DESCRIPTION We'd like to be able to apply constraints to specific item classes, rather than to all items using a given property. The reason for this is that there are distinct usages of the same properties across different classes of items. For example, "personal computer" is a valid platform for some types of //software//, but is _not_ valid for a //video game// (where video games would support specific platforms like Windows, macOS, Linux, PlayStation, etc.). So we want a constraint to disallow "personal computer" as a value for https://www.wikidata.org/wiki/Property:P400, but only on items that are instances of "video game". This should probably support both inclusion (only enforce this constraint for items of class X) and exclusion (enforce this constraint for all items other than those of class Y). That should maybe be two separate tasks, though. TASK DETAIL https://phabricator.wikimedia.org/T312826 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: connorshea Cc: Lea_Lacroix_WMDE, Lydia_Pintscher, Lucas_Werkmeister_WMDE, Aklapper, Esc3300, Eihel, Lectrician1, Jony, connorshea, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Agabi10, Scott_WUaS, abian, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org