During MediaWiki export of today I got 2 errors:
The command "php /srv/mediawiki/targets/production/extensions/Translate/scripts/export.php --group='ext-randomincategory' --quiet='1' --lang='*' --always-export-languages='en-ca,en-gb,es-formal,de-formal,de-at,de-ch,hu-formal,nl-inf ormal,pap-aw,zh-hk,qqq' --never-export-languages='test,aeb,ais,be-x-old,crh,dk,en,fiu-vro,gan,gom,hif,kbd,kk,kk-cn,iu,kk-kz,kk-tr,ko-kp,ku,ku-arab,no,ruq,simple,sr,tg,tp,tt,ug,zh,zh-classical,zh-cn,zh-sg,zh-min-nan,zh-mo,zh-my,zh-tw ,zh-yue,bbc,ady' --skip-source-language='1' --threshold='0' --target='/scratch/exports'" failed. Exit Code: 1(General error) Working directory: /scratch/exports Output: ================ Error Output: ================ InvalidArgumentException from line 134 of /srv/mediawiki/tags/2021-11-03_16:18:12/extensions/Translate/messagegroups/MessageGroupBase.php: Unable to create StringMangler for group ext-randomincategory: Custom StringManglers (MediaWi ki\Extension\Translate\MessageProcessing\StringMatcher) are currently not supported.
and
The command "php /srv/mediawiki/targets/production/extensions/Translate/scripts/export.php --group='mediawiki-skin-anisa' --quiet='1' --lang='*' --always-export-languages='en-ca,en-gb,es-formal,de-formal,de-at,de-ch,hu-formal,nl-inf ormal,pap-aw,zh-hk,qqq' --never-export-languages='test,aeb,ais,be-x-old,crh,dk,en,fiu-vro,gan,gom,hif,kbd,kk,kk-cn,iu,kk-kz,kk-tr,ko-kp,ku,ku-arab,no,ruq,simple,sr,tg,tp,tt,ug,zh,zh-classical,zh-cn,zh-sg,zh-min-nan,zh-mo,zh-my,zh-tw ,zh-yue,bbc,ady' --skip-source-language='1' --threshold='0' --target='/scratch/exports'" failed. Exit Code: 1(General error) Working directory: /scratch/exports Output: ================ Error Output: ================ InvalidArgumentException from line 134 of /srv/mediawiki/tags/2021-11-03_16:18:12/extensions/Translate/messagegroups/MessageGroupBase.php: Unable to create StringMangler for group mediawiki-skin-anisa: Custom StringManglers (MediaWi ki\Extension\Translate\MessageProcessing\StringMatcher) are currently not supported.
Outcome
Regression caused by code refactoring broke exports for some MediaWiki message groups. Regression was fixed.