Roovet Data:Quality constraints setup: Difference between revisions
Create WikibaseQualityConstraints setup tracker |
Configure Roovet-native WikibaseQualityConstraints vocabulary |
||
| Line 1: | Line 1: | ||
= Roovet Data quality constraints = | = Roovet Data quality constraints = | ||
WikibaseQualityConstraints is installed | WikibaseQualityConstraints is installed and configured with a Roovet-native constraint vocabulary. | ||
== | == Constraint vocabulary == | ||
{| class="wikitable" | |||
|- | |||
! property constraint property || [[Property:P2302|P2302]] | |||
|- | |||
! single-value constraint item || [[Item:Q47|Q47]] | |||
|- | |||
! format constraint item || [[Item:Q62|Q62]] | |||
|- | |||
! regex qualifier property || [[Property:P1793|P1793]] | |||
|} | |||
== Starter constraints added == | |||
{| class="wikitable sortable" | |||
! Property !! Label !! Constraint !! Status !! Notes | |||
|- | |||
| [[Property:P9|P9]] || Roovet Articles page || single-value constraint || added || | |||
|- | |||
| [[Property:P9|P9]] || Roovet Articles page || format constraint || added || regex=^https://articles\.roovet\.com/.+; qualifier=added | |||
|- | |||
| [[Property:P28|P28]] || Roovet Articles title || single-value constraint || added || | |||
|- | |||
| [[Property:P28|P28]] || Roovet Articles title || format constraint || added || regex=^[A-Za-z0-9_().,' -]+$; qualifier=added | |||
|- | |||
| [[Property:P856|P856]] || official website || single-value constraint || added || | |||
|- | |||
| [[Property:P856|P856]] || official website || format constraint || added || regex=^https?://.+; qualifier=failed: {"error": {"code": "failed-save", "info": "The save has failed.", "messages": [{"name": "wikibase-api-failed-save", "parameters": [], "html": {"*": "The save has failed."}}, {"name": "actionthrottledtext", "parameters": [], "html": {"*": "As an anti-abuse measure, you are limited from performing thi | |||
|- | |||
| [[Property:P34|P34]] || Roovet Data schema ID || format constraint || failed: {"error": {"code": "failed-save", "info": "The save has failed.", "messages": [{"name": "wikibase-api-failed-save", "parameters": [], "html": {"*": "The save has failed."}}, {"name": "actionthrottledtext", "parameters": [], "html": {"*": "As an anti-abuse measure, you are limited from performing thi || regex=^E[0-9]+$; qualifier=skipped | |||
|} | |||
== Current schemas == | == Current schemas == | ||
| Line 14: | Line 43: | ||
* [[EntitySchema:E4|E4 organization record]] | * [[EntitySchema:E4|E4 organization record]] | ||
== | == Notes == | ||
* The bundled ImportConstraintEntities script failed because its entity serialization format was incompatible with this Wikibase install. | |||
* This page uses locally created Roovet Data constraint vocabulary instead. | |||
* The constraints are informational and are meant to guide cleanup before larger imports. | |||
== Next step == | == Next step == | ||
Verify constraint display/API output for [[Property:P9]], [[Property:P28]], [[Property:P856]], and [[Property:P34]]. | |||
Latest revision as of 15:05, 9 May 2026
Roovet Data quality constraints
[edit source]WikibaseQualityConstraints is installed and configured with a Roovet-native constraint vocabulary.
Constraint vocabulary
[edit source]| property constraint property | P2302 |
|---|---|
| single-value constraint item | Q47 |
| format constraint item | Q62 |
| regex qualifier property | P1793 |
Starter constraints added
[edit source]| Property | Label | Constraint | Status | Notes |
|---|---|---|---|---|
| P9 | Roovet Articles page | single-value constraint | added | |
| P9 | Roovet Articles page | format constraint | added | regex=^https://articles\.roovet\.com/.+; qualifier=added |
| P28 | Roovet Articles title | single-value constraint | added | |
| P28 | Roovet Articles title | format constraint | added | regex=^[A-Za-z0-9_().,' -]+$; qualifier=added |
| P856 | official website | single-value constraint | added | |
| P856 | official website | format constraint | added | regex=^https?://.+; qualifier=failed: {"error": {"code": "failed-save", "info": "The save has failed.", "messages": [{"name": "wikibase-api-failed-save", "parameters": [], "html": {"*": "The save has failed."}}, {"name": "actionthrottledtext", "parameters": [], "html": {"*": "As an anti-abuse measure, you are limited from performing thi |
| P34 | Roovet Data schema ID | format constraint | failed: {"error": {"code": "failed-save", "info": "The save has failed.", "messages": [{"name": "wikibase-api-failed-save", "parameters": [], "html": {"*": "The save has failed."}}, {"name": "actionthrottledtext", "parameters": [], "html": {"*": "As an anti-abuse measure, you are limited from performing thi | regex=^E[0-9]+$; qualifier=skipped |
Current schemas
[edit source]Notes
[edit source]- The bundled ImportConstraintEntities script failed because its entity serialization format was incompatible with this Wikibase install.
- This page uses locally created Roovet Data constraint vocabulary instead.
- The constraints are informational and are meant to guide cleanup before larger imports.
Next step
[edit source]Verify constraint display/API output for Property:P9, Property:P28, Property:P856, and Property:P34.