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

Change subject: Remove unused message
......................................................................

Remove unused message

The wbqc-violation-message-type-relation-instance-or-subclass message
has been unused since commit 8bd6518a9c (change I7e98ff5d74) removed
support for constraint parameters imported from constraint templates,
and with T169858 it is about to become inaccurate as well. (If
constraint parameters from a constraint statement specify an invalid
value for the “relation” parameter, the more generic
wbqc-violation-message-parameter-oneof message is used instead.)

Bug: T169858
Change-Id: I92c1d469ab5aa2c909078e4790cb6b5b18bdbf4e
---
M i18n/en.json
M i18n/qqq.json
2 files changed, 0 insertions(+), 2 deletions(-)


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

diff --git a/i18n/en.json b/i18n/en.json
index f10ed45..2327d3e 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -134,7 +134,6 @@
        "wbqc-violation-message-range-time-rightopen": "The value for $1 ($2) 
should not be before $3.",
        "wbqc-violation-message-single-value": "This property should only 
contain a single value. That is, there should only be one statement using this 
property.",
        "wbqc-violation-message-symmetric": "$1 should also have the symmetric 
statement $2 $3.",
-       "wbqc-violation-message-type-relation-instance-or-subclass": "Parameter 
\"relation\" must be either \"instance\" or \"subclass\".",
        "wbqc-violation-message-type-instance": "Entities using the $1 property 
should be instances of {{PLURAL:$3|1=$5|2=$5 or $6|one of the following 
classes}} (or of {{PLURAL:$3|1=a subclass of it|2=a subclass of them|one of 
their subclasses}}), but $2 currently {{PLURAL:$3|1=isn't.|2=isn't.|isn't: 
$4}}",
        "wbqc-violation-message-type-subclass": "Entities using the $1 property 
should be subclasses of {{PLURAL:$3|1=$5|2=$5 or $6|one of the following 
classes}} (or of {{PLURAL:$3|1=a subclass of it|2=a subclass of them|one of 
their subclasses}}), but $2 currently {{PLURAL:$3|1=isn't.|2=isn't.|isn't: 
$4}}",
        "wbqc-violation-message-valueType-instance": "Values of $1 statements 
should be instances of {{PLURAL:$3|1=$5|2=$5 or $6|one of the following 
classes}} (or of {{PLURAL:$3|1=a subclass of it|2=a subclass of them|one of 
their subclasses}}), but $2 currently {{PLURAL:$3|1=isn't.|2=isn't.|isn't: 
$4}}",
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 03b0081..8c4484d 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -132,7 +132,6 @@
        "wbqc-violation-message-range-time-rightopen": "Message for a violation 
of the “Range” constraint, when the value of a statement is earlier than 
allowed (for a time range with a lower but no upper limit). Parameters:\n* $1 
is the property of the statement.\n* $2 is the value of the statement.\n* $3 is 
the lower bound of the range 
(inclusive).\n{{Related|wbqc-violation-message-range-time-closed}}\n{{Related|wbqc-violation-message-range-quantity-rightopen}}",
        "wbqc-violation-message-single-value": "Message for violation of Single 
value constraint. When more than one value exists.",
        "wbqc-violation-message-symmetric": "Message for a violation of the 
“Symmetric” constraint, when the symmetric statement of a statement does not 
exist. $1, $2 and $3 contain the expected subject entity, property, and target 
entity of the missing symmetric statement.",
-       "wbqc-violation-message-type-relation-instance-or-subclass": "Message 
for violation of Type/Value type constraint. When relation is neither instance 
nor subclass.",
        "wbqc-violation-message-type-instance": "Message for a violation of the 
“Type” constraint, when the subject of a statement should have be an instance 
of a certain type but isn't. $1 is the property of the statement, $2 is the 
subject of the statement, $3 is the number of classes, $4 is an HTML list of 
all classes, and $5, $6 etc. are the individual 
classes.\n{{Related|wbqc-violation-message-type-subclass}}",
        "wbqc-violation-message-type-subclass": "Message for a violation of the 
“Type” constraint, when the subject of a statement should have be a subclass of 
a certain type but isn't. $1 is the property of the statement, $2 is the 
subject of the statement, $3 is the number of classes, $4 is an HTML list of 
all classes, and $5, $6 etc. are the individual 
classes.\n{{Related|wbqc-violation-message-type-instance}}",
        "wbqc-violation-message-valueType-instance": "Message for a violation 
of the “Value type” constraint, when the value of a statement should have be an 
instance of a certain type but isn't. $1 is the property of the statement, $2 
is the value of the statement, $3 is the number of classes, $4 is an HTML list 
of all classes, and $5, $6 etc. are the individual 
classes.\n{{Related|wbqc-violation-message-valueType-subclass}}",

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I92c1d469ab5aa2c909078e4790cb6b5b18bdbf4e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseQualityConstraints
Gerrit-Branch: master
Gerrit-Owner: Lucas Werkmeister (WMDE) <lucas.werkmeis...@wikimedia.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to