Extension:WikibaseQualityConstraints

MediaWiki extensions manual
OOjs UI icon advanced.svg
WikibaseQualityConstraints
Release status: stable
Implementation User interface
Author(s) Students at Hasso-Plattner-Institute and WMDE
Latest version continuous updates
Compatibility policy release branches
Database changes Yes
Tables wbqc_constraints
License GNU General Public License 2.0 or later
Download
  • $wgWBQualityConstraintsMaximumQuantityId
  • $wgWBQualityConstraintsInstanceOfId
  • $wgWBQualityConstraintsMinimumDateId
  • $wgWBQualityConstraintsAllowedUnitsConstraintId
  • $wgWBQualityConstraintsFormatConstraintId
  • $wgWBQualityConstraintsMandatoryConstraintId
  • $wgWBQualityConstraintsCacheCheckConstraintsTTLSeconds
  • $wgWBQualityConstraintsTypeCheckMaxEntities
  • $wgWBQualityConstraintsSubclassOfRelationId
  • $wgWBQualityConstraintsCheckOnEntityDurationWarningSeconds
  • $wgWBQualityConstraintsSparqlThrottlingFallbackDuration
  • $wgWBQualityConstraintsEnableSuggestionConstraintStatus
  • $wgWBQualityConstraintsOneOfConstraintId
  • $wgWBQualityConstraintsNamespaceId
  • $wgWBQualityConstraintsInverseConstraintId
  • $wgWBQualityConstraintsValueRequiresClaimConstraintId
  • $wgWBQualityConstraintsSuggestionConstraintId
  • $wgWBQualityConstraintsCheckFormatConstraint
  • $wgWBQualityConstraintsTypeConstraintId
  • $wgWBQualityConstraintsWikibaseMediaInfoId
  • $wgWBQualityConstraintsCheckDurationWarningSeconds
  • $wgWBQualityConstraintsUsedAsQualifierConstraintId
  • $wgWBQualityConstraintsSingleBestValueConstraintId
  • $wgWBQualityConstraintsExceptionToConstraintId
  • $wgWBQualityConstraintsCheckReferences
  • $wgWBQualityConstraintsMultiValueConstraintId
  • $wgWBQualityConstraintsInstanceOfRelationId
  • $wgWBQualityConstraintsEnableConstraintsCheckJobsRatio
  • $wgWBQualityConstraintsCacheCheckConstraintsResults
  • $wgWBQualityConstraintsIntegerConstraintId
  • $wgWBQualityConstraintsDifferenceWithinRangeConstraintId
  • $wgWBQualityConstraintsInstanceOrSubclassOfRelationId
  • $wgWBQualityConstraintsConstraintCheckedOnQualifiersId
  • $wgWBQualityConstraintsUsedAsReferenceConstraintId
  • $wgWBQualityConstraintsFormatCacheMapSize
  • $wgWBQualityConstraintsSymmetricConstraintId
  • $wgWBQualityConstraintsPropertyScopeId
  • $wgWBQualityConstraintsYearUnit
  • $wgWBQualityConstraintsAsReferencesId
  • $wgWBQualityConstraintsWikibasePropertyId
  • $wgWBQualityConstraintsContemporaryConstraintId
  • $wgWBQualityConstraintsSparqlMaxMillis
  • $wgWBQualityConstraintsPropertyConstraintId
  • $wgWBQualityConstraintsCheckQualifiers
  • $wgWBQualityConstraintsValueTypeConstraintId
  • $wgWBQualityConstraintsConstraintStatusId
  • $wgWBQualityConstraintsConstraintCheckedOnMainValueId
  • $wgWBQualityConstraintsSeparatorId
  • $wgWBQualityConstraintsClassId
  • $wgWBQualityConstraintsSuggestionsBetaFeature
  • $wgWBQualityConstraintsCacheCheckConstraintsMaximumRevisionIds
  • $wgWBQualityConstraintsSecondUnit
  • $wgWBQualityConstraintsFormatAsARegularExpressionId
  • $wgWBQualityConstraintsPropertyScopeConstraintId
  • $wgWBQualityConstraintsStartTimePropertyIds
  • $wgWBQualityConstraintsMinimumQuantityId
  • $wgWBQualityConstraintsItemRequiresClaimConstraintId
  • $wgWBQualityConstraintsPropertiesWithViolatingQualifiers
  • $wgWBQualityConstraintsAllowedEntityTypesConstraintId
  • $wgWBQualityConstraintsAsQualifiersId
  • $wgWBQualityConstraintsAsMainValueId
  • $wgWBQualityConstraintsWikibaseSenseId
  • $wgWBQualityConstraintsWikibaseLexemeId
  • $wgWBQualityConstraintsWikibaseFormId
  • $wgWBQualityConstraintsWikibaseItemId
  • $wgWBQualityConstraintsNoneOfConstraintId
  • $wgWBQualityConstraintsDistinctValuesConstraintId
  • $wgWBQualityConstraintsConstraintScopeId
  • $wgWBQualityConstraintsSyntaxClarificationId
  • $wgWBQualityConstraintsMandatoryQualifierConstraintId
  • $wgWBQualityConstraintsEndTimePropertyIds
  • $wgWBQualityConstraintsMaximumDateId
  • $wgWBQualityConstraintsRangeConstraintId
  • $wgWBQualityConstraintsQualifierOfPropertyConstraintId
  • $wgWBQualityConstraintsEnableConstraintsCheckJobs
  • $wgWBQualityConstraintsRelationId
  • $wgWBQualityConstraintsSparqlTimeoutExceptionClasses
  • $wgWBQualityConstraintsNoBoundsConstraintId
  • $wgWBQualityConstraintsSparqlEndpoint
  • $wgWBQualityConstraintsCheckDurationInfoSeconds
  • $wgWBQualityConstraintsUsedForValuesOnlyConstraintId
  • $wgWBQualityConstraintsCommonsLinkConstraintId
  • $wgWBQualityConstraintsAllowedQualifiersConstraintId
  • $wgWBQualityConstraintsConflictsWithConstraintId
  • $wgWBQualityConstraintsSingleValueConstraintId
  • $wgWBQualityConstraintsConstraintCheckedOnReferencesId
  • $wgWBQualityConstraintsSparqlHasWikibaseSupport
  • $wgWBQualityConstraintsEnableConstraintsImportFromStatements
  • $wgWBQualityConstraintsSubclassOfId
  • $wgWBQualityConstraintsCitationNeededConstraintId
  • $wgWBQualityConstraintsCheckOnEntityDurationInfoSeconds
  • $wgWBQualityConstraintsPropertyId
Translate the WikibaseQualityConstraints extension if it is available at translatewiki.net
Check usage and version matrix.

The WikibaseQualityConstraints extension allows defining constraints on Wikibase Properties and checks that the constraints are met when the Properties are used in Statements on Entities. The checks are strictly informational: the extension does not ensure that the constraints are met, it merely informs editors when they are being violated. For more information, see the Property constraints portal on Wikidata.

InstallationEdit

  • Download and place the file(s) in a directory called WikibaseQualityConstraints in your extensions/ folder.
  • Only when installing from git run Composer to install PHP dependencies, by issuing composer install --no-dev in the extension directory. (See T173141 for potential complications.)
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'WikibaseQualityConstraints' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

ConfigurationEdit

Not yet documented (sorry).