Index: trunk/extensions/FlaggedRevs/FlaggedRevs.class.php |
— | — | @@ -508,7 +508,8 @@ |
509 | 509 | # If $text is set, then the stableOutput is new. In that case, |
510 | 510 | # the current must also be new to avoid sync goofs. |
511 | 511 | if( $currentOutput==false || isset($text) ) { |
512 | | - $text = $article->getContent(); |
| 512 | + $rev = Revision::newFromTitle( $article->getTitle() ); |
| 513 | + $text = $rev ? $rev->getText() : false; |
513 | 514 | $title = $article->getTitle(); |
514 | 515 | $options = self::makeParserOptions(); |
515 | 516 | $currentOutput = $wgParser->parse( $text, $title, $options ); |