Index: trunk/phase3/includes/api/ApiQueryRevisions.php |
— | — | @@ -455,6 +455,7 @@ |
456 | 456 | |
457 | 457 | } |
458 | 458 | if ( $this->expandTemplates ) { |
| 459 | + global $wgParser; |
459 | 460 | $text = $wgParser->preprocess( $text, $title, new ParserOptions() ); |
460 | 461 | } |
461 | 462 | ApiResult::setContent( $vals, $text ); |