Index: trunk/phase3/tests/phpunit/includes/parser/NewParserTest.php |
— | — | @@ -496,7 +496,7 @@ |
497 | 497 | if ( isset( $opts['pst'] ) ) { |
498 | 498 | $out = $parser->preSaveTransform( $input, $title, $user, $options ); |
499 | 499 | } elseif ( isset( $opts['msg'] ) ) { |
500 | | - $out = $parser->transformMsg( $input, $options ); |
| 500 | + $out = $parser->transformMsg( $input, $options, $title ); |
501 | 501 | } elseif ( isset( $opts['section'] ) ) { |
502 | 502 | $section = $opts['section']; |
503 | 503 | $out = $parser->getSection( $input, $section ); |
Index: trunk/phase3/tests/parser/parserTest.inc |
— | — | @@ -445,7 +445,7 @@ |
446 | 446 | if ( isset( $opts['pst'] ) ) { |
447 | 447 | $out = $parser->preSaveTransform( $input, $title, $user, $options ); |
448 | 448 | } elseif ( isset( $opts['msg'] ) ) { |
449 | | - $out = $parser->transformMsg( $input, $options ); |
| 449 | + $out = $parser->transformMsg( $input, $options, $title ); |
450 | 450 | } elseif ( isset( $opts['section'] ) ) { |
451 | 451 | $section = $opts['section']; |
452 | 452 | $out = $parser->getSection( $input, $section ); |