| Addshore added a comment. |
So the script already exists as part of mediawiki.
https://github.com/wikimedia/mediawiki/blob/master/maintenance/createAndPromote.php
I imagine that is all you would need.
Running of this script, i guess, could be part of the other stuff that probably shouldn't live in the image, such as installing the dbs.
https://github.com/wmde/wikibase-docker/blob/master/wikibase/1.30/entrypoint.sh#L15
These should perhaps be provided as separate endpoints that the user can then choose in their own setup. Something like:
- entrypoint.sh # Just run the service
- mwinstall.sh && entrypoint.sh # install mediawiki and run the service
- mwinstall.sh && quickstatementsuser.sh && entrypoint.sh # install mediawiki, add a user for quick statements and run the service
TASK DETAIL
EMAIL PREFERENCES
To: Addshore
Cc: Lydia_Pintscher, Aklapper, Tarrow, Addshore, Magnus, Lucas_Werkmeister_WMDE, Lahi, Gq86, GoranSMilovanovic, lisong, QZanden, LawExplorer, Abbe98, Wikidata-bugs, aude, Mbch331
Cc: Lydia_Pintscher, Aklapper, Tarrow, Addshore, Magnus, Lucas_Werkmeister_WMDE, Lahi, Gq86, GoranSMilovanovic, lisong, QZanden, LawExplorer, Abbe98, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
