For cases like T255334: Translation page does not contain the latest translations/last translation, I need a list of non-closed wikis using the Translate extension to determine where to run a maintenance script.
This time I did it like this:
- Initial list: grep wmgUseTranslate /srv/mediawiki/wmf-config/InitialiseSettings* -A43 | grep true | cut -f2 -d"'" | xargs
- Expand wikidata manually to real values
- Manually remove closed wikis
I think there should be translate.dblist so that I could do something like expanddblist '%% translate - closed'.
https://wikitech.wikimedia.org/wiki/Configuration_files#dblists says to check with RelEng first for approval.