Index: trunk/phase3/includes/api/ApiParse.php |
— | — | @@ -185,7 +185,7 @@ |
186 | 186 | $this->getResult()->addValue( null, $this->getModuleName(), $result_array ); |
187 | 187 | return; |
188 | 188 | } |
189 | | - $p_result = $wgParser->parse( $this->text, $titleObj, $popts ); |
| 189 | + $p_result = $wgParser->parse( $params['pst'] ? $this->pstText : $this->text, $titleObj, $popts ); |
190 | 190 | } |
191 | 191 | |
192 | 192 | // Return result |