Index: trunk/extensions/FlaggedRevs/FlaggedRevs.class.php |
— | — | @@ -531,16 +531,10 @@ |
532 | 532 | } |
533 | 533 | } |
534 | 534 | } |
535 | | - # Parse the new body, wikitext -> html. Maybe use parser cache |
536 | | - $options = self::makeParserOptions(); |
537 | | - $parserOut = null; |
538 | | - if( $title->getLatestRevID() == $id ) { |
539 | | - $parserOut = ParserCache::singleton()->get( new Article( $title, 0 ), $options ); |
540 | | - } |
541 | | - if( !$parserOut ) { |
542 | | - $parserOut = $wgParser->parse( $text, $title, $options, true, true, $id ); |
543 | | - } |
544 | | - |
| 535 | + # Parse the new body, wikitext -> html |
| 536 | + $options = self::makeParserOptions(); // default options |
| 537 | + $parserOut = $wgParser->parse( $text, $title, $options, true, true, $id ); |
| 538 | + # Stable parse done! |
545 | 539 | if ( $resetManager ) { |
546 | 540 | $incManager->clear(); // reset the FRInclusionManager as needed |
547 | 541 | } |