https://bugzilla.wikimedia.org/show_bug.cgi?id=1310
--- Comment #15 from [email protected] 2011-03-18 22:07:35 UTC --- Working with the latest code from trunk/phase3, as suggested. My test case extension is a very basic tag hook: File: Bug1310_TestCase.php <?php $wgHooks['ParserFirstCallInit'][] = 'onParserFirstCallInit'; function onParserFirstCallInit( &$parser ) { $parser->setHook( 'foo', 'onTag' ); return true; } function onTag( $input, $args, $parser, $frame ) { wfDebug( $input ); return 'xxx'; } ?> in LocalSettings.php the extension is loaded the normal way. The input for the test case is: '<foo>Begin1... <foo>Begin2... ...End2</foo> ...End2</foo>' The $input that gets into onTag() should be: 'Begin1... <foo>Begin2... ...End2</foo> ...End2' However, In wfDebug I get: 'Begin1... <foo>Begin2... ...End2' And in the browser I get: 'xxx...End1</foo>' -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are the assignee for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
