[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://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Manuel, Lucas_Werkmeister_WMDE, Nikki, Multichill, Lydia_Pintscher, 
Aklapper, Raymond, Astuthiodit_1, karapayneWMDE, Invadibot, GFontenelle_WMF, 
maantietaja, FRomeo_WMF, CBogen, Nintendofan885, Akuckartz, Nandana, JKSTNK, 
Lahi, Gq86, E1presidente, Ramsey-WMF, Cparle, SandraF_WMF, GoranSMilovanovic, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, Silverfish, _jensen, 
rosalieper, Scott_WUaS, Susannaanas, Jane023, Wikidata-bugs, Base, 
matthiasmullie, aude, Ricordisamoa, Wesalius, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[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=json&formatversion=2
  
  But still not the desktop UI of Structured Data on Commons :-( Tested a 
second ago.

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

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

To: Raymond
Cc: Manuel, Lucas_Werkmeister_WMDE, Nikki, Multichill, Lydia_Pintscher, 
Aklapper, Raymond, Astuthiodit_1, karapayneWMDE, Invadibot, GFontenelle_WMF, 
maantietaja, FRomeo_WMF, CBogen, Nintendofan885, Akuckartz, Nandana, JKSTNK, 
Lahi, Gq86, E1presidente, Ramsey-WMF, Cparle, SandraF_WMF, GoranSMilovanovic, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, Silverfish, _jensen, 
rosalieper, Scott_WUaS, Susannaanas, Jane023, Wikidata-bugs, Base, 
matthiasmullie, aude, Ricordisamoa, Wesalius, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[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
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Manuel, Lucas_Werkmeister_WMDE, Nikki, Multichill, Lydia_Pintscher, 
Aklapper, Raymond, Astuthiodit_1, karapayneWMDE, Invadibot, GFontenelle_WMF, 
maantietaja, FRomeo_WMF, CBogen, Nintendofan885, Akuckartz, Nandana, JKSTNK, 
Lahi, Gq86, E1presidente, Ramsey-WMF, Cparle, SandraF_WMF, GoranSMilovanovic, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, Silverfish, _jensen, 
rosalieper, Scott_WUaS, Susannaanas, Jane023, Wikidata-bugs, Base, 
matthiasmullie, aude, Ricordisamoa, Wesalius, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[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  and others. In your 
opinion, could we just enable automated trimming in the parser? The case would 
be that we do not allow whitespace values in the UI, as I see no reason not to 
keep the working status quo. This seems like an obvious thing that we should 
do, but maybe I have missed something,

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

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

To: Manuel
Cc: Manuel, Lucas_Werkmeister_WMDE, Nikki, Multichill, Lydia_Pintscher, 
Aklapper, Raymond, Astuthiodit_1, karapayneWMDE, Invadibot, GFontenelle_WMF, 
maantietaja, FRomeo_WMF, CBogen, Nintendofan885, Akuckartz, Nandana, JKSTNK, 
Lahi, Gq86, E1presidente, Ramsey-WMF, Cparle, SandraF_WMF, GoranSMilovanovic, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, Silverfish, _jensen, 
rosalieper, Scott_WUaS, Susannaanas, Jane023, Wikidata-bugs, Base, 
matthiasmullie, aude, Ricordisamoa, Wesalius, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[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 whitespace? (I'm thinking of the Item for the 
whitespace character for example.)
  
  Those can't be added right now, so nothing would change there. For items 
about characters, I would suggest always using the P4213 (Unicode code point) 
 value instead (especially if 
you're using SPARQL - T233204 ).
  
  Isn't this ticket for Commons though, not Wikidata? There's already T47925 
 and T250695 
 for Wikidata, although it seems to 
be working fine for me there, e.g. I can no longer reproduce T261071 
.

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

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

To: Nikki
Cc: Nikki, Multichill, Lydia_Pintscher, Aklapper, Raymond, Invadibot, 
GFontenelle_WMF, maantietaja, FRomeo_WMF, CBogen, Nintendofan885, Akuckartz, 
Nandana, JKSTNK, Lahi, Gq86, E1presidente, Ramsey-WMF, Cparle, Anoop, 
SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, LawExplorer, Salgo60, 
Silverfish, _jensen, rosalieper, Scott_WUaS, Susannaanas, Jane023, 
Wikidata-bugs, Base, matthiasmullie, aude, Ricordisamoa, Wesalius, 
Steinsplitter, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[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://phabricator.wikimedia.org/T251380

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

To: Lydia_Pintscher
Cc: Multichill, Lydia_Pintscher, Aklapper, Raymond, Invadibot, GFontenelle_WMF, 
maantietaja, FRomeo_WMF, CBogen, Nintendofan885, Akuckartz, Nandana, JKSTNK, 
Lahi, Gq86, E1presidente, Ramsey-WMF, Cparle, Anooprao, SandraF_WMF, 
GoranSMilovanovic, QZanden, Tramullas, Acer, LawExplorer, Salgo60, Silverfish, 
_jensen, rosalieper, Scott_WUaS, Susannaanas, Jane023, Wikidata-bugs, Base, 
matthiasmullie, aude, Ricordisamoa, Wesalius, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[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://phabricator.wikimedia.org/T251380

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

To: Raymond
Cc: Multichill, Lydia_Pintscher, Aklapper, Raymond, Invadibot, GFontenelle_WMF, 
maantietaja, FRomeo_WMF, CBogen, Nintendofan885, Akuckartz, Nandana, JKSTNK, 
Lahi, Gq86, E1presidente, Ramsey-WMF, Cparle, Anooprao, SandraF_WMF, 
GoranSMilovanovic, QZanden, Tramullas, Acer, LawExplorer, Salgo60, Silverfish, 
_jensen, rosalieper, Scott_WUaS, Susannaanas, Jane023, Wikidata-bugs, Base, 
matthiasmullie, aude, Ricordisamoa, Wesalius, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org