Last modified: 2013-08-22 14:55:33 UTC
IAlex wrote in a comment to I3b2dad3a: From the use cases I see, this is wrong, since constructing a ParserOptions object without any parameter will use $wgUser and $wgLang. This will cause the result to be user-dependant when executing links update (i.e. regression of bug 14404 and maybe others too). I would suggest to use something like: $wikiPage = WikiPage::factory( $title ); $options = $wikiPage->makeParserOptions( 'canonical' ); This needs some investigation to make sure we do the right thing for every context this function is used in. Note also interactions with the parser cache, especially wrt the parser cache key.
Fixed in I2cbfaab2
Closed older resolved bugs as verified.