Lucas_Werkmeister_WMDE added a comment.

  Note that it’s also possible to have only a replacement value but no 
replacement property. Query of conflicts-with constraints with replacements. 
<https://query.wikidata.org/#SELECT%20%3Fproperty%20%3FpropertyLabel%20%3FotherPropertyLabel%20%3FotherValueLabel%20%3FreplacementPropertyLabel%20%3FreplacementValueLabel%20WHERE%20%7B%0A%20%20%3Fproperty%20p%3AP2302%20%3Fconstraint.%0A%20%20%3Fconstraint%20ps%3AP2302%20wd%3AQ21502838%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20pq%3AP2306%20%3FotherProperty.%0A%20%20OPTIONAL%20%7B%20%3Fconstraint%20pq%3AP2305%20%3FotherValue.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fconstraint%20pq%3AP6824%20%3FreplacementProperty.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fconstraint%20pq%3AP9729%20%3FreplacementValue.%20%7D%0A%20%20FILTER%28BOUND%28%3FreplacementProperty%29%20%7C%7C%20BOUND%28%3FreplacementValue%29%29%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D>
  (Also, the message documentation should make it clear to translators that 
“instead” needs to be as vague as it is, because looking at that query, it 
seems like $3 should sometimes be used “instead of $1” and sometimes “instead 
of $2” – this needs to be left to the interpretation of the human reader of the 
message, I think.)
  
  For the multi-multi case I would suggest a message with more than one 
paragraph, something like:
  
  > An entity should not have statements for both $1 and $2.
  >
  > Replacement properties:
  >
  > - …
  >
  > Replacement values:
  >
  > - …
  
  This is probably a separate message; I’m not sure how many of the other 
options should be combined into shared messages (using PLURAL) and how many of 
them should also be separate messages.

TASK DETAIL
  https://phabricator.wikimedia.org/T277826

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Agabi10, Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Pamputt, Esc3300, Bugreporter, Aklapper, Agabi10, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
Eihel, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, abian, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to