r81406 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81405‎ | r81406 | r81407 >
Date:19:16, 2 February 2011
Author:catrope
Status:ok
Tags:
Comment:
Fix regression in r81124, causing &pst to be ignored for the purposees of actually parsing wikitext
Modified paths:
  • /trunk/phase3/includes/api/ApiParse.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiParse.php
@@ -185,7 +185,7 @@
186186 $this->getResult()->addValue( null, $this->getModuleName(), $result_array );
187187 return;
188188 }
189 - $p_result = $wgParser->parse( $this->text, $titleObj, $popts );
 189+ $p_result = $wgParser->parse( $params['pst'] ? $this->pstText : $this->text, $titleObj, $popts );
190190 }
191191
192192 // Return result

Follow-up revisions

RevisionCommit summaryAuthorDate
r814071.17: MFT r79454, r79455, r79456, r79536, r79727, r79733, r79773, r79774, r80...catrope19:18, 2 February 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r81124Implement prop=wikitext in action=parse, (optionally) returning the original ...catrope01:47, 28 January 2011

Status & tagging log