from: https://www.mediawiki.org/wiki/Writing_an_extension_for_deployment#Deploy_to_Beta_Cluster
[x] Add the AutoModerator submodule to the git mediawiki/extensions repo ([[ https://gerrit.wikimedia.org/r/c/mediawiki/extensions/+/978124 | gerrit:978124 ]])
[x] Move AutoModerator CI config to the "Wikimedia production" section, add the "in-wikimedia-production" job template, and make sure it has and passes all the expected jobs for production code. ([[ https://gerrit.wikimedia.org/r/c/integration/config/+/998427 | gerrit:998427 ]])
[] Add AutoModerator to the json make-wmf-branch release tool ([[ https://gitlab.wikimedia.org/repos/releng/release/-/merge_requests/73 | releng/release/-/merge_requests/73 ]]).
[] Add AutoModerator to extension-list. This requires that the code be present on every branch running in production, since extension-list is used to build the CDB database for i18n files in both Beta and production.
[] Add `$wmgUseAutoModerator` config variable to InitialiseSettings.php and set it to be default false.
[] Add `$wmgUseAutoModerator` config variable (same as in previous step) to InitialiseSettings-labs.php and set it to be true on Beta Cluster wikis we want it to be on. Turn it off for loginwiki (which doesn't have most extensions).
[] Load AutoModerator in CommonSettings-labs.php.