WB(1)
β¨ NAME β¨
wb β your lil command-line bestie for talking to Wikibase π like literally everything you need, from the terminal, no clicking required
πΈ SYNOPSIS πΈ
wb [options] [command]
π DESCRIPTION π
A command-line interface to Wikibase. That's the whole vibe β you get to poke at Wikibase from your terminal instead of the browser, and honestly? It's giving main character energy π«Ά
π OPTIONS π
-V,--versionβ prints the version number, so you can flex which build you're running β¨-h,--helpβ shows you the help for the command. your safety net, bestie π§
π¦ Commands π¦
add-alias|aa [entity] [language] [aliases]β adds one or several aliases to the list of aliases of an entity in a given language πadd-claim|ac [entity] [property] [value]β adds a claim to an entityadd-qualifier|aq [claim-guid] [property] [value]β adds a qualifier to a claimadd-reference|ar [claim-guid] [property] [value]β adds a reference to a claimaliases|a [entity]β shows the entity's aliases πclaims|c [entity] [property]β shows the claims of an entityconfig [key] [value]β get and set configuration parametersconvert []β converts batches of external ids to Wikidata ids and vice versacreate-entity|ce [data]β creates a new entity β¨ brand new, fresh out the boxdata|d [entity]β outputs the entity's datadelete-entity|de [id]β deletes an entity π gone, poofdescription|desc [entity]β shows the entity's descriptionedit-entity|ee [data]β edits an existing entitygenerate-template|gt [entity]β outputs the pre-formatted item's data optimized for edition withwd edit-itemπhub|h [query]β opens a web page using the Hub, see the documentation: https://tools.wmflabs.org/hub/id [title]β gets a Wikidata id from a Wikipedia article titlelabel|l [entity]β shows the entity's labellang [code]β identifies a language code and returns the associated data πlemma [lexeme]β shows the lexeme's lemmamerge-entity|me [from-id] [to-id]β merges an entity into anothermove-claim|mc [guid|property-claims-id] [target-entity-id] [target-property-id]β moves claims from an entity to another and/or from a property to anothermove-qualifier|mq [guid] [hash] [old-property-id] [new-property-id]β moves qualifiers of a claim from one property to anotheropen|o [entity]β opens the entity's page on the Wikidata websiteprops|pβ outputs the list of all Wikidata propertiesquery|q []β generates and runs a simple SPARQL query by passing a statement's subject, property, or object, or a couple of those π₯remove-alias|ra [entity] [language] [aliases]β removes one or several aliases from the list of aliases of an entity in a given languageremove-claim|rc [guids]β removes claims by their GUIDsremove-qualifier|rq [claim-guid] [qualifiers-hashes]β removes qualifiers from a claimremove-reference|rr [claim-guid] [references-hashes]β removes references from a claimrevisions|r [entity]β outputs the entity's revisions data πsearch|f [search]β searches entities πset-alias|sa [entity] [language] [aliases]β sets the list of aliases of an entity in a given languageset-description|sd [entity] [language] [description]β sets a description on an entity in a given languageset-label|sl [entity] [language] [label]β sets a label on an entity in a given languagesparql|s [file.rq]β runs a SPARQL query and gets its JSON outputsummary|u [entity]β shows basic information on the requested entityupdate-claim|uc [guid] [new-value]β updates a claim's valueupdate-qualifier|uq [claim-guid] [property] [old-value] [new-value]β updates a qualifier from an existing value to a new valuehelp [command]β displays help for command π«Ά when in doubt, ask for help, that's the rule
okay that's literally the whole page, bestie β go forth and edit some entities π β¨
this was wb version 15.15.4, dated November 2023 β she's a Scorpio, she's iconic, she's on the WB(1) manual page, and she ate π
π¦ where this page comes from
- ubuntu noble: node-wikibase-cli 15.15.4-5ubuntu4 Β· MIT
- ubuntu questing: node-wikibase-cli 15.15.4-5ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms