I hope this is an appropriate place for this. I wish you guys used github proper and tracked bugs via that. In any case, in some cases documentation says that since 1.27 VE is integrated into the mediawiki install. But only kinda? Like it's there but it does not work without parsoid? In any case I set up mediawiki with the parsoid service and installed the VE plugin. It works, but the code block insert throws the following error:
[error/extension][wiki$0/Main_Page] Error Failed to parse the JSON response for Extension Parse parsing extension token: {"type":"SelfclosingTagTk","name":"extension","attribs":[{"k":"typeof","v":"mw:Extension"},{"k":"name","v":"syntaxhighlight"},{"k":"about","v":"#mwt1"},{"k":"source","v":"<syntaxhighlight lang=\"bash\">\necho test\n</syntaxhighlight>"},{"k":"options","v":[{"k":"lang","v":"bash","vsrc":"bash"}]}],"dataAttribs":{"tsr":[0,58],"stx":"html","src":"<syntaxhighlight lang=\"bash\">\necho test\n</syntaxhighlight>","tagWidths":[29,18]}}
ParserError: Failed to parse the JSON response for Extension Parse
at PHPParseRequest.ApiRequest._handleBody (/parsoid/lib/mw/ApiRequest.js:457:11)
at PHPParseRequest.ApiRequest._requestCB (/parsoid/lib/mw/ApiRequest.js:415:8)
at Request.self.callback (/parsoid/node_modules/request/request.js:200:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request.<anonymous> (/parsoid/node_modules/request/request.js:1067:10)
at emitOne (events.js:101:20)
at Request.emit (events.js:188:7)
at IncomingMessage.<anonymous> (/parsoid/node_modules/request/request.js:988:12)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:973:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
[info][wiki$0/Main_Page] completed parsing in 481 ms
In any case, to replicate my environment in its entirety you can run on debian/redhat https://github.com/spindance-ops/sd.chef.mediawiki/blob/master/MediaWikiInstaller.bash
Starting and Stopping Services
docker stop CONTAINER_NAME; docker start CONTAINER_NAME
Accessing Daemon Logs
docker logs [ -f ] CONTAINER_NAME
Accessing a Shell
docker exec -ti CONTAINER_NAME /bin/sh
Managing the Database
docker exec -ti mariadb mysql