Mushroom <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #1 from Mushroom <> ---
The "malformed input" error is thrown by the RegexValidator in function
buildStringType from WikibaseDataTypeBuilders. It often happens when
copy-pasting text from other sources (see when adding
commonscat) and it is made worse by bug 63301 which sometimes adds newlines
when pressing return to save the claim, thus triggering the error.

The trimming was previously done in ValueView but it has since been removed
We could use the StringNormalizer class to trim the string and also remove
incomplete UTF-8 sequences (see related bug 50486), however I'm not familiar
with the data value processing code so I'm not sure where is the correct place
to do it.

You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to