Code Monkey home page Code Monkey logo

Comments (8)

jhsoby avatar jhsoby commented on June 16, 2024 1

@maxlath It's working, hurrah! Thank you very much, and happy new year to you! :-)

from wikibase-cli.

jhsoby avatar jhsoby commented on June 16, 2024

Oh, and similarly, we need some syntax for how to add this for create-item.

from wikibase-cli.

maxlath avatar maxlath commented on June 16, 2024

The monolingual text claim issue got fixed by 18aa868, see the rich claim value documentation

And for create-item (and now also edit-item), the updated documentation is here

from wikibase-cli.

jhsoby avatar jhsoby commented on June 16, 2024

Thank you very much! 👍

from wikibase-cli.

maxlath avatar maxlath commented on June 16, 2024

you're welcome :)

from wikibase-cli.

jhsoby avatar jhsoby commented on June 16, 2024

Sorry to bother you about this again, but I'm not getting this to work with create-item. I'm wondering if I'm doing something wrong, or if it is a bug. The command I'm trying is this:

wd create-item '{"labels":{"nb":"Lundeborg"},"descriptions":{"nb":"etternavn"},"claims":{"P1705":{"text":"Lundeborg","language":"mul"}}}'

The error I'm getting is missing claim value [ 'P1705', undefined ]

With add-claim it works as it should.

from wikibase-cli.

maxlath avatar maxlath commented on June 16, 2024

And its was indeed a bug in wikidata-edit, that was fixed in maxlath/wikibase-edit@570b2d1

The patch was published in wikidata-cli v5.7.2. Thank you for spotting and sorry for the trouble!

from wikibase-cli.

maxlath avatar maxlath commented on June 16, 2024

you're welcome! :D
happy new year to you too!

from wikibase-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.