Lucas_Werkmeister_WMDE added a comment.
Some parts of the config might also be useful elsewhere. In the VM: name=/etc/systemd/system/git-update.service [Unit] Description=Update MediaWiki [Service] Type=oneshot ExecStart=/usr/local/bin/mwvagrant git-update WorkingDirectory=/srv/mediawiki-vagrant/ name=/etc/systemd/system/git-update.timer [Unit] Description=Update MediaWiki every ten minutes on working time [Timer] OnCalendar=Mon..Fri *-*-* 08..22:00,10,20,30,40,50:00 [Install] WantedBy=timers.target In the container: name=vagrant/puppet/hieradata/local.yaml classes: - local::entityschema - local::confirmedit - local::i18n name=vagrant/puppet/modules/local/manifests/entityschema.pp class local::entityschema { mediawiki::extension { 'EntitySchema': composer => true, settings => { wgEntitySchemaShExSimpleUrl => 'https://tools.wmflabs.org/shex-simple/wikidata/packages/shex-webapp/doc/shex-simple.html?data=Endpoint: https://query.wikidata.org/sparql&hideData&manifest=[]&textMapIsSparqlQuery', wgNamespaceAliases => { 'Schema' => 640, # NS_ENTITYSCHEMA_JSON 'Schema talk' => 641, # NS_ENTITYSCHEMA_JSON_TALK }, wgContentHandlers => { 'wikitext' => 'WikitextContentHandler', 'javascript' => 'JavaScriptContentHandler', 'json' => 'JsonContentHandler', 'css' => 'CssContentHandler', 'text' => 'TextContentHandler', 'WikibaseSchema' => 'JsonContentHandler', }, }, } } name=vagrant/puppet/modules/local/manifests/confirmedit.pp lass local::confirmedit { # see https://puppet.com/docs/puppet/4.8/lang_data_string.html for string syntax $questions = @(QUESTIONS) [ "What does ShEx stand for?" => "Shape Expressions", "What does RDF stand for?" => "Resource Description Framework", "What is the common abbreviation for the World Wide Web Consortium?" => "W3C", "Which query language is used on Wikidata?" => "SPARQL", "What is the property ID used to define constraints?" => [ "P2302", "2302" ], "What is the item ID of Douglas Adams?" => [ "Q42", "42" ], ] |-QUESTIONS mediawiki::extension { 'ConfirmEdit': settings => [ 'wfLoadExtension( "ConfirmEdit/QuestyCaptcha" );', "\$wgCaptchaQuestions = $questions;", ], } } name=vagrant/puppet/modules/local/manifests/i18n.pp class local::i18n { mediawiki::extension { 'UniversalLanguageSelector': } mediawiki::extension { 'cldr': } mediawiki::extension { 'Babel': } } TASK DETAIL https://phabricator.wikimedia.org/T234313 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Lucas_Werkmeister_WMDE, Aklapper, darthmon_wmde, pdehaye, DannyS712, Nandana, JKSTNK, Fheredia, Jony, Zylc, 1978Gage2001, Lahi, aborrero, Gq86, Andrawaag, GoranSMilovanovic, Chicocvenancio, QZanden, Tbscho, YULdigitalpreservation, LawExplorer, Salgo60, JJMC89, _jensen, rosalieper, srodlund, MisterSynergy, abian, Wikidata-bugs, Jitrixis, aude, Gryllida, Lydia_Pintscher, scfc, Mbch331, Jay8g, Krenair, chasemp
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs