On Wed, Mar 4, 2015 at 7:57 AM, Brad Jorsch (Anomie)
<[email protected]> wrote:
> On Wed, Mar 4, 2015 at 10:34 AM, Rusty Burchfield <[email protected]>
>> 2. Any hints as to where in the parser would be a good place to add that
>> hook?
>
> Parser::braceSubstitution() is about your only option, near the call to
> $this->getTemplateDom().

Interesting, it looks like the $pieces parameter to that function has
what I need.  I could probably subclass Parser and instantiate my own
for the purpose of these extra parsing operations.

I'll give that a try.

Thanks!

~Rusty

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to