The captchaloop script is a shell wrapper around extensions/ConfirmEdit/maintenance/GenerateFancyCaptchas.php, which calls the python3 script captcha.py, distributed with the extension.
Requirements
- python3 with python3-pil
- words and badwords from private repo
Issues
- python3 is not installed (by design) in our production image.
Open questions
- The script writes the captcha files to $wgTmpDirectory before copying them to global-multiwrite (swift?): Ensure the container has enough space to write the files.
- python3 dependency: New image for maintenance scripts that includes python3?