Last modified: 2014-07-16 10:31:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67744, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65744 - Removing a label through wbeditentity with "remove":true does not work
Removing a label through wbeditentity with "remove":true does not work
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-25 17:19 UTC by Bene*
Modified: 2014-07-16 10:31 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bene* 2014-05-25 17:19:11 UTC
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.
Comment 1 Gerrit Notification Bot 2014-05-25 19:11:14 UTC
Change 135327 had a related patch set uploaded by Bene:
Fix removing a label through wbeditentity with "remove":true

https://gerrit.wikimedia.org/r/135327
Comment 2 tobias.gritschacher 2014-05-26 12:38:36 UTC
https://gerrit.wikimedia.org/r/135327 has been merged.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links