Can I add RL modules in a parser extension?
function pageMcJdTlRenderParserFunction( $parser, $max="10", OutputPage $out ) { $wgResourceModules['MyExt.explorerJs'] = array( 'scripts' => 'modules/MyExt.explorer.js', //'styles' => 'modules/MyExt.explorer.css', 'localBasePath' => __DIR__, 'remoteExtPath' => '/', ); $out->addModules( 'MyExt.explorerJs' ); return "test"; }