As part of T377958: Add helper script functionality to our php images, I've deployed a script implementing the common helpers called by one-off script runners in the mediawiki image:
- mwscript
- foreachwiki
- foreachwikiindblist
- mwscriptwikiset (effectively the same as foreachwikiindblist)
Right now, mwscript-k8s only allows for passing the php script and its arguments directly, but we should provide a way for users to call these helpers (particularly both foreachwiki* and mwscriptwikiset) so that long loops can be executed inside a single Pod, limiting the number of spawned Jobs.