Closed jmformenti closed 4 months ago
As it suggests there is a line openToolDB ( 'quickstatements_p' ) in the original repo which is presumably designed to open a MySQL / MariaDB database. It looks like php-mysqli would need to be installed and additional configuration done to actually hook it up to a database but all of that setup is not documented and shared with other of Wikidata's Magnus tools.
This has been looked into in T234827 although not resolved, perhaps it has something you can use.
Thanks @GreenReaper. After reviewing various scattered pieces of information and debugging, I figured out how to add it.
For reference, in this commit, I've added all the necessary changes: https://github.com/jmformenti/wikibase-release-pipeline/commit/5d9a4370adcca0bf99ea130f65b65c86567067f9
Now, I'm able to run batches from both the UI and command line :thumbsup:.
It seems that Quickstatements needs a database for some features related with batches, for example, get a new token. I'm getting this error:
Is there a way to support a database configuration in the current Quickstatements docker image? If not, is there any place that provides information on how to configure it (even if manually)?