r69535 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69534‎ | r69535 | r69536 >
Date:05:57, 19 July 2010
Author:bawolff
Status:ok
Tags:
Comment:
Fix fatal error from undefined $wgParser.
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryRevisions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryRevisions.php
@@ -455,6 +455,7 @@
456456
457457 }
458458 if ( $this->expandTemplates ) {
 459+ global $wgParser;
459460 $text = $wgParser->preprocess( $text, $title, new ParserOptions() );
460461 }
461462 ApiResult::setContent( $vals, $text );

Status & tagging log