TorBlock has an autopromote constant defined, but under extension registration, the only way this can be supported is using the callback
define( 'APCOND_TOR', 'tor' );
Need a way to support these. Not sure if php constants are wanted to be supported more generally... I'm sure @Legoktm will repurpose this bug as appropriate