https://bugzilla.wikimedia.org/show_bug.cgi?id=63301

            Bug ID: 63301
           Summary: String-value statement: additional "\n" added to the
                    string when hitting return for saving
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: wikidata-b...@lists.wikimedia.org
          Reporter: tobias.gritschac...@wikimedia.de
                CC: wikidata-b...@lists.wikimedia.org
       Web browser: ---
   Mobile Platform: ---

If you're adding a statement of type string and you're hitting the return key
for saving too fast (before the save-button gets enabled) you're accidentally
adding a "\n" to the string-value (I guess because the input box in fact is a
textarea). When trying to save afterwards you're getting a "malformed input"
error from the validator because of the "\n".
The same issue can probably occur for URLs.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to