T331602: Make $wgHooks a regular configuration variable caused numerous extensions to fail due to CentralAuth not being included in the gated extensions list.
T252244: CentralAuth extension: Code stewardship review outlines numerous issues with the extension; the relevant one to us is:
Regularly at high risk of breakage. Its code is among the oldest and least maintained. It is at constant risk of breakage due to being very different from our current principles. E.g. if you change something in core or far away from it in an extension, there's a good chance that if no reasable extension could be affected by your change, CentralAuth will be. This leads to train blockers, which tend to take days to be seen by anyone given no team (officially) looks after CentralAuth.
So, let's add it so that we catch issues in CI, rather than in train deployments