On 11-05-29 03:48 PM, Chad wrote: > 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 Since this is generic functionality I prefer the generic names anyways myself... Just in case someone goes and creates another tool to merge or delete users, we'd want it to re-use the hook name.
-- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
