Page MenuHomePhabricator

mwcli: consider including python3 in images
Closed, DeclinedPublicFeature

Description

SyntaxHighlight_GeSHi is one of the default bundled mediawiki extensions. It requires that python3 be installed, or it will regularly spit out errors like the following:

CleanShot 2026-02-19 at 17.59.28@2x.png (1,244×486 px, 131 KB)

It is possible to go in to the mwcli-mwdd-default-mediawiki-1 container and apt install python3, but that seems rather against the spirit of containerized development.

Event Timeline

Generally speaking id say yes the container should just have python in it.
However currently mwcli doesn't control the images, they are releng / mw developer images.
It's something I have always sat on the fence about, in terms of if mwcli should just build it's own images too tbh!

I'm not sure why the releng images don't have it, honestly. Same arguments apply.

I don't think I'll put it in directly,
but I have made it nice and easy to make your own images as part of it / build on the defaults

Considered, but I dont really want to maintain another set of images for mwcli.
Instead, inline with T298484: [mwcli docker] Document how to user Dockerfile overrides for mediawiki service there is functioanlity now to easily define custom Dockerfiles, and the mediawiki one at least has an example right now..