wikibase-cli
wikibase-cli copied to clipboard
read and edit a Wikibase instance from the command line
- wikibase-cli version: ```bashwb --version 16.1.1 ``` - OS version: ```bash lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.4 LTS Release: 20.04 Codename: focal ```...
Hi, for the record, here is a patch for commander 9 (to be applied after #158) : ```patch --- a/metadata/add-alias.js +++ b/metadata/add-alias.js @@ -1,6 +1,6 @@ module.exports = { alias:...
Hi, for the record, here is a patch for commander 8: ```patch --- a/bin/wb +++ b/bin/wb @@ -1,5 +1,5 @@ #!/usr/bin/env node -const program = require('commander') +const program = require('commander').storeOptionsAsProperties(true)...
At https://www.wikidata.org/wiki/Wikidata:Bot_requests, the most frequent requests tend to be those involving changes in references. This is because there is currently no tool which can update reference property values or change...
- wikibase-cli version: 1. Configure the Wikibase CLI to use a Wikibase that uses federated properties such as https://wikipediacitations.wiki.opencura.com/wiki/ 2. Try to create an item. Example command: `wb create-entity \'{"type":"item","labels":...
I'm trying to copy items from one wikibase to another. (I have copied properties manually first.) To begin with something simpler, I tried to create a duplicate of an item...
Is there a good way to fetch one or multiple properties for a (potentially long) list of QIDs in CSV format? Here's example code for what I have this far...
Wish for next year, make this more useful: ``` > wd d E233 /usr/lib/node_modules/wikibase-cli/lib/tolerant_id_parser.js:25 throw errors_.new('invalid id', input) ^ ```
Working with multiple user accounts and configurations could be simplified. Right now I use something like DIR=$(dirname $(wd config path)) wd config -j > $DIR/config.$FOO.json; ln -sf $DIR/config.$BAR.json $DIR/config.json to...
could be based on [shex.js](https://github.com/shexSpec/shex.js)