Thanks Brion. That worked great. Do you think its okay to put this in the
Manual for Tag extensions?
Regards,
Nischay Nahata
On Thu, Aug 13, 2015 at 7:41 PM, Brion Vibber wrote:
> What you need to do here is attach the modules to the ParserOutput -- which
> gets cached -- rather than directly t
What you need to do here is attach the modules to the ParserOutput -- which
gets cached -- rather than directly to the OutputPage ($wgOut) object.
function myCoolHook($text, $params, $parser, $frame) {
// ... do stuff ...
$parser->getOutput()->addModules( 'ext.mycoolext' );
$parser->
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hi everyone,
I am using an tag extension where modules and head items are added to $wgOut
I am observing a weird behaviour where the modules get added when I am
browsing as a logged in user but doesn't get added when I am logged out.
Similarly if I run the rebuildFileCache script the modules won'