Mb2wikidatabot
A bot for importing data from MusicBrainz into Wikidata
Install / Use
/learn @metabrainz/Mb2wikidatabotREADME
Wikidata bot to add MBIDs
Installation
This needs both psycopg2 and
pywikipediabot (core repository).
Both can be installed with
pip install -r requirements.txt
After installation configure pywikibot so the login works non-interactively. This repository is made to work with the MineoBot user on Wikidata. Its password needs to be stored in a file called passwd with the following content:
('MineoBot', '<bot-password-here>')
Copy bot/settings.py.dist to bot/settings.py and edit the connection string
settings. Their format is
documented
here.
The readonly_connection_string is used to connect to a MusicBrainz database to
extract all the entities that have links to Wikipedia articles. The readwrite
connection string is used to connect to a database with read and write access to
keep a log of all already processed MBIDs.
If you want the bot to automatically edit URLs to redirect pages in Wikipedia to their target pages, do
git submodule init
git submodule update
and set the mb_user and mb_password values in bot/settings.py to your bots
login data in MusicBrainz.
Please make sure that your bot does not violate the Code of Conduct for bots in MusicBrainz
The configuration of a running bot can be reloaded by sending it a HUP signal.
Related Skills
node-connect
339.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
