Wikidata:Property proposal/property constraint for Commons

From Wikidata
Jump to navigation Jump to search

property constraint for Commons[edit]

Originally proposed at Wikidata:Property proposal/Commons

   Not done
Descriptionconstraint applicable to this Wikidata property when used on Wikimedia Commons
Data typeItem
DomainWikidata property (Q18616576)
Allowed valuesproperty constraint (Q21502402)
Example 1reference URL (P854)property scope constraint (Q53869507), qualifier: property scope (P5314) as main value (Q54828448)
Example 2MISSING
Example 3MISSING
Planned usefor properties used on Commons and Wikidata: use when Wikidata's constraints aren't suitable for Commons
See also

Motivation[edit]

The recent addition of qualifiers at depicts (P180) suggests that we shouldn't combine all of them in P2302. Commons could obviously use P2302 if nothing is defined with this property (Add your motivation for this property here.) --- Jura 09:38, 22 June 2020 (UTC)[reply]

Lucas Werkmeister (WMDE)
Jarekt - mostly interested in properties related to Commons
MisterSynergy
John Samuel
Sannita
Yair rand
Jon Harald Søby
Pasleim
Jura
PKM
ChristianKl
Sjoerddebruin
Fralambert
Manu1400
Was a bee
Malore
Ivanhercaz
Peter F. Patel-Schneider
Pizza1016
Ogoorcs
ZI Jony
Eihel
cdo256
Epìdosis
Dhx1
99of9
Mathieu Kappler
Lectrician1
SM5POR
Infrastruktur

Notified participants of WikiProject property constraints --- Jura 09:38, 22 June 2020 (UTC)[reply]

Discussion[edit]

  •  Question I agree that commons might have slightly altered constraints from Wikidata, so some constraints are Commons-only some are Wikidata-only and most by default apply to both. So maybe we can have a qualifier to narrow down constraint's scope. We could call it "property constraint scope" and only allow Wikidata (Q2013) and Wikimedia Commons (Q565) values. --Jarekt (talk) 15:24, 22 June 2020 (UTC)[reply]
    • Could be a solution, but it would require to redo all Wikidata tools. Commons still needs to work on this and they could easily read this if present instead of P2302. --- Jura 16:04, 22 June 2020 (UTC)[reply]
At least for WikibaseQualityConstraints, I estimate that reading constraints from a new property will require more work than a kind of “scope” qualifier. (Note that constraint scope (P4680) already exists and could be generalized to support this notion, though I’m not yet sure if that would be a good or bad idea.) --Lucas Werkmeister (WMDE) (talk) 17:45, 22 June 2020 (UTC)[reply]