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

       Web browser: ---
             Bug #: 36439
           Summary: Setting labels should normalize some things, API
                    should return the actual label on success
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


When setting the label of an item (via API), some normalization should be done.
The case I am thinking about right now is about having several spaces within
the label like "My    Item" where the four spaces should be replaced with one.
This would be consistent with MediaWiki page titles where the same thing is
done.

Also, the API should return the label when setting it, so we can grab it and
display it to the user in the ui accordingly.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to