Crates.io | wikibase |
lib.rs | wikibase |
version | 0.7.2 |
source | src |
created_at | 2018-02-16 16:37:39.303017 |
updated_at | 2024-07-15 15:21:56.52204 |
description | A library to access Wikibase |
homepage | |
repository | https://gitlab.com/tobias47n9e/wikibase_rs |
max_upload_size | |
id | 51413 |
size | 17,257,700 |
A tool to communicate with Wikibase (the most famous instance being Wikidata). Currently only reading the JSON-API is possible. Parsing the JSON-dumps and editing Wikibase are on the roadmap.
cargo install wikibase
See documentation linked from crates.io
This tool and the community around it are part of the Wikimedia movement. Everybody is welcome to contribute. Plase refer to this guide https://www.mediawiki.org/wiki/Code_of_Conduct before contributing.
Tests can be run locally cargo test
or with a reproducible
environment with e.g. Docker:
docker run -it -v ${PWD}:/var/wikibase -w /var/wikibase rust bash
GNU General Public License, Version 2 or later (GPL-2.0+)
https://gitlab.com/tobias47n9e/wikibase_rs
https://crates.io/crates/wikibase
By default Wikibase RS will use Wikidata. To use a different Wikibase instance you have to change the default configuration:
let configuration = wikibase::Configuration::new("My-Fancy-App/1.0").unwrap();
configuration.set_api_url("https://www.my-wikibase-instance.rs/w/api.php");
Dedicated to Krzysztof Machocki. We will remember Krzysztof with his contagious enthusiasm and dedication, for his vast encyclopedic knowledge and wit, for his faith in how Wikipedia makes the world better, both online and offline. We lose him but let us not lose the faith he shared with the world. The memory of him remains and his Wikipedia legacy will continue to help the world.
https://meta.wikimedia.org/wiki/CEE/Newsletter/January_2018/Contents/From_the_team