Dominicbm added a comment.

  In T47925#7800934 <https://phabricator.wikimedia.org/T47925#7800934>, @Manuel 
wrote:
  
  > Hi @Dominicbm, thank you for your comment. Are you using the API or the UI 
for your edits? In case you are using the API, please try to use the parse API 
(wbparsevalue) before making the actual edit. In case you are using the UI, 
could you please provide us with additional information?
  >
  > @Lucas_Werkmeister_WMDE: I agree about the task. I want to close this task 
and asked you to find the right way to do it (e.g. create a more specific 
ticket for what still might be a problem). And yes, this should sit in the 
parse API and not in the edit API. I like your idea to improve the 
documentation and make this a first task. Thx!
  
  Sorry to confuse things. I thought this was the same behavior in the UI, 
which is why I was saying it would be very difficult to expect a user to debug 
a message when characters like NBSP are invisible. To clarify, I do think I 
observe this issue in the UI, but I've only tried in SDC, not Wikidata. Maybe 
this issue should be split out if it's only in Commons. In any case, yes, I am 
personally encountering this in the API. My process was that I first 
experienced this in the API, and then I tried copying and pasting into the UI 
for debugging. That's where I say that the error message is pretty useless in 
the UI. This is me trying to enter in three different variations with trailing 
whitespace/NBSP, and all look the same with no clarity of what is the problem.
  
  F35021645: Screen Shot 2022-03-23 at 6.05.16 PM.png 
<https://phabricator.wikimedia.org/F35021645>
  
  Regarding `wbparsevalue`, this is a useful suggestion that I was actually 
unaware of it. Perhaps that suggestion would be useful user education to also 
put in an improved error message.
  
  I'm not sure I can utilize this for my use case, though. I run DPLA_bot, 
which is sometimes making millions of edits in a batch. I would rather not 
double the number of API requests because of a few hundred of those millions 
having illegal characters.
  
  I get that we're discussing a couple of different things now. Sorry again if 
I contributed to making it messy.

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

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

To: Dominicbm
Cc: Dominicbm, Manuel, Lucas_Werkmeister_WMDE, Addshore, Herzi.Pinki, 
MichaelSchoenitzer, Billinghurst, Esc3300, ChristianKl, Ricordisamoa, Aklapper, 
adrianheine, Snaterlicious, Mushroom, Lydia_Pintscher, daniel, Raymond, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, Akuckartz, Dinadineke, 
DannyS712, Nandana, lucamauri, tabish.shaikh91, Lahi, Gq86, GoranSMilovanovic, 
Jayprakash12345, JakeTheDeveloper, QZanden, merbst, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Wikidata-bugs, aude, TheDJ, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to