Last modified: 2010-05-15 15:38:42 UTC
In MediaWiki 1.5.0 the wfDieDebugBacktrace function is used in Hooks.php, but is
ludo:/var/www/hosts/mediawiki-test/wiki# grep -inr wfDieDebugBacktrace *
includes/Hooks.php:38: wfDieDebugBacktrace("Global hooks
array is not an array!\n");
includes/Hooks.php:47: wfDieDebugBacktrace("Hooks array for
event '$event' is not an array!\n");
wfDieDebugBacktrace("Empty array in hooks for " . $event . "\n");
wfDieDebugBacktrace("Unknown datatype in hooks for " . $event . "\n");
datatype in hooks for " . $event . "\n");
... and it's not part of PHP: http://php.net/wfDieDebugBacktrace
Should be wfDebugDieBacktrace, no?
Yes. A s/wfDieDebugBacktrace/wfDebugDieBacktrace/ now prints "-1" on hitting
this function. That doesn't help me very much, but it's a whole lot better than
a PHP "Call to undefined function" error.
Typo fix applied to HEAD and REL1_5.