Skip to content

Instantly share code, notes, and snippets.

@thisismattmiller
Created April 26, 2024 02:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thisismattmiller/30e608a2cde9af102f07174efbfa28e4 to your computer and use it in GitHub Desktop.
Save thisismattmiller/30e608a2cde9af102f07174efbfa28e4 to your computer and use it in GitHub Desktop.
{
"load_composer_autoloader": true,
"name": "WikibaseQualityConstraints",
"author": [
"BP2014N1",
"Lucas Werkmeister"
],
"url": "https://www.mediawiki.org/wiki/Extension:WikibaseQualityConstraints",
"descriptionmsg": "wbqc-desc",
"version": "1.0.0",
"license-name": "GPL-2.0-or-later",
"type": "wikibase",
"requires": {
"MediaWiki": ">= 1.42"
},
"MessagesDirs": {
"WikibaseQualityConstraints": [
"i18n",
"i18n/api"
]
},
"ExtensionMessagesFiles": {
"WikibaseQualityConstraintsAlias": "WikibaseQualityConstraints.alias.php"
},
"ServiceWiringFiles": [
"src/ServiceWiring.php",
"src/ServiceWiring-ConstraintCheckers.php",
"src/ServiceWiring-Wikibase.php"
],
"Hooks": {
"LoadExtensionSchemaUpdates": "schema",
"WikibaseChangeNotification": "WikibaseQuality\\ConstraintReport\\WikibaseQualityConstraintsHooks::onWikibaseChange",
"ArticlePurge": "main",
"BeforePageDisplay": "main"
},
"HookHandlers": {
"main": {
"class": "WikibaseQuality\\ConstraintReport\\WikibaseQualityConstraintsHooks"
},
"schema": {
"class": "WikibaseQuality\\ConstraintReport\\WikibaseQualityConstraintsSchemaHooks"
}
},
"SpecialPages": {
"ConstraintReport": {
"class": "WikibaseQuality\\ConstraintReport\\Specials\\SpecialConstraintReport",
"factory": "WikibaseQuality\\ConstraintReport\\Specials\\SpecialConstraintReport::factory",
"services": [
"MainConfig",
"StatsdDataFactory",
"WikibaseRepo.EntityIdHtmlLinkFormatterFactory",
"WikibaseRepo.EntityIdLabelFormatterFactory",
"WikibaseRepo.EntityIdParser",
"WikibaseRepo.EntityTitleLookup",
"WikibaseRepo.LanguageFallbackChainFactory",
"WBQC_EntityLookup",
"WBQC_DelegatingConstraintChecker",
"WBQC_ViolationMessageRendererFactory"
]
}
},
"APIModules": {
"wbcheckconstraints": {
"class": "WikibaseQuality\\ConstraintReport\\Api\\CheckConstraints",
"factory": "WikibaseQuality\\ConstraintReport\\Api\\CheckConstraints::factory",
"services": [
"StatsdDataFactory",
"WikibaseRepo.ApiHelperFactory",
"WikibaseRepo.EntityIdLabelFormatterFactory",
"WikibaseRepo.EntityIdParser",
"WikibaseRepo.EntityTitleLookup",
"WikibaseRepo.LanguageFallbackChainFactory",
"WikibaseRepo.StatementGuidValidator",
"WBQC_ResultsSource",
"WBQC_ViolationMessageRendererFactory"
]
},
"wbcheckconstraintparameters": {
"class": "WikibaseQuality\\ConstraintReport\\Api\\CheckConstraintParameters",
"factory": "WikibaseQuality\\ConstraintReport\\Api\\CheckConstraintParameters::newFromGlobalState",
"services": [
"StatsdDataFactory",
"WikibaseRepo.ApiHelperFactory",
"WikibaseRepo.LanguageFallbackChainFactory",
"WikibaseRepo.StatementGuidParser",
"WBQC_DelegatingConstraintChecker",
"WBQC_ViolationMessageRendererFactory"
]
}
},
"Actions": {
"constraintsrdf": [
"WikibaseQuality\\ConstraintReport\\Api\\CheckConstraintsRdf",
"newFromGlobalState"
]
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "WikibaseQualityConstraints/modules"
},
"ResourceModules": {
"SpecialConstraintReportPage": {
"styles": "SpecialConstraintReportPage.less",
"dependencies": [
"oojs-ui-core.styles"
]
},
"wikibase.quality.constraints.icon": {
"class": "MediaWiki\\ResourceLoader\\ImageModule",
"selector": ".oo-ui-icon-{name}",
"images": {
"mandatory-constraint-violation": "icon/mandatory-constraint-violation.svg",
"non-mandatory-constraint-violation": "icon/non-mandatory-constraint-violation.svg",
"suggestion-constraint-violation": "icon/suggestion-constraint-violation.svg"
}
},
"wikibase.quality.constraints.ui": {
"dependencies": [
"oojs-ui-core",
"oojs-ui-widgets",
"jquery.makeCollapsible",
"wikibase"
],
"messages": [
"wbqc-issues-short",
"wbqc-issues-long",
"wbqc-potentialissues-short",
"wbqc-potentialissues-long",
"wbqc-suggestions-short",
"wbqc-suggestions-long",
"wbqc-badparameters-short",
"wbqc-badparameters-long",
"wbqc-parameterissues-short",
"wbqc-parameterissues-long",
"wbqc-constrainttypehelp-short",
"wbqc-constrainttypehelp-long",
"wbqc-constraintdiscuss-short",
"wbqc-constraintdiscuss-long",
"wbqc-cached-generic",
"wbqc-cached-minutes",
"wbqc-cached-hours",
"wbqc-cached-days"
],
"scripts": [
"ui/module.js",
"ui/ConstraintReportPanel.js",
"ui/ConstraintReportGroup.js",
"ui/ConstraintReportList.js"
],
"styles": [
"ui/ConstraintReportPanel.less",
"ui/ConstraintReportGroup.less"
]
},
"wikibase.quality.constraints.gadget": {
"scripts": "gadget.js",
"styles": "gadget.less",
"dependencies": [
"mediawiki.api",
"oojs-ui-core",
"oojs-ui-widgets",
"oojs-ui.styles.icons-alerts",
"wikibase.quality.constraints.icon",
"wikibase.quality.constraints.ui"
],
"skipFunction": "gadget-skip.js"
},
"wikibase.quality.constraints.suggestions": {
"packageFiles": [
"suggestions.js",
"suggestions/EntitySelectorHookHandlerFactory.js",
{
"name": "config.json",
"config": [
"WBQualityConstraintsPropertyConstraintId",
"WBQualityConstraintsOneOfConstraintId",
"WBQualityConstraintsAllowedQualifiersConstraintId",
"WBQualityConstraintsPropertyId",
"WBQualityConstraintsQualifierOfPropertyConstraintId"
]
}
],
"dependencies": [
"jquery.wikibase.entityselector"
]
}
},
"JobClasses": {
"constraintsTableUpdate": "WikibaseQuality\\ConstraintReport\\Job\\UpdateConstraintsTableJob::newFromGlobalState",
"constraintsRunCheck": "WikibaseQuality\\ConstraintReport\\Job\\CheckConstraintsJob"
},
"config": {
"WBQualityConstraintsTypeCheckMaxEntities": {
"value": 1000,
"description": "The maximum number of entities that are accessed when checking type or subtype relations.",
"public": true
},
"WBQualityConstraintsCheckDurationInfoSeconds": {
"value": 1.0,
"description": "The maximum time that a single constraint check should usually take, in seconds. Any constraint check that takes longer than this time is logged at ‘info’ level. Specifying `null` disables this logging.",
"public": true
},
"WBQualityConstraintsCheckDurationWarningSeconds": {
"value": 10.0,
"description": "The maximum time that a single constraint check should ever take, in seconds. Any constraint check that takes longer than this time is logged at ‘warning’ level. Specifying `null` disables this logging.",
"public": true
},
"WBQualityConstraintsCheckOnEntityDurationInfoSeconds": {
"value": 5.0,
"description": "The maximum time that a full constraint check on an entity should usually take, in seconds. Any entity constraint check that takes longer than this time is logged at ‘info’ level. Specifying `null` disables this logging.",
"public": true
},
"WBQualityConstraintsCheckOnEntityDurationWarningSeconds": {
"value": 55.0,
"description": "The maximum time that a full constraint check on an entity should ever take, in seconds. Any entity constraint check that takes longer than this time is logged at ‘warning’ level. Specifying `null` disables this logging.",
"public": true
},
"WBQualityConstraintsEnableConstraintsImportFromStatements": {
"value": true,
"description": "Whether to import property constraint statements into the constraint database or not.",
"public": true
},
"WBQualityConstraintsEnableConstraintsCheckJobs": {
"value": false,
"description": "Whether to automatically run constraint checks in jobs.",
"public": true
},
"WBQualityConstraintsEnableConstraintsCheckJobsRatio": {
"value": 0,
"description": "Percentage (0%-100%) of edits that trigger a constraint check",
"public": true
},
"WBQualityConstraintsCheckQualifiers": {
"value": true,
"description": "Whether to check constraints on qualifiers.",
"public": true
},
"WBQualityConstraintsCheckReferences": {
"value": true,
"description": "Whether to check constraints on references.",
"public": true
},
"WBQualityConstraintsSparqlEndpoint": {
"value": "https://query.semlab.io/proxy/wdqs/bigdata/namespace/wdq/sparql",
"description": "The URL of the SPARQL endpoint. Should accept the URL parameters 'query', 'format' and 'maxQueryTimeMillis'. Set to '' (empty string, default) to disable SPARQL functionality.",
"public": true
},
"WBQualityConstraintsSparqlMaxMillis": {
"value": 10000,
"description": "The maximum runtime for queries on the configured SPARQL endpoint, in milliseconds.",
"public": true
},
"WBQualityConstraintsSparqlThrottlingFallbackDuration": {
"value": 10,
"description": "The default duration in seconds, which prevents requests to the SPARQL endpoint, if the endpoint response with a 'try-later' (Responsecode 429). This field will only be used, if the endpoint sends a incorrect or incomplete response. The value must be a integer, which is greater than zero.",
"public": true
},
"WBQualityConstraintsSparqlTimeoutExceptionClasses": {
"value": [
"com.bigdata.bop.engine.QueryTimeoutException",
"java.util.concurrent.TimeoutException"
],
"description": "Strings that, when they occur inside an error response of the SPARQL endpoint, indicate that the error is a query timeout. On the Wikidata Query Service, these are fully qualified names of exception classes.",
"public": true
},
"WBQualityConstraintsSparqlHasWikibaseSupport": {
"value": false,
"description": "Whether the SPARQL endpoint has special Wikibase support, i. e. whether it is an installation of the Wikibase RDF Query server. If this is enabled, prefixes are not included in SPARQL queries, since the server already defines them by default (which reduces network traffic), and some queries include BlazeGraph-specific query hints. Otherwise, the queries should be suitable for any SPARQL server.",
"public": true
},
"WBQualityConstraintsCheckFormatConstraint": {
"value": true,
"description": "Whether or not to check the 'format' constraint. If this flag is set to false, any check of the 'format' constraint will return a 'todo' status with the 'wbqc-violation-message-security-reason' message.",
"public": true
},
"WBQualityConstraintsFormatCacheMapSize": {
"value": 100,
"description": "Size of the per-regex cache map for format/regex check results. For each regex, up to this many values will have cached whether they match the regex or not, on a least-recently-used basis.",
"public": true
},
"WBQualityConstraintsCacheCheckConstraintsResults": {
"value": true,
"description": "Whether to a caching service while running constraint checks. Results are only cached for constraint checks on full entities, and only when the set of constraints to be checked is not specified (i. e. the constraintid parameter is unset).",
"public": true
},
"WBQualityConstraintsCacheCheckConstraintsTTLSeconds": {
"value": 86400,
"description": "The time-to-live, in seconds, of cached results of the wbcheckconstraints API action. Ignored if WBQualityConstraintsCacheCheckConstraintsResults is not true.",
"public": true
},
"WBQualityConstraintsCacheCheckConstraintsMaximumRevisionIds": {
"value": 10000,
"description": "The maximum number of revision IDs to load when checking whether a cached wbcheckconstraints result is still fresh. Results that depend on more entity IDs than this limit are not cached.",
"public": true
},
"WBQualityConstraintsInstanceOfId": {
"value": "P1",
"description": "The property ID of the 'instance of' property (data type: item), which specifies the class(es) of an item.",
"public": true
},
"WBQualityConstraintsSubclassOfId": {
"value": "P55",
"description": "The property ID of the 'subclass of' property (data type: item), which specifies the superclass(es) of an item.",
"public": true
},
"WBQualityConstraintsPropertyConstraintId": {
"value": "P221",
"description": "The property ID of the 'property constraint' property (data type: item), which specifies the various constraints of a property.",
"public": true
},
"WBQualityConstraintsExceptionToConstraintId": {
"value": "P222",
"description": "The property ID of the 'exception to constraint' property (data type: item), which specifies the exceptions of a constraint.",
"public": true
},
"WBQualityConstraintsConstraintStatusId": {
"value": "P223",
"description": "The property ID of the 'constraint status' property (data type: item), which specifies the constraint status of a constraint statement. Currently, only one constraint status is known (see WBQualityConstraintsMandatoryConstraintId), and the default status is signified by the absence of a 'constraint status' qualifier.",
"public": true
},
"WBQualityConstraintsMandatoryConstraintId": {
"value": "Q27457",
"description": "The item ID of the 'mandatory constraint' item, which, when used in a 'constraint status' qualifier of a 'property constraint' statement on a property, indicates that the constraint is mandatory and should have no violations except for the known exceptions.",
"public": true
},
"WBQualityConstraintsSuggestionConstraintId": {
"value": "Q27458",
"description": "The item ID of the 'suggestion constraint' item, which, when used in a 'constraint status' qualifier of a 'property constraint' statement on a property, indicates that the constraint is merely a suggestion for improvement and violations need not be taken very seriously.",
"public": true
},
"WBQualityConstraintsDistinctValuesConstraintId": {
"value": "Q27459",
"description": "The item ID of the 'distinct values constraint' item, which, when used in a 'property constraint' statement on a property, indicates that all values for this property should differ from each other, or, equivalently, that each value for this property should be unique to one item.",
"public": true
},
"WBQualityConstraintsMultiValueConstraintId": {
"value": "Q27460",
"description": "The item ID of the 'multi-value constraint' item, which, when used in a 'property constraint' statement on a property, indicates that a property should have more than one value per entity.",
"public": true
},
"WBQualityConstraintsUsedAsQualifierConstraintId": {
"value": "Q27461",
"description": "The item ID of the 'used as qualifier constraint' item, which, when used in a 'property constraint' statement on a property, indicates that a property should only be used as a qualifier.",
"public": true
},
"WBQualityConstraintsSingleValueConstraintId": {
"value": "Q27462",
"description": "The item ID of the 'single value constraint' item, which, when used in a 'property constraint' statement on a property, indicates that a property should have no more than one value per entity.",
"public": true
},
"WBQualityConstraintsSymmetricConstraintId": {
"value": "Q27463",
"description": "The item ID of the 'symmetric constraint' item, which, when used in a 'property constraint' statement on a property, indicates that a referenced entity should refer back to the original entity.",
"public": true
},
"WBQualityConstraintsTypeConstraintId": {
"value": "Q27464",
"description": "The item ID of the 'type constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the subject entity should have a certain type, with the relation and type given in the parameters.",
"public": true
},
"WBQualityConstraintsValueTypeConstraintId": {
"value": "Q27465",
"description": "The item ID of the 'value type constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the referenced entity should have a certain type, with the class and relation given in the parameters.",
"public": true
},
"WBQualityConstraintsInverseConstraintId": {
"value": "Q27466",
"description": "The item ID of the 'inverse constraint' item, which, when used in a 'property constraint' statement on a property, indicates that a referenced entity should refer back to the original entity with the property given in the parameters.",
"public": true
},
"WBQualityConstraintsItemRequiresClaimConstraintId": {
"value": "Q27467",
"description": "The item ID of the 'item requires claim constraint' item, which, when used in a 'property constraint' statement on a property, indicates that an entity with a given statement should also have certain other statements.",
"public": true
},
"WBQualityConstraintsValueRequiresClaimConstraintId": {
"value": "Q27468",
"description": "The item ID of the 'value requires claim constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the target/value entity of a given statement should have certain statements.",
"public": true
},
"WBQualityConstraintsConflictsWithConstraintId": {
"value": "Q27469",
"description": "The item ID of the 'conflicts-with constraint' item, which, when used in a 'property constraint' statement on a property, indicates that an entity with a given statement should not have certain other statements.",
"public": true
},
"WBQualityConstraintsOneOfConstraintId": {
"value": "Q27470",
"description": "The item ID of the 'one-of constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the value of a given statement should be one of a given set of values.",
"public": true
},
"WBQualityConstraintsMandatoryQualifierConstraintId": {
"value": "Q27471",
"description": "The item ID of the 'mandatory qualifier' item, which, when used in a 'property constraint' statement on a property, indicates a given statement should have the given qualifier.",
"public": true
},
"WBQualityConstraintsAllowedQualifiersConstraintId": {
"value": "Q27472",
"description": "The item ID of the 'allowed qualifiers constraint' item, which, when used in a 'property constraint' statement on a property, indicates a given statement should only have the given qualifiers.",
"public": true
},
"WBQualityConstraintsRangeConstraintId": {
"value": "Q27473",
"description": "The item ID of the 'range constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the value of a given statement should be within a given range.",
"public": true
},
"WBQualityConstraintsDifferenceWithinRangeConstraintId": {
"value": "Q27474",
"description": "The item ID of the 'difference within range constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the difference value of a given statement and of another given statement should be within a given range.",
"public": true
},
"WBQualityConstraintsCommonsLinkConstraintId": {
"value": "Q27475",
"description": "The item ID of the 'commons link constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the value of a given statement should be a valid link to Wikimedia Commons.",
"public": true
},
"WBQualityConstraintsContemporaryConstraintId": {
"value": "Q27476",
"description": "The item ID of the 'contemporary constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the entities which are linked through this property should be contemporary according to their start and end time values.",
"public": true
},
"WBQualityConstraintsFormatConstraintId": {
"value": "Q27477",
"description": "The item ID of the 'format constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the value of a given statement should conform to a given pattern.",
"public": true
},
"WBQualityConstraintsUsedForValuesOnlyConstraintId": {
"value": "Q27478",
"description": "The item ID of the 'used for values only constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the property should only be used for the main value of a statement, not for qualifiers or references.",
"public": true
},
"WBQualityConstraintsUsedAsReferenceConstraintId": {
"value": "Q27479",
"description": "The item ID of the 'used as reference constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the property should only be used for references, not for the main value of a statement or for qualifiers.",
"public": true
},
"WBQualityConstraintsNoBoundsConstraintId": {
"value": "Q27480",
"description": "The item ID of the 'no bounds constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the property should only be used with no bounded quantity as its value.",
"public": true
},
"WBQualityConstraintsAllowedUnitsConstraintId": {
"value": "Q27481",
"description": "The item ID for the 'allowed units constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the value of a given statement should only have certain units.",
"public": true
},
"WBQualityConstraintsSingleBestValueConstraintId": {
"value": "Q27482",
"description": "The item ID for the 'single best value constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the property should have a single, distinguished best value per item.",
"public": true
},
"WBQualityConstraintsAllowedEntityTypesConstraintId": {
"value": "Q27483",
"description": "The item ID for the 'allowed entity types constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the property can be used only in certain entity types (e.g. only items).",
"public": true
},
"WBQualityConstraintsCitationNeededConstraintId": {
"value": "Q27484",
"description": "The item ID of the 'citation needed constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the value of a given statement should have at least one reference for its values.",
"public": true
},
"WBQualityConstraintsPropertyScopeConstraintId": {
"value": "Q27485",
"description": "The item ID of the 'property scope constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the property should only be used in some locations (main value, qualifiers, and/or references, but not all of them).",
"public": true
},
"WBQualityConstraintsLexemeLanguageConstraintId": {
"value": "Q27486",
"description": "The item ID of the 'lexeme language constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the property should only be used in lexeme that have the given language set.",
"public": true
},
"WBQualityConstraintsLabelInLanguageConstraintId": {
"value": "Q27487",
"description": "The item ID of the 'label in language constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the property should only be used in entities that have label in the given languages.",
"public": true
},
"WBQualityConstraintsLanguagePropertyId": {
"value": "P224",
"description": "The property ID of the 'Wikimedia language code' property (data type: string), which specifies the language code of a 'label in language' constraint.",
"public": true
},
"WBQualityConstraintsClassId": {
"value": "P225",
"description": "The property ID of the 'class' property (data type: item), which specifies the class/type of a 'type' or 'value type' constraint.",
"public": true
},
"WBQualityConstraintsRelationId": {
"value": "P226",
"description": "The property ID of the 'relation' property (data type: item), which specifies the relation ('instance of' or 'subclass of') of a 'type' or 'value type' constraint.",
"public": true
},
"WBQualityConstraintsInstanceOfRelationId": {
"value": "Q27489",
"description": "The item ID of the 'instance of' item, which, when used in a 'relation' qualifier of a 'property constraint' statement on a property, indicates that the 'type' or 'value type' constraint defined in this statement demands an 'instance' relation.",
"public": true
},
"WBQualityConstraintsSubclassOfRelationId": {
"value": "Q27490",
"description": "The item ID of the 'subclass of' item, which, when used in a 'relation' qualifier of a 'property constraint' statement on a property, indicates that the 'type' or 'value type' constraint defined in this statement demands a 'subclass' relation.",
"public": true
},
"WBQualityConstraintsInstanceOrSubclassOfRelationId": {
"value": "Q27491",
"description": "The item ID of the 'instance or subclass of' item, which, when used in a 'relation' qualifier of a 'property constraint' statement on a property, indicates that the 'type' or 'value type' constraint defined in this statement demands a 'instance or subclass' relation.",
"public": true
},
"WBQualityConstraintsPropertyId": {
"value": "P227",
"description": "The property ID of the 'property' property (data type: property), which specifies the property parameter of an 'inverse', 'item requires claim', 'value requires claim', 'difference within range', 'mandatory qualifiers', or 'qualifiers' constraint.",
"public": true
},
"WBQualityConstraintsQualifierOfPropertyConstraintId": {
"value": "P228",
"description": "The property ID of the 'qualifier of property constraint' property (data type: item), which specifies the item parameter of an 'item requires claim', 'value requires claim', or 'one of' constraint.",
"public": true
},
"WBQualityConstraintsMinimumQuantityId": {
"value": "P229",
"description": "The property ID of the 'minimum quantity' property (data type: quantity), which specifies the minimum quantity parameter of a 'range' or 'diff within range' constraint.",
"public": true
},
"WBQualityConstraintsMaximumQuantityId": {
"value": "P230",
"description": "The property ID of the 'maximum quantity' property (data type: quantity), which specifies the maximum quantity parameter of a 'range' or 'diff within range' constraint.",
"public": true
},
"WBQualityConstraintsMinimumDateId": {
"value": "P231",
"description": "The property ID of the 'minimum date' property (data type: point in time), which specifies the minimum date parameter of a 'range' or 'diff within range' constraint.",
"public": true
},
"WBQualityConstraintsMaximumDateId": {
"value": "P232",
"description": "The property ID of the 'maximum date' property (data type: point in time), which specifies the maximum date parameter of a 'range' or 'diff within range' constraint.",
"public": true
},
"WBQualityConstraintsNamespaceId": {
"value": "P233",
"description": "The property ID of the 'namespace' property (data type: string), which specifies the namespace parameter of a 'commons link' constraint.",
"public": true
},
"WBQualityConstraintsFormatAsARegularExpressionId": {
"value": "P234",
"description": "The property ID of the 'format as a regular expression' property (data type: string), which specifies the format parameter of a 'format' constraint.",
"public": true
},
"WBQualityConstraintsSyntaxClarificationId": {
"value": "P235",
"description": "The property ID of the 'syntax clarification' property (data type: monolingual text), which specifies human-readable explanations of a 'format' constraint. The syntax clarification is shown as part of the 'format' constraint violation message, clarifying the regular expression.",
"public": true
},
"WBQualityConstraintsConstraintClarificationId": {
"value": "P236",
"description": "The property ID of the 'constraint clarification' property (data type: monolingual text), which specifies human-readable explanations of a constraint (of any constraint type). The constraint clarification is shown below the main constraint violation message.",
"public": true
},
"WBQualityConstraintsConstraintScopeId": {
"value": "P237",
"description": "The property ID of the 'constraint scope' property (data type: item), which specifies the context(s) in which a constraint is checked.",
"public": true
},
"WBQualityConstraintsConstraintEntityTypesId": {
"value": "P238",
"description": "The property ID of the property (data type: item) which specifies the entity types on which a constraint is checked. By default, this is the same as the 'constraint scope' property, but may also be set to a different one. The recognized values (items representing entity types) are the same as for the 'allowed entity types' constraint.",
"public": true
},
"WBQualityConstraintsSeparatorId": {
"value": "P239",
"description": "The property ID of the 'separator' property (data type: property), which specifies the allowed separator(s) for “single value” and “single best value” constraints.",
"public": true
},
"WBQualityConstraintsConstraintCheckedOnMainValueId": {
"value": "Q27492",
"description": "The item ID of the 'constraint checked on main value' item, which, when used in a 'constraint scope' qualifier of a 'property constraint' statement on a property, indicates that the constraint should be checked on the main snak of a statement.",
"public": true
},
"WBQualityConstraintsConstraintCheckedOnQualifiersId": {
"value": "Q27493",
"description": "The item ID of the 'constraint checked on qualifiers' item, which, when used in a 'constraint scope' qualifier of a 'property constraint' statement on a property, indicates that the constraint should be checked on the qualifier snaks of a statement.",
"public": true
},
"WBQualityConstraintsConstraintCheckedOnReferencesId": {
"value": "Q27494",
"description": "The item ID of the 'constraint checked on references' item, which, when used in a 'constraint scope' qualifier of a 'property constraint' statement on a property, indicates that the constraint should be checked on the reference snaks of a statement.",
"public": true
},
"WBQualityConstraintsNoneOfConstraintId": {
"value": "Q27495",
"description": "The item ID of the 'none-of constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the value of a given statement should not be one of a given set of values.",
"public": true
},
"WBQualityConstraintsIntegerConstraintId": {
"value": "Q27496",
"description": "The item ID of the 'integer constraint' item, which, when used in a 'property constraint' statement on a property, indicates that the value of a given statement should have only integer values.",
"public": true
},
"WBQualityConstraintsWikibaseItemId": {
"value": "Q27497",
"description": "The item ID of the 'wikibase item' item, which represents the 'item' entity type for 'allowed entity types' constraints.",
"public": true
},
"WBQualityConstraintsWikibasePropertyId": {
"value": "Q27498",
"description": "The item ID of the 'wikibase property' item, which represents the 'property' entity type for 'allowed entity types' constraints.",
"public": true
},
"WBQualityConstraintsWikibaseLexemeId": {
"value": "Q27499",
"description": "The item ID of the 'wikibase lexeme' item, which represents the 'lexeme' entity type for 'allowed entity types' constraints.",
"public": true
},
"WBQualityConstraintsWikibaseFormId": {
"value": "Q27500",
"description": "The item ID of the 'wikibase form' item, which represents the 'form' entity type for 'allowed entity types' constraints.",
"public": true
},
"WBQualityConstraintsWikibaseSenseId": {
"value": "Q27501",
"description": "The item ID of the 'wikibase sense' item, which represents the 'sense' entity type for 'allowed entity types' constraints.",
"public": true
},
"WBQualityConstraintsWikibaseMediaInfoId": {
"value": "Q27502",
"description": "The item ID of the 'wikibase MediaInfo' item, which represents the 'mediainfo' entity type for 'allowed entity types' constraints.",
"public": true
},
"WBQualityConstraintsPropertyScopeId": {
"value": "P240",
"description": "The property ID of the 'property scope' property, which specifies the scope parameter of a 'scope' constraint.",
"public": true
},
"WBQualityConstraintsAsMainValueId": {
"value": "Q27503",
"description": "The item ID of the 'as main value' item, which, when used in a 'property scope' parameter of a 'scope' constraint, signifies that a property may be used for the main snaks of statements.",
"public": true
},
"WBQualityConstraintsAsQualifiersId": {
"value": "Q27504",
"description": "The item ID of the 'as qualifiers' item, which, when used in a 'property scope' parameter of a 'scope' constraint, signifies that a property may be used for qualifiers of statements.",
"public": true
},
"WBQualityConstraintsAsReferencesId": {
"value": "Q27505",
"description": "The item ID of the 'as references' item, which, when used in a 'property scope' parameter of a 'scope' constraint, signifies that a property may be used for references of statements.",
"public": true
},
"WBQualityConstraintsPropertiesWithViolatingQualifiers": {
"value": [],
"description": "Property IDs of statements whose qualifiers are expected to violate constraints, and where constraints checks are therefore skipped, as if the subject entity was an exception to the constraints defined on the qualifier properties.",
"public": true
},
"WBQualityConstraintsStartTimePropertyIds": {
"value": [
"P120"
],
"description": "Property IDs of statements whose minimum value defines the start time of an entity, which is used by 'contemporary' contraints.",
"public": true
},
"WBQualityConstraintsEndTimePropertyIds": {
"value": [
"P121"
],
"description": "Property IDs of statements whose maximum value defines the end time of an entity, which is used by 'contemporary' contraints.",
"public": true
},
"WBQualityConstraintsYearUnit": {
"value": "http://base.semlab.io/entity/Q27506",
"description": "The unit used for a quantity that represents a difference between two dates, in years. Note that for entity units, the full concept URI must be used, not just the entity ID.",
"public": true
},
"WBQualityConstraintsSecondUnit": {
"value": "http://base.semlab.io/entity/Q24547",
"description": "The unit used for a quantity that represents a difference between two dates, in seconds. Note that for entity units, the full concept URI must be used, not just the entity ID.",
"public": true
},
"WBQualityConstraintsEnableSuggestionConstraintStatus": {
"value": false,
"description": "Whether to enable the 'constraint suggestion' constraint status or not. This is a temporary configuration that will be removed once constraint suggestions are permanently enabled on Wikidata.",
"public": true
},
"WBQualityConstraintsFormatCheckerShellboxRatio": {
"value": 0,
"description": "Float value between 0 and 1 determining ratio of requests made to shellbox (vs. WDQS) in FormatChecker in evaluating regexes. Zero disables requesting to shellbox (all going to WDQS) and one means all requests will go to shellbox.",
"public": true
},
"WBQualityConstraintsShowConstraintViolationToNonLoggedInUsers": {
"value": true,
"description": "Whether or not show the constraint violation indicator to users that are not logged in.",
"public": true
}
},
"AutoloadNamespaces": {
"WikibaseQuality\\ConstraintReport\\": "src/",
"WikibaseQuality\\ConstraintReport\\Maintenance\\": "maintenance/"
},
"TestAutoloadNamespaces": {
"WikibaseQuality\\ConstraintReport\\Tests\\": "tests/phpunit/"
},
"manifest_version": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment