On Sun, May 29, 2011 at 6:41 PM, Ryan Lane <[email protected]> wrote:
> I'm not sure we have standards on hook names (someone please correct
> me, if this isn't the case).
>

In core, there certainly is no naming convention for hooks. Some are verb
phrases, some are noun phrases. I think if you're adding a hook to an
extension you should prefix it with something unlikely to conflict with a
core hook (now or in the future).

I believe some extensions do something like "ExtensionName::HookName"
but I don't think this is widely enforced.

-Chad

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

Reply via email to