Jakob_WMDE added a comment.

  I can reproduce this locally and found similarly broken cases while trying to 
figure out what the response is actually supposed to look like. It seems that 
`ApiErrorReporter::dieStatus` is expected to always add an English error 
message on top of the localized (in the user language) error. I'm not sure yet 
whether the problem lies in `ApiErrorReporter`, in the code that consumes its 
output, or somewhere else.
  
  I wonder if this is related to changes regarding the API `errorformat`, e.g. 
T242769 <https://phabricator.wikimedia.org/T242769>?
  
  Example of a similar case: with `uselang=de` edit conflicts show one error in 
German and one in English. Interestingly it looks fine when the language is 
English, i.e. it's not shown twice as it's the case described in the task 
description here.
  F32245214: Screenshot from 2020-09-04 17-17-00.png 
<https://phabricator.wikimedia.org/F32245214>

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

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

To: Jakob_WMDE
Cc: Lucas_Werkmeister_WMDE, HakanIST, Aklapper, Akuckartz, Iflorez, 
darthmon_wmde, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, 
Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to