https://bugzilla.wikimedia.org/show_bug.cgi?id=52220

       Web browser: ---
            Bug ID: 52220
           Summary: LogPage.php assumes that $wgLogActionsHandlers
                    contains callbacks, but usually contains class names
           Product: MediaWiki
           Version: 1.22-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Logging
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

$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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to