| Lucas_Werkmeister_WMDE added subscribers: abian, Amire80. Lucas_Werkmeister_WMDE added a comment. |
Hm, there is one problem: in constraint statements, you should only specify a single property in one “mandatory qualifier” constraint (source), while in templates it’s allowed to specify multiple properties. Only 16 constraints on Wikidata actually do that, so in my opinion it’s okay to drop support for this even while we still support constraint templates for a short time (we’ll just quietly ignore the extra properties in a template instead of raising an exception), but this means that the current message is no longer appropriate.
Here’s the current message for “mandatory qualifiers”:
This $1 statement is missing {{PLURAL:$2|1=a qualifier $4.|2=$4 and $5 qualifiers.|the following qualifiers:$3}}
with the following explanation:
Message for a violation of the “Mandatory qualifiers” constraint, when one or more mandatory qualifiers are missing on a statement. Parameters:
- $1 is the property of the statement.
- $2 is the number of missing qualifiers.
- $3 is an HTML list of all missing qualifiers.
- $4, $5 etc. are the individual missing qualifiers.
I see three options:
- Keep the message exactly as it is, and always supply $2 = 1, $3 = one-element list, $4 = the single required qualifier.
- Change the message to “This $1 statement is missing a qualifier $4.”, and document $2 and $3 as dummy/placeholder parameters. For compatibility with old messages, still supply $2 = 1 and $3 = one-element list.
- Change the message to “This $1 statement is missing a qualifier $2.”
I’m not sure what the best option is… perhaps @Amire80 or @abian can comment?
Cc: Amire80, abian, Lucas_Werkmeister_WMDE, Aklapper, GoranSMilovanovic, QZanden, Izno, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
