See T71084 for the motivation behind this work.
Classes that extend ActionPage can access configs using SpecialPage::getConfig.
Example from VoterEligibilityPage:
global $wgSecurePollUseNamespace; ... if ( global $wgSecurePollUseNamespace ) { ...
can be replaced with:
if ( $this->specialPage->getConfig()->get('SecurePollUseNamespace') ) { ...
ActionPage classes that access global config variables:
- CreatePage
- DetailsPage
- TranslatePage
- VoterEligibilityPage