When I use the code below, CSS is taking too long to load:
injectStyleAndJS static function (& $ out, & $ sk) {
global $ wgOut; $ wgOut-> AddModule ('ext.BookManager'); return true; }
and this is only solved when I use addModuleStyles to call the same function:
static function injectStyleAndJS( &$out, &$sk ) {
global $wgOut ; $wgOut->addModuleStyles( 'ext.BookManager'); $wgOut->addModules( 'ext.BookManager'); return true; }
and that to me seems a redundant.
The extension code where the error occurs here: https://code.google.com/p/mediawiki-book-manager/
Version: unspecified
Severity: enhancement