My extensions provides a couple of new parser functions. I would expect, that it should be possible to specifiy this in extension.json. Currently I still have to add
$parser->setFunctionHook( 'example', [ self::class, 'renderExample' ] );
in sth. that gets called by onParserFirstCallInit
.
Is it only me, or is there a real reason why not to support ParserFunction registrations directly in extension.json?