jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/373084 )
Change subject: Update Constraint documentation
......................................................................
Update Constraint documentation
Constraints can no longer have template-style parameters.
Bug: T171291
Change-Id: I0657a3335116a1f4b878f7447eb8ec3e9f562fd8
---
M includes/Constraint.php
1 file changed, 3 insertions(+), 8 deletions(-)
Approvals:
Jonas Kress (WMDE): Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/Constraint.php b/includes/Constraint.php
index 7d2c48d..eba32bf 100644
--- a/includes/Constraint.php
+++ b/includes/Constraint.php
@@ -81,14 +81,9 @@
}
/**
- * There are two formats of constraint parameters that this method can
return:
- *
- * 1. Statement parameters were imported from constraint statements by
{@link UpdateConstraintsTableJob}.
- * They are lists of snak array serializations, indexed by property
ID serialization.
- * 2. Template parameters were imported from constraint templates on
property talk pages.
- * They are plain strings (e. g. 'Q5,Q6,Q7') indexed by template
parameters (e. g. 'item', 'property').
- *
- * Support for template parameters will soon be removed.
+ * The constraint parameters, imported from the qualifiers of the
constraint statement.
+ * Contains lists of snak array serializations, indexed by property ID
serialization.
+ * (The import is done by {@link UpdateConstraintsTableJob}.)
*
* @return array
*/
--
To view, visit https://gerrit.wikimedia.org/r/373084
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0657a3335116a1f4b878f7447eb8ec3e9f562fd8
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/WikibaseQualityConstraints
Gerrit-Branch: master
Gerrit-Owner: Lucas Werkmeister (WMDE) <[email protected]>
Gerrit-Reviewer: Jonas Kress (WMDE) <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits