[Wikidata-bugs] [Maniphest] T251380: Trim text input before saving on Wikibase string input

2022-03-22 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. Hm, looks like SDC doesn’t use the parse API, at least not for strings. F35020195: Screenshot from 2022-03-22 18-30-15.png TASK DETAIL https://phabricator.wikimedia.org/T251380 EMAIL PREFERENCES https

[Wikidata-bugs] [Maniphest] T251380: Trim text input before saving on Wikibase string input

2022-03-22 Thread Raymond
Raymond added a comment. In T251380#7797582 , @Lucas_Werkmeister_WMDE wrote: > I think the parse API already trims strings? Example: https://www.wikidata.org/w/api.php?action=wbparsevalue&datatype=string&values=%20abc%20def%20&format=jso

[Wikidata-bugs] [Maniphest] T251380: Trim text input before saving on Wikibase string input

2022-03-22 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. I think the parse API already trims strings? Example: https://www.wikidata.org/w/api.php?action=wbparsevalue&datatype=string&values=%20abc%20def%20&format=json&formatversion=2 TASK DETAIL https://phabricator.wikimedia.org/T251380 EMAIL PREFERENCES

[Wikidata-bugs] [Maniphest] T251380: Trim text input before saving on Wikibase string input

2022-03-22 Thread Manuel
Manuel added subscribers: Lucas_Werkmeister_WMDE, Manuel. Manuel added a comment. Hi @Lucas_Werkmeister_WMDE, we now have built in Unicode normalization of string values already, right? So if we solved this task, it would automatically solve T47925 a

[Wikidata-bugs] [Maniphest] T251380: Trim text input before saving on Wikibase string input

2022-02-01 Thread Nikki
Nikki added a comment. In T251380#7081252 , @Lydia_Pintscher wrote: > Putting it on my list to discuss with Adam next week. > > Open question from my side: how do we deal with statements where the value is supposed to be only a white

[Wikidata-bugs] [Maniphest] T251380: Trim text input before saving on Wikibase string input

2021-05-12 Thread Lydia_Pintscher
Lydia_Pintscher added a comment. Putting it on my list to discuss with Adam next week. Open question from my side: how do we deal with statements where the value is supposed to be only a whitespace? (I'm thinking of the Item for the whitespace character for example.) TASK DETAIL https

[Wikidata-bugs] [Maniphest] T251380: Trim text input before saving on Wikibase string input

2021-05-11 Thread Raymond
Raymond added a comment. Any chance that this could be fixed in the near future? It's really annoying to run into the misleading error "wrong input". As I am an experienced user I know what to do (trim by hand) but other people with less experience would give up :-( TASK DETAIL https://ph