Jump to content

Extension:WikibaseQualityConstraints

From mediawiki.org
This page is a translated version of the page Extension:WikibaseQualityConstraints and the translation is 44% complete.
MediaWiki 拡張機能マニュアル
WikibaseQualityConstraints
リリースの状態: 安定
実装 ユーザー インターフェイス
説明 Allows defining constraints on Wikibase properties and checks that the constraints are met when the properties are used in statements on entities
作者 Students at Hasso-Plattner-Institute and WMDE
最新バージョン continuous updates
互換性の方針 MediaWiki とともにリリースされるスナップショット。 master には後方互換性がありません。
MediaWiki 1.26+
データベースの変更 はい
Composer wikibase/constraints
テーブル wbqc_constraints
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
  • $wgWBQualityConstraintsMaximumQuantityId
  • $wgWBQualityConstraintsInstanceOfId
  • $wgWBQualityConstraintsMinimumDateId
  • $wgWBQualityConstraintsAllowedUnitsConstraintId
  • $wgWBQualityConstraintsFormatConstraintId
  • $wgWBQualityConstraintsMandatoryConstraintId
  • $wgWBQualityConstraintsCacheCheckConstraintsTTLSeconds
  • $wgWBQualityConstraintsTypeCheckMaxEntities
  • $wgWBQualityConstraintsSubclassOfRelationId
  • $wgWBQualityConstraintsCheckOnEntityDurationWarningSeconds
  • $wgWBQualityConstraintsSparqlThrottlingFallbackDuration
  • $wgWBQualityConstraintsEnableSuggestionConstraintStatus
  • $wgWBQualityConstraintsOneOfConstraintId
  • $wgWBQualityConstraintsLabelInLanguageConstraintId
  • $wgWBQualityConstraintsInverseConstraintId
  • $wgWBQualityConstraintsValueRequiresClaimConstraintId
  • $wgWBQualityConstraintsSuggestionConstraintId
  • $wgWBQualityConstraintsCheckFormatConstraint
  • $wgWBQualityConstraintsTypeConstraintId
  • $wgWBQualityConstraintsWikibaseMediaInfoId
  • $wgWBQualityConstraintsCheckDurationWarningSeconds
  • $wgWBQualityConstraintsShowConstraintViolationToNonLoggedInUsers
  • $wgWBQualityConstraintsUsedAsQualifierConstraintId
  • $wgWBQualityConstraintsSingleBestValueConstraintId
  • $wgWBQualityConstraintsExceptionToConstraintId
  • $wgWBQualityConstraintsCheckReferences
  • $wgWBQualityConstraintsMultiValueConstraintId
  • $wgWBQualityConstraintsInstanceOfRelationId
  • $wgWBQualityConstraintsEnableConstraintsCheckJobsRatio
  • $wgWBQualityConstraintsLexemeLanguageConstraintId
  • $wgWBQualityConstraintsCacheCheckConstraintsResults
  • $wgWBQualityConstraintsIntegerConstraintId
  • $wgWBQualityConstraintsDifferenceWithinRangeConstraintId
  • $wgWBQualityConstraintsInstanceOrSubclassOfRelationId
  • $wgWBQualityConstraintsConstraintCheckedOnQualifiersId
  • $wgWBQualityConstraintsUsedAsReferenceConstraintId
  • $wgWBQualityConstraintsFormatCacheMapSize
  • $wgWBQualityConstraintsSymmetricConstraintId
  • $wgWBQualityConstraintsPropertyScopeId
  • $wgWBQualityConstraintsYearUnit
  • $wgWBQualityConstraintsAsReferencesId
  • $wgWBQualityConstraintsWikibasePropertyId
  • $wgWBQualityConstraintsContemporaryConstraintId
  • $wgWBQualityConstraintsSparqlMaxMillis
  • $wgWBQualityConstraintsPropertyConstraintId
  • $wgWBQualityConstraintsFormatCheckerShellboxRatio
  • $wgWBQualityConstraintsCheckQualifiers
  • $wgWBQualityConstraintsValueTypeConstraintId
  • $wgWBQualityConstraintsConstraintStatusId
  • $wgWBQualityConstraintsConstraintCheckedOnMainValueId
  • $wgWBQualityConstraintsAdditionalSparqlEndpoints
  • $wgWBQualityConstraintsSeparatorId
  • $wgWBQualityConstraintsSecondUnit
  • $wgWBQualityConstraintsClassId
  • $wgWBQualityConstraintsMaximumDateId
  • $wgWBQualityConstraintsStartTimePropertyIds
  • $wgWBQualityConstraintsPropertiesWithViolatingQualifiers
  • $wgWBQualityConstraintsCacheCheckConstraintsMaximumRevisionIds
  • $wgWBQualityConstraintsAsQualifiersId
  • $wgWBQualityConstraintsAsMainValueId
  • $wgWBQualityConstraintsPropertyScopeConstraintId
  • $wgWBQualityConstraintsWikibaseSenseId
  • $wgWBQualityConstraintsMinimumQuantityId
  • $wgWBQualityConstraintsItemRequiresClaimConstraintId
  • $wgWBQualityConstraintsConstraintEntityTypesId
  • $wgWBQualityConstraintsAllowedEntityTypesConstraintId
  • $wgWBQualityConstraintsWikibaseLexemeId
  • $wgWBQualityConstraintsWikibaseItemId
  • $wgWBQualityConstraintsNoneOfConstraintId
  • $wgWBQualityConstraintsDistinctValuesConstraintId
  • $wgWBQualityConstraintsWikibaseFormId
  • $wgWBQualityConstraintsConstraintScopeId
  • $wgWBQualityConstraintsConstraintClarificationId
  • $wgWBQualityConstraintsSyntaxClarificationId
  • $wgWBQualityConstraintsFormatAsARegularExpressionId
  • $wgWBQualityConstraintsNamespaceId
  • $wgWBQualityConstraintsMandatoryQualifierConstraintId
  • $wgWBQualityConstraintsEndTimePropertyIds
  • $wgWBQualityConstraintsQualifierOfPropertyConstraintId
  • $wgWBQualityConstraintsRangeConstraintId
  • $wgWBQualityConstraintsEnableConstraintsCheckJobs
  • $wgWBQualityConstraintsRelationId
  • $wgWBQualityConstraintsCommonsLinkConstraintId
  • $wgWBQualityConstraintsSparqlTimeoutExceptionClasses
  • $wgWBQualityConstraintsNoBoundsConstraintId
  • $wgWBQualityConstraintsSparqlEndpoint
  • $wgWBQualityConstraintsCheckDurationInfoSeconds
  • $wgWBQualityConstraintsUsedForValuesOnlyConstraintId
  • $wgWBQualityConstraintsLanguagePropertyId
  • $wgWBQualityConstraintsAllowedQualifiersConstraintId
  • $wgWBQualityConstraintsConflictsWithConstraintId
  • $wgWBQualityConstraintsSingleValueConstraintId
  • $wgWBQualityConstraintsConstraintCheckedOnReferencesId
  • $wgWBQualityConstraintsSparqlHasWikibaseSupport
  • $wgWBQualityConstraintsEnableConstraintsImportFromStatements
  • $wgWBQualityConstraintsSubclassOfId
  • $wgWBQualityConstraintsCitationNeededConstraintId
  • $wgWBQualityConstraintsCheckOnEntityDurationInfoSeconds
  • $wgWBQualityConstraintsPropertyId
四半期ごとのダウンロード数 10 (Ranked 126th)
translatewiki.net で翻訳を利用できる場合は、WikibaseQualityConstraints 拡張機能の翻訳にご協力ください
問題点 未解決のタスク · バグを報告

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.

インストール

  • ダウンロードして、ファイルをextensions/フォルダー内のWikibaseQualityConstraintsという名前のディレクトリ内に配置します。
    開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WikibaseQualityConstraints
  • Gitでのインストールの場合のみ、PHPの依存関係をインストールするためComposerを実行します。 (合併症の可能性についてはタスク T173141を参照。)
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'WikibaseQualityConstraints' );
    
  • 必要に応じて設定します。
  • Yes 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

設定

See the "config" section in the extension.json file.