On 2015-01-20 4:21 PM, Chad wrote: > On Tue Jan 20 2015 at 4:20:47 PM Jeroen De Dauw <[email protected]> > wrote: > >> Hey, >> >> I just noticed wfRunHooks got deprecated. The hook mechanism is heavily >> depended on by extensions. So if it is going away, what will it be replaced >> by? There is no hint of this in the method doc. >> >> > Hooks::run(). > > -Chad Heh, yay.
To bad we're not deprecating $wgHooks -> Hooks::register. I've had ideas that are impossible to do with $wgHooks. ((IIRC it was something about storing a light stack in debug mode of where Hooks::register is called so hook related errors, deprecation notices, etc... (or it might have been for a different kind of error) can actually tell you where the hook was registered)) ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
