Version 2.15.0 release of Pygments includes the new MediaWiki wikitext lexer from T29828: Add "wikitext" as language in Pygments. For Wikimedia wikis to benefit from this new functionality we need to update both SyntaxHighlight and the related Shellbox container that is used to run pygments in the Wikimedia production environment.
If we take this opportunity to also implement T320848: Install pygments in Shellbox container with pip, not a Debian package it should be easier to keep up with future MediaWiki lexer improvements which are likely to be requested once folks can start to use the new support for highlighting wikitext code snippets on the movement wikis.
Rollout plan
- Deploy shellbox container supporting both /usr/bin/pygmentize and /srv/app/pygmentize.
- Change mw-config to use /srv/app/pygmentize path
- Deploy shellbox container with Pygments 2.15.1