See T71084 for the motivation behind this work.
Classes that extend Maintenance can access configs using Maintenance::getConfig rather than accessing the global config variables.
Example from DumpGlobalVoterList:
global $wgLocalDatabases; $wikis = $wgLocalDatabases;
can be replaced with:
$wikis = $this->getConfig()->get( 'LocalDatabases' );
Variables that should be replaced:
Class | global variable name |
PurgePrivateVoteData | $wgSecurePollKeepPrivateInfoDays |
DumpGlobalVoterList | $wgLocalDatabases |