jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/399825 )

Change subject: Don’t check constraints on example properties
......................................................................


Don’t check constraints on example properties

For the properties “Wikidata property example” and “Wikidata property
example for properties”, it doesn’t make sense to check constraints on
qualifiers of statements of that properties, since the object of the
statement is actually the subject of a virtual example statement, and
the snak of that virtual example statement is actually a qualifier of
the statement. This reshuffling of roles in the datamodel results in
constraint violations for most properties, and it’s pointless to report
them to users.

Bug: T183267
Change-Id: Ica42f7d125d803b6d4a49711794d5626e48e5aef
Depends-On: If068c786779122d4f5ff158c9ac8a9a6e6610535
---
M wmf-config/Wikibase-production.php
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wmf-config/Wikibase-production.php 
b/wmf-config/Wikibase-production.php
index d48a4fd..65fe6d0 100644
--- a/wmf-config/Wikibase-production.php
+++ b/wmf-config/Wikibase-production.php
@@ -140,6 +140,7 @@
                $wgWBQualityConstraintsSparqlEndpoint = 
$wgWBRepoSettings['sparqlEndpoint'];
                $wgWBQualityConstraintsSparqlMaxMillis = 5000; // limit SPARQL 
queries to just 5 seconds for now
                $wgWBQualityConstraintsTypeCheckMaxEntities = 10; // only check 
few entities in PHP => fall back to SPARQL very quickly
+               $wgWBQualityConstraintsPropertiesWithViolatingQualifiers = [ 
'P1855', 'P2271' ]; // T183267
                // T148411: Use profile that uses statement boosting by default 
to boost/unboost specific types
                
$wgWBRepoSettings['entitySearch']['defaultPrefixRescoreProfile'] = 
'wikibase_prefix_boost';
                $wgWBRepoSettings['entitySearch']['statementBoost'] = [

-- 
To view, visit https://gerrit.wikimedia.org/r/399825
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ica42f7d125d803b6d4a49711794d5626e48e5aef
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Lucas Werkmeister (WMDE) <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: Jonas Kress (WMDE) <[email protected]>
Gerrit-Reviewer: Lucas Werkmeister (WMDE) <[email protected]>
Gerrit-Reviewer: Thiemo Kreuz (WMDE) <[email protected]>
Gerrit-Reviewer: Urbanecm <[email protected]>
Gerrit-Reviewer: Zoranzoki21 <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to