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

       Web browser: ---
            Bug ID: 49642
           Summary: action=wbcreateclaim can give unrelated error about
                    constraint violation on descriptions
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Using action=wbcreateclaim with the api can give a api error about constraint
violation for a description in a language.

code=save-failed,
info=* A length constraint is triggered for language code "*".
* There is {{PLURAL:1|a constraint|constraints}} violation for
{{PLURAL:1|description|descriptions}} "..." for {{PLURAL:1|language
code|language codes}} "*".
message=wikibase-error-constraint-violation-description

That is a unrelated constraint when adding a new claim for a item and should
not be trigged. Adding the claim works when using the GUI. Thanks.

-- 
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