Lucas Werkmeister (WMDE) has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/349401 )

Change subject: Migrate extension.json to manifest_version 2
......................................................................

Migrate extension.json to manifest_version 2

This allows us to document the configuration options, which I believe
will be very useful once we start adding all the options for importing
constraints from property statements (lots of configurable property IDs
and item IDs).

Change-Id: Ic7ad9af6760c4eeac6640af72d9facc2d0b8de88
---
M extension.json
M i18n/en.json
M i18n/qqq.json
3 files changed, 20 insertions(+), 5 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikibaseQualityConstraints
 refs/changes/01/349401/1

diff --git a/extension.json b/extension.json
index e1b8340..e7d7ff9 100644
--- a/extension.json
+++ b/extension.json
@@ -44,8 +44,18 @@
                }
        },
        "config": {
-               "WBQualityConstraintsInstanceOfId": "P31",
-               "WBQualityConstraintsSubclassOfId": "P279"
+               "WBQualityConstraintsInstanceOfId": {
+                       "value": "P31",
+                       "description": "The property ID of the 'instance of' 
property, which specifies the class(es) of an item.",
+                       "descriptionmsg": "wbqc-config-instance-of-id",
+                       "public": true
+               },
+               "WBQualityConstraintsSubclassOfId": {
+                       "value": "P279",
+                       "description": "The property ID of the 'subclass of' 
property, which specifies the superclass(es) of an item.",
+                       "descriptionmsg": "wbqc-config-subclass-of-id",
+                       "public": true
+               }
        },
-       "manifest_version": 1
+       "manifest_version": 2
 }
diff --git a/i18n/en.json b/i18n/en.json
index c01e399..9a03ba4 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -73,5 +73,8 @@
        "wbqc-violation-message-type": "This property must only be used on 
items that are in the relation to the item (or a subclass of the item) defined 
in the parameters.",
        "wbqc-violation-message-target-required-claim-property": "This property 
must only be used when there is a statement on its value entity using the 
property defined in the parameters.",
        "wbqc-violation-message-target-required-claim-claim": "This property 
must only be used when there is a statement on its value entity using the 
property with one of the values defined in the parameters.",
-       "wbqc-violation-message-value-type": "This property's value entity must 
be in the relation to the item (or a subclass of the item) defined in the 
parameters."
+       "wbqc-violation-message-value-type": "This property's value entity must 
be in the relation to the item (or a subclass of the item) defined in the 
parameters.",
+
+       "wbqc-config-instance-of-id": "The property ID of the 'instance of' 
property, which specifies the class(es) of an item.",
+       "wbqc-config-subclass-of-id": "The property ID of the 'subclass of' 
property, which specifies the superclass(es) of an item."
 }
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 2c97639..e81ed9c 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -68,5 +68,7 @@
        "wbqc-violation-message-type": "Message for violation of Type 
constraint. When entity is not of given type.",
        "wbqc-violation-message-target-required-claim-property": "Message for 
violation of Target required claim constraint. When only a property is given.",
        "wbqc-violation-message-target-required-claim-claim": "Message for 
violation of Target required claim constraint. When property and value are 
given.",
-       "wbqc-violation-message-value-type": "Message for violation of Value 
type constraint. When value is not of given type."
+       "wbqc-violation-message-value-type": "Message for violation of Value 
type constraint. When value is not of given type.",
+       "wbqc-config-instance-of-id": "Description of the configuration option 
that specifies the 'instance of' property ID.",
+       "wbqc-config-subclass-of-id": "Description of the configuration option 
that specifies the 'subclass of' property ID."
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/349401
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic7ad9af6760c4eeac6640af72d9facc2d0b8de88
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseQualityConstraints
Gerrit-Branch: master
Gerrit-Owner: Lucas Werkmeister (WMDE) <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to