https://bugzilla.wikimedia.org/show_bug.cgi?id=48891

--- Comment #32 from [email protected] ---
Niklas: So, here is what I found:

https://meta.wikimedia.org/w/api.php?action=parse&text=<translate>foo</translate>
works and does not crash.

https://meta.wikimedia.org/w/api.php?action=parse&text=<translate><!--T:1-->foo</translate>
throws the exception.

I am a bit baffled why the comment in the extension content should change what
hook is called. I'll let you investigate from here. It might be worth using
this opportunity to use a regular extension hook (rather than the
ParserBeforeStrip hook), if that might work for you.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to