Last modified: 2013-07-29 17:40:54 UTC
$wgLogActionsHandlers normally contains class names, but on line 296, its treated as if it contained callbacks. This is normally not reached, unless $wgLogActions is not set. I'm not sure if this is intentional as some sort of back compat thing. If it is, this should sanity check that the given value is_callable to prevent fatals. It would be nice if how that value is used was better documented.
It used to have functions, but in the write I turned it into classes. If there is code which cannot handle both classes and callables, that is a bug.
(In reply to comment #1) > It used to have functions, but in the write I turned it into classes. If > there > is code which cannot handle both classes and callables, that is a bug. There was someone on irc who was getting fatals because code was expecting callables. Its likely that this person's set up was very borked, but nonetheless.