MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=wbcheckconstraintparameters
(main | wbcheckconstraintparameters)
- This module requires read rights.
- Source: WikibaseQualityConstraints
- License: GPL-2.0-or-later
Checks the constraint parameters of constraint statements.
Either or both of the property and constraintid parameters may be specified; all constraints selected by either parameter will be checked.
Specific parameters:
Other general parameters are available.
- propertyid
List of property IDs to check. All constraint statements of these properties will be checked.
If this parameter is specified, it must be nonempty.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- constraintid
List of constraint IDs (constraint statement GUIDs) to check.
If this parameter is specified, it must be nonempty.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
Examples:
- Check constraint parameters of all constraints on a property.
- api.php?action=wbcheckconstraintparameters&propertyid=P247 [open in sandbox]
- Check constraint parameters of two particular constraints.
- api.php?action=wbcheckconstraintparameters&constraintid=P247$0fe1711e-4c0f-82ce-3af0-830b721d0fba|P225$cdc71e4a-47a0-12c5-dfb3-3f6fc0b6613f [open in sandbox]