This patch makes sure, that the links table updated against the
content language. This also enabled the limit report, which than
is also stored in the parser cache along with the html.
Change-Id: I2a0b09d7250813809f1b2a8cba3e4f53a6686002
if ( !$user->pingLimiter() ) {
global $wgParser, $wgEnableParserCache;
- $popts = ParserOptions::newFromContext( $this->getContext() );
- $popts->setTidy( true );
+ $popts = $page->makeParserOptions( 'canonical' );
$p_result = $wgParser->parse( $page->getRawText(), $title, $popts,
true, true, $page->getLatest() );