Index: trunk/extensions/SemanticNotifyMe/includes/SMW_NotifyProcessor.smw15.php |
— | — | @@ -120,8 +120,7 @@ |
121 | 121 | // Take care at least of some templates -- for better template support use #ask |
122 | 122 | $parser = new Parser(); |
123 | 123 | $parserOptions = new ParserOptions(); |
124 | | - $parser->startExternalParse( $wgTitle, $parserOptions, OT_HTML ); |
125 | | - $rawquery = $parser->transformMsg( $rawquery, $parserOptions ); |
| 124 | + $rawquery = $parser->transformMsg( $rawquery, $parserOptions, $wgTitle ); |
126 | 125 | |
127 | 126 | wfProfileIn( 'SMWNotifyProcessor::createNotify (SMW)' ); |
128 | 127 | $sStore = NMStorage::getDatabase(); |
Index: trunk/extensions/SemanticNotifyMe/includes/SMW_NotifyProcessor.php |
— | — | @@ -120,8 +120,7 @@ |
121 | 121 | // Take care at least of some templates -- for better template support use #ask |
122 | 122 | $parser = new Parser(); |
123 | 123 | $parserOptions = new ParserOptions(); |
124 | | - $parser->startExternalParse( $wgTitle, $parserOptions, OT_HTML ); |
125 | | - $rawquery = $parser->transformMsg( $rawquery, $parserOptions ); |
| 124 | + $rawquery = $parser->transformMsg( $rawquery, $parserOptions, $wgTitle ); |
126 | 125 | |
127 | 126 | wfProfileIn( 'SMWNotifyProcessor::createNotify (SMW)' ); |
128 | 127 | $sStore = NMStorage::getDatabase(); |