Thread:Project:Support desk/Does MediaWiki's Resource Loader support noscript?/reply (2)

Yea, it's just the CSS I need to implement. While I have not tested it yet, making a dedicated noscript group seems counterproductive to the Resource Loader, as now I need to declare two modules instead of one.

I was hoping something along the lines of $wgResourceModules['ext.MyExtension.foo'] = array( 'scripts' => 'modules/ext.MyExtension.foo.js',  'styles' => 'modules/ext.MyExtension.bar.css',  'noScriptStyles' => 'modules/ext.MyExtension.noscript.css', );

Since the JS that needs to have a fallback is declared on the same module.