User "Catrope" changed the status of MediaWiki.r94138. Old Status: resolved New Status: fixme
User "Catrope" also posted a comment on MediaWiki.r94138. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94138#c22730 Commit summary: * Use ResourceLoader for Babel extension (Babel::Render() is a more logical place but does not work) * Make it follow page content language direction Comment: A ParserFirstCallInit hook is not the right place to add your module. <code>Babel::render()</code> , as you say, is the right place. You just have to use <code>$parser->getOutput()->addModuleStyles()</code> rather than <code>$wgOut->addModuleStyles()</code>. OK otherwise. _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
