Index: trunk/extensions/FlaggedRevs/FlaggedRevs.class.php |
— | — | @@ -648,9 +648,10 @@ |
649 | 649 | if( $currentOutput == false ) { |
650 | 650 | $rev = Revision::newFromTitle( $article->getTitle() ); |
651 | 651 | $text = $rev ? $rev->getText() : false; |
| 652 | + $id = $rev ? $rev->getId() : null; |
652 | 653 | $title = $article->getTitle(); |
653 | 654 | $options = self::makeParserOptions(); |
654 | | - $currentOutput = $wgParser->parse( $text, $title, $options ); |
| 655 | + $currentOutput = $wgParser->parse( $text, $title, $options, /*$lineStart*/true, /*$clearState*/true, $id ); |
655 | 656 | # Might as well save the cache while we're at it |
656 | 657 | if( $wgEnableParserCache ) |
657 | 658 | $parserCache->save( $currentOutput, $article, $wgUser ); |