[Mediawiki-l] Disabling the parser cache... for real

Daniel Barrett danb at VistaPrint.com
Mon Mar 14 17:31:57 UTC 2011


I have a parser tag <foo> that disables the parser cache in its callback function, like this:

static function myParserTagCallback(&$parser) {
  ...
  $parser->disableCache();
  ...
}

However, sometimes the pages using this tag get cached anyway.  Should I also need to call $wgParser->disableCache() for the global parser object?

DanB



More information about the MediaWiki-l mailing list