https://bugzilla.wikimedia.org/show_bug.cgi?id=65744
Bug ID: 65744
Summary: Removing a label through wbeditentity with
"remove":true does not work
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]
Web browser: ---
Mobile Platform: ---
There are two ways to remove a label for a specific language through
wbeditentity, either by setting "value":"" or by setting "remove":true.
However, while
{"labels":{"en-gb":{"language":"en-gb","value":"BLUB","remove":true}}} works,
{"labels":{"en-gb":{"language":"en-gb","remove":true}}} does not work but
returns "A string was expected, but not found in the json for the langCode
en-gb and argument 'value'" as an error.
--
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