On Wed, Jan 12, 2011 at 3:51 PM, Jeroen De Dauw <[email protected]>wrote:

> Hey,
>
> > After grepping for setHook, it turns out that an extension like Maps,
> that
> has zero matches, sets parser hooks indirectly via Validator extension.
>
> Indeed. Innovation cannot happen without change. I'd argue that deriving
> from the ParserHook class makes it easier to find parser hooks, but this
> has
> quite little to do with my inclusion request.
>
> > It seems to set a hook for <display_map> but actually sets it for
> <display
> map> (Why??)
>
> It sets {{#display_map}} and <display map>. That's the desired behaviour of
> this parser hook.
>

I think <display map> would be parsed as the tag hook "display" with a
parameter "map"="map". Would this prevent any use of the hook registered as
the tag "display map"...?

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

Reply via email to