Index: trunk/extensions/DataTransclusion/DataTransclusionHandler.php |
— | — | @@ -52,7 +52,7 @@ |
53 | 53 | // build associative arguments from flat parameter list |
54 | 54 | $argv = DataTransclusionHandler::buildAssociativeArguments( $params ); |
55 | 55 | |
56 | | - // now handle just like a <record> tag |
| 56 | + //FIXME: error messages contining special blocks like <nowiki> don't get re-substitutet correctly. |
57 | 57 | $text = DataTransclusionHandler::handleRecordTag( null, $argv, $parser, false ); |
58 | 58 | return array( $text, 'noparse' => false, 'isHTML' => false ); |
59 | 59 | } |
— | — | @@ -162,7 +162,7 @@ |
163 | 163 | if ( !$p->exists() ) return false; |
164 | 164 | |
165 | 165 | $text = $p->getContent(); |
166 | | - $text = $parser->replaceVariables( $text, $record ); |
| 166 | + $text = $parser->replaceVariables( $text, $record, true ); |
167 | 167 | |
168 | 168 | return $text; |
169 | 169 | } |